Skip to content

Commit

Permalink
Merge pull request #816 from jellyfin/openapi-update-0
Browse files Browse the repository at this point in the history
  • Loading branch information
thornbill authored Oct 27, 2024
2 parents ecdff5f + 24a68e0 commit 2b54709
Show file tree
Hide file tree
Showing 62 changed files with 1,990 additions and 404 deletions.
4 changes: 2 additions & 2 deletions openapi.json
Git LFS file not shown
20 changes: 14 additions & 6 deletions src/generated-client/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ api/live-tv-api.ts
api/localization-api.ts
api/lyrics-api.ts
api/media-info-api.ts
api/media-segments-api.ts
api/movies-api.ts
api/music-genres-api.ts
api/package-api.ts
Expand Down Expand Up @@ -103,7 +104,6 @@ models/channel-media-type.ts
models/channel-type.ts
models/chapter-info.ts
models/client-capabilities-dto.ts
models/client-capabilities.ts
models/client-log-document-response-dto.ts
models/codec-profile.ts
models/codec-type.ts
Expand All @@ -120,17 +120,18 @@ models/culture-dto.ts
models/day-of-week.ts
models/day-pattern.ts
models/default-directory-browser-info-dto.ts
models/device-info-query-result.ts
models/device-info.ts
models/deinterlace-method.ts
models/device-info-dto-query-result.ts
models/device-info-dto.ts
models/device-options-dto.ts
models/device-options.ts
models/device-profile.ts
models/direct-play-profile.ts
models/display-preferences-dto.ts
models/dlna-profile-type.ts
models/down-mix-stereo-algorithms.ts
models/dynamic-day-of-week.ts
models/embedded-subtitle-options.ts
models/encoder-preset.ts
models/encoding-context.ts
models/encoding-options.ts
models/end-point-info.ts
Expand Down Expand Up @@ -161,7 +162,7 @@ models/group-state-update.ts
models/group-update-type.ts
models/group-update.ts
models/guide-info.ts
models/hardware-encoding-type.ts
models/hardware-acceleration-type.ts
models/ignore-wait-request-dto.ts
models/image-format.ts
models/image-info.ts
Expand Down Expand Up @@ -206,6 +207,9 @@ models/media-attachment.ts
models/media-path-dto.ts
models/media-path-info.ts
models/media-protocol.ts
models/media-segment-dto-query-result.ts
models/media-segment-dto.ts
models/media-segment-type.ts
models/media-source-info.ts
models/media-source-type.ts
models/media-stream-protocol.ts
Expand Down Expand Up @@ -262,6 +266,7 @@ models/playback-start-info.ts
models/playback-stop-info.ts
models/player-state-info.ts
models/playlist-creation-result.ts
models/playlist-dto.ts
models/playlist-user-permissions.ts
models/playstate-command.ts
models/playstate-message.ts
Expand Down Expand Up @@ -323,7 +328,7 @@ models/server-configuration.ts
models/server-discovery-info.ts
models/server-restarting-message.ts
models/server-shutting-down-message.ts
models/session-info.ts
models/session-info-dto.ts
models/session-message-type.ts
models/session-user-info.ts
models/sessions-message.ts
Expand Down Expand Up @@ -360,6 +365,9 @@ models/timer-created-message.ts
models/timer-event-info.ts
models/timer-info-dto-query-result.ts
models/timer-info-dto.ts
models/tonemapping-algorithm.ts
models/tonemapping-mode.ts
models/tonemapping-range.ts
models/trailer-info-remote-search-query.ts
models/trailer-info.ts
models/transcode-reason.ts
Expand Down
1 change: 1 addition & 0 deletions src/generated-client/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export * from './api/live-tv-api';
export * from './api/localization-api';
export * from './api/lyrics-api';
export * from './api/media-info-api';
export * from './api/media-segments-api';
export * from './api/movies-api';
export * from './api/music-genres-api';
export * from './api/package-api';
Expand Down
140 changes: 96 additions & 44 deletions src/generated-client/api/audio-api.ts

Large diffs are not rendered by default.

18 changes: 8 additions & 10 deletions src/generated-client/api/devices-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,9 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
// @ts-ignore
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
// @ts-ignore
import type { DeviceInfo } from '../models';
import type { DeviceInfoDto } from '../models';
// @ts-ignore
import type { DeviceInfoQueryResult } from '../models';
// @ts-ignore
import type { DeviceOptions } from '../models';
import type { DeviceInfoDtoQueryResult } from '../models';
// @ts-ignore
import type { DeviceOptionsDto } from '../models';
// @ts-ignore
Expand Down Expand Up @@ -270,7 +268,7 @@ export const DevicesApiFp = function(configuration?: Configuration) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async getDeviceInfo(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceInfo>> {
async getDeviceInfo(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceInfoDto>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getDeviceInfo(id, options);
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
const localVarOperationServerBasePath = operationServerMap['DevicesApi.getDeviceInfo']?.[localVarOperationServerIndex]?.url;
Expand All @@ -283,7 +281,7 @@ export const DevicesApiFp = function(configuration?: Configuration) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async getDeviceOptions(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceOptions>> {
async getDeviceOptions(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceOptionsDto>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getDeviceOptions(id, options);
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
const localVarOperationServerBasePath = operationServerMap['DevicesApi.getDeviceOptions']?.[localVarOperationServerIndex]?.url;
Expand All @@ -296,7 +294,7 @@ export const DevicesApiFp = function(configuration?: Configuration) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async getDevices(userId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceInfoQueryResult>> {
async getDevices(userId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceInfoDtoQueryResult>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getDevices(userId, options);
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
const localVarOperationServerBasePath = operationServerMap['DevicesApi.getDevices']?.[localVarOperationServerIndex]?.url;
Expand Down Expand Up @@ -343,7 +341,7 @@ export const DevicesApiFactory = function (configuration?: Configuration, basePa
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getDeviceInfo(requestParameters: DevicesApiGetDeviceInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeviceInfo> {
getDeviceInfo(requestParameters: DevicesApiGetDeviceInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeviceInfoDto> {
return localVarFp.getDeviceInfo(requestParameters.id, options).then((request) => request(axios, basePath));
},
/**
Expand All @@ -353,7 +351,7 @@ export const DevicesApiFactory = function (configuration?: Configuration, basePa
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getDeviceOptions(requestParameters: DevicesApiGetDeviceOptionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeviceOptions> {
getDeviceOptions(requestParameters: DevicesApiGetDeviceOptionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeviceOptionsDto> {
return localVarFp.getDeviceOptions(requestParameters.id, options).then((request) => request(axios, basePath));
},
/**
Expand All @@ -363,7 +361,7 @@ export const DevicesApiFactory = function (configuration?: Configuration, basePa
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getDevices(requestParameters: DevicesApiGetDevicesRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<DeviceInfoQueryResult> {
getDevices(requestParameters: DevicesApiGetDevicesRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<DeviceInfoDtoQueryResult> {
return localVarFp.getDevices(requestParameters.userId, options).then((request) => request(axios, basePath));
},
/**
Expand Down
Loading

0 comments on commit 2b54709

Please sign in to comment.