mirror of
https://github.com/jellyfin/jellyfin-sdk-typescript.git
synced 2024-11-27 00:01:19 +00:00
Update generated client
This commit is contained in:
parent
53e24b0774
commit
74c6f91f9c
@ -1,6 +1,5 @@
|
||||
.gitignore
|
||||
.npmignore
|
||||
.openapi-generator-ignore
|
||||
api.ts
|
||||
api/activity-log-api.ts
|
||||
api/api-key-api.ts
|
||||
|
@ -26,8 +26,6 @@ import { MediaEncoderPathDto } from '../models';
|
||||
import { MetadataOptions } from '../models';
|
||||
// @ts-ignore
|
||||
import { ServerConfiguration } from '../models';
|
||||
// @ts-ignore
|
||||
import { UNKNOWN_BASE_TYPE } from '../models';
|
||||
/**
|
||||
* ConfigurationApi - axios parameter creator
|
||||
* @export
|
||||
@ -140,13 +138,13 @@ export const ConfigurationApiAxiosParamCreator = function (configuration?: Confi
|
||||
/**
|
||||
*
|
||||
* @summary Updates application configuration.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE Configuration.
|
||||
* @param {ServerConfiguration} serverConfiguration Configuration.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updateConfiguration: async (uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'uNKNOWNBASETYPE' is not null or undefined
|
||||
assertParamExists('updateConfiguration', 'uNKNOWNBASETYPE', uNKNOWNBASETYPE)
|
||||
updateConfiguration: async (serverConfiguration: ServerConfiguration, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'serverConfiguration' is not null or undefined
|
||||
assertParamExists('updateConfiguration', 'serverConfiguration', serverConfiguration)
|
||||
const localVarPath = `/System/Configuration`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
@ -169,7 +167,7 @@ export const ConfigurationApiAxiosParamCreator = function (configuration?: Confi
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(serverConfiguration, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -179,13 +177,13 @@ export const ConfigurationApiAxiosParamCreator = function (configuration?: Confi
|
||||
/**
|
||||
*
|
||||
* @summary Updates the path to the media encoder.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE Media encoder path form body.
|
||||
* @param {MediaEncoderPathDto} mediaEncoderPathDto Media encoder path form body.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updateMediaEncoderPath: async (uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'uNKNOWNBASETYPE' is not null or undefined
|
||||
assertParamExists('updateMediaEncoderPath', 'uNKNOWNBASETYPE', uNKNOWNBASETYPE)
|
||||
updateMediaEncoderPath: async (mediaEncoderPathDto: MediaEncoderPathDto, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'mediaEncoderPathDto' is not null or undefined
|
||||
assertParamExists('updateMediaEncoderPath', 'mediaEncoderPathDto', mediaEncoderPathDto)
|
||||
const localVarPath = `/System/MediaEncoder/Path`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
@ -208,7 +206,7 @@ export const ConfigurationApiAxiosParamCreator = function (configuration?: Confi
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(mediaEncoderPathDto, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -296,23 +294,23 @@ export const ConfigurationApiFp = function(configuration?: Configuration) {
|
||||
/**
|
||||
*
|
||||
* @summary Updates application configuration.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE Configuration.
|
||||
* @param {ServerConfiguration} serverConfiguration Configuration.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async updateConfiguration(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.updateConfiguration(uNKNOWNBASETYPE, options);
|
||||
async updateConfiguration(serverConfiguration: ServerConfiguration, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.updateConfiguration(serverConfiguration, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Updates the path to the media encoder.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE Media encoder path form body.
|
||||
* @param {MediaEncoderPathDto} mediaEncoderPathDto Media encoder path form body.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async updateMediaEncoderPath(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.updateMediaEncoderPath(uNKNOWNBASETYPE, options);
|
||||
async updateMediaEncoderPath(mediaEncoderPathDto: MediaEncoderPathDto, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.updateMediaEncoderPath(mediaEncoderPathDto, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
@ -367,22 +365,22 @@ export const ConfigurationApiFactory = function (configuration?: Configuration,
|
||||
/**
|
||||
*
|
||||
* @summary Updates application configuration.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE Configuration.
|
||||
* @param {ServerConfiguration} serverConfiguration Configuration.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updateConfiguration(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.updateConfiguration(uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
updateConfiguration(serverConfiguration: ServerConfiguration, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.updateConfiguration(serverConfiguration, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Updates the path to the media encoder.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE Media encoder path form body.
|
||||
* @param {MediaEncoderPathDto} mediaEncoderPathDto Media encoder path form body.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updateMediaEncoderPath(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.updateMediaEncoderPath(uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
updateMediaEncoderPath(mediaEncoderPathDto: MediaEncoderPathDto, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.updateMediaEncoderPath(mediaEncoderPathDto, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
@ -419,10 +417,10 @@ export interface ConfigurationApiGetNamedConfigurationRequest {
|
||||
export interface ConfigurationApiUpdateConfigurationRequest {
|
||||
/**
|
||||
* Configuration.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {ServerConfiguration}
|
||||
* @memberof ConfigurationApiUpdateConfiguration
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE
|
||||
readonly serverConfiguration: ServerConfiguration
|
||||
}
|
||||
|
||||
/**
|
||||
@ -433,10 +431,10 @@ export interface ConfigurationApiUpdateConfigurationRequest {
|
||||
export interface ConfigurationApiUpdateMediaEncoderPathRequest {
|
||||
/**
|
||||
* Media encoder path form body.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {MediaEncoderPathDto}
|
||||
* @memberof ConfigurationApiUpdateMediaEncoderPath
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE
|
||||
readonly mediaEncoderPathDto: MediaEncoderPathDto
|
||||
}
|
||||
|
||||
/**
|
||||
@ -503,7 +501,7 @@ export class ConfigurationApi extends BaseAPI {
|
||||
* @memberof ConfigurationApi
|
||||
*/
|
||||
public updateConfiguration(requestParameters: ConfigurationApiUpdateConfigurationRequest, options?: any) {
|
||||
return ConfigurationApiFp(this.configuration).updateConfiguration(requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return ConfigurationApiFp(this.configuration).updateConfiguration(requestParameters.serverConfiguration, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -515,7 +513,7 @@ export class ConfigurationApi extends BaseAPI {
|
||||
* @memberof ConfigurationApi
|
||||
*/
|
||||
public updateMediaEncoderPath(requestParameters: ConfigurationApiUpdateMediaEncoderPathRequest, options?: any) {
|
||||
return ConfigurationApiFp(this.configuration).updateMediaEncoderPath(requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return ConfigurationApiFp(this.configuration).updateMediaEncoderPath(requestParameters.mediaEncoderPathDto, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -28,8 +28,6 @@ import { DeviceInfoQueryResult } from '../models';
|
||||
import { DeviceOptions } from '../models';
|
||||
// @ts-ignore
|
||||
import { ProblemDetails } from '../models';
|
||||
// @ts-ignore
|
||||
import { UNKNOWN_BASE_TYPE } from '../models';
|
||||
/**
|
||||
* DevicesApi - axios parameter creator
|
||||
* @export
|
||||
@ -203,15 +201,15 @@ export const DevicesApiAxiosParamCreator = function (configuration?: Configurati
|
||||
*
|
||||
* @summary Update device options.
|
||||
* @param {string} id Device Id.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE Device Options.
|
||||
* @param {DeviceOptions} deviceOptions Device Options.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updateDeviceOptions: async (id: string, uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
updateDeviceOptions: async (id: string, deviceOptions: DeviceOptions, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'id' is not null or undefined
|
||||
assertParamExists('updateDeviceOptions', 'id', id)
|
||||
// verify required parameter 'uNKNOWNBASETYPE' is not null or undefined
|
||||
assertParamExists('updateDeviceOptions', 'uNKNOWNBASETYPE', uNKNOWNBASETYPE)
|
||||
// verify required parameter 'deviceOptions' is not null or undefined
|
||||
assertParamExists('updateDeviceOptions', 'deviceOptions', deviceOptions)
|
||||
const localVarPath = `/Devices/Options`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
@ -238,7 +236,7 @@ export const DevicesApiAxiosParamCreator = function (configuration?: Configurati
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(deviceOptions, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -304,12 +302,12 @@ export const DevicesApiFp = function(configuration?: Configuration) {
|
||||
*
|
||||
* @summary Update device options.
|
||||
* @param {string} id Device Id.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE Device Options.
|
||||
* @param {DeviceOptions} deviceOptions Device Options.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async updateDeviceOptions(id: string, uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.updateDeviceOptions(id, uNKNOWNBASETYPE, options);
|
||||
async updateDeviceOptions(id: string, deviceOptions: DeviceOptions, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.updateDeviceOptions(id, deviceOptions, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
}
|
||||
@ -367,12 +365,12 @@ export const DevicesApiFactory = function (configuration?: Configuration, basePa
|
||||
*
|
||||
* @summary Update device options.
|
||||
* @param {string} id Device Id.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE Device Options.
|
||||
* @param {DeviceOptions} deviceOptions Device Options.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updateDeviceOptions(id: string, uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.updateDeviceOptions(id, uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
updateDeviceOptions(id: string, deviceOptions: DeviceOptions, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.updateDeviceOptions(id, deviceOptions, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
};
|
||||
@ -455,10 +453,10 @@ export interface DevicesApiUpdateDeviceOptionsRequest {
|
||||
|
||||
/**
|
||||
* Device Options.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {DeviceOptions}
|
||||
* @memberof DevicesApiUpdateDeviceOptions
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE
|
||||
readonly deviceOptions: DeviceOptions
|
||||
}
|
||||
|
||||
/**
|
||||
@ -525,6 +523,6 @@ export class DevicesApi extends BaseAPI {
|
||||
* @memberof DevicesApi
|
||||
*/
|
||||
public updateDeviceOptions(requestParameters: DevicesApiUpdateDeviceOptionsRequest, options?: any) {
|
||||
return DevicesApiFp(this.configuration).updateDeviceOptions(requestParameters.id, requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return DevicesApiFp(this.configuration).updateDeviceOptions(requestParameters.id, requestParameters.deviceOptions, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
}
|
||||
|
@ -22,8 +22,6 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
||||
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
||||
// @ts-ignore
|
||||
import { DisplayPreferencesDto } from '../models';
|
||||
// @ts-ignore
|
||||
import { UNKNOWN_BASE_TYPE } from '../models';
|
||||
/**
|
||||
* DisplayPreferencesApi - axios parameter creator
|
||||
* @export
|
||||
@ -87,19 +85,19 @@ export const DisplayPreferencesApiAxiosParamCreator = function (configuration?:
|
||||
* @param {string} displayPreferencesId Display preferences id.
|
||||
* @param {string} userId User Id.
|
||||
* @param {string} client Client.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE New Display Preferences object.
|
||||
* @param {DisplayPreferencesDto} displayPreferencesDto New Display Preferences object.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updateDisplayPreferences: async (displayPreferencesId: string, userId: string, client: string, uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
updateDisplayPreferences: async (displayPreferencesId: string, userId: string, client: string, displayPreferencesDto: DisplayPreferencesDto, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'displayPreferencesId' is not null or undefined
|
||||
assertParamExists('updateDisplayPreferences', 'displayPreferencesId', displayPreferencesId)
|
||||
// verify required parameter 'userId' is not null or undefined
|
||||
assertParamExists('updateDisplayPreferences', 'userId', userId)
|
||||
// verify required parameter 'client' is not null or undefined
|
||||
assertParamExists('updateDisplayPreferences', 'client', client)
|
||||
// verify required parameter 'uNKNOWNBASETYPE' is not null or undefined
|
||||
assertParamExists('updateDisplayPreferences', 'uNKNOWNBASETYPE', uNKNOWNBASETYPE)
|
||||
// verify required parameter 'displayPreferencesDto' is not null or undefined
|
||||
assertParamExists('updateDisplayPreferences', 'displayPreferencesDto', displayPreferencesDto)
|
||||
const localVarPath = `/DisplayPreferences/{displayPreferencesId}`
|
||||
.replace(`{${"displayPreferencesId"}}`, encodeURIComponent(String(displayPreferencesId)));
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
@ -131,7 +129,7 @@ export const DisplayPreferencesApiAxiosParamCreator = function (configuration?:
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(displayPreferencesDto, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -167,12 +165,12 @@ export const DisplayPreferencesApiFp = function(configuration?: Configuration) {
|
||||
* @param {string} displayPreferencesId Display preferences id.
|
||||
* @param {string} userId User Id.
|
||||
* @param {string} client Client.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE New Display Preferences object.
|
||||
* @param {DisplayPreferencesDto} displayPreferencesDto New Display Preferences object.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async updateDisplayPreferences(displayPreferencesId: string, userId: string, client: string, uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.updateDisplayPreferences(displayPreferencesId, userId, client, uNKNOWNBASETYPE, options);
|
||||
async updateDisplayPreferences(displayPreferencesId: string, userId: string, client: string, displayPreferencesDto: DisplayPreferencesDto, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.updateDisplayPreferences(displayPreferencesId, userId, client, displayPreferencesDto, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
}
|
||||
@ -203,12 +201,12 @@ export const DisplayPreferencesApiFactory = function (configuration?: Configurat
|
||||
* @param {string} displayPreferencesId Display preferences id.
|
||||
* @param {string} userId User Id.
|
||||
* @param {string} client Client.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE New Display Preferences object.
|
||||
* @param {DisplayPreferencesDto} displayPreferencesDto New Display Preferences object.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updateDisplayPreferences(displayPreferencesId: string, userId: string, client: string, uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.updateDisplayPreferences(displayPreferencesId, userId, client, uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
updateDisplayPreferences(displayPreferencesId: string, userId: string, client: string, displayPreferencesDto: DisplayPreferencesDto, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.updateDisplayPreferences(displayPreferencesId, userId, client, displayPreferencesDto, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
};
|
||||
@ -270,10 +268,10 @@ export interface DisplayPreferencesApiUpdateDisplayPreferencesRequest {
|
||||
|
||||
/**
|
||||
* New Display Preferences object.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {DisplayPreferencesDto}
|
||||
* @memberof DisplayPreferencesApiUpdateDisplayPreferences
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE
|
||||
readonly displayPreferencesDto: DisplayPreferencesDto
|
||||
}
|
||||
|
||||
/**
|
||||
@ -304,6 +302,6 @@ export class DisplayPreferencesApi extends BaseAPI {
|
||||
* @memberof DisplayPreferencesApi
|
||||
*/
|
||||
public updateDisplayPreferences(requestParameters: DisplayPreferencesApiUpdateDisplayPreferencesRequest, options?: any) {
|
||||
return DisplayPreferencesApiFp(this.configuration).updateDisplayPreferences(requestParameters.displayPreferencesId, requestParameters.userId, requestParameters.client, requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return DisplayPreferencesApiFp(this.configuration).updateDisplayPreferences(requestParameters.displayPreferencesId, requestParameters.userId, requestParameters.client, requestParameters.displayPreferencesDto, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
}
|
||||
|
@ -26,8 +26,6 @@ import { DeviceProfile } from '../models';
|
||||
import { DeviceProfileInfo } from '../models';
|
||||
// @ts-ignore
|
||||
import { ProblemDetails } from '../models';
|
||||
// @ts-ignore
|
||||
import { UNKNOWN_BASE_TYPE } from '../models';
|
||||
/**
|
||||
* DlnaApi - axios parameter creator
|
||||
* @export
|
||||
@ -37,11 +35,11 @@ export const DlnaApiAxiosParamCreator = function (configuration?: Configuration)
|
||||
/**
|
||||
*
|
||||
* @summary Creates a profile.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] Device profile.
|
||||
* @param {DeviceProfile} [deviceProfile] Device profile.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createProfile: async (uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
createProfile: async (deviceProfile?: DeviceProfile, options: any = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/Dlna/Profiles`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
@ -64,7 +62,7 @@ export const DlnaApiAxiosParamCreator = function (configuration?: Configuration)
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(deviceProfile, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -215,11 +213,11 @@ export const DlnaApiAxiosParamCreator = function (configuration?: Configuration)
|
||||
*
|
||||
* @summary Updates a profile.
|
||||
* @param {string} profileId Profile id.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] Device profile.
|
||||
* @param {DeviceProfile} [deviceProfile] Device profile.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updateProfile: async (profileId: string, uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
updateProfile: async (profileId: string, deviceProfile?: DeviceProfile, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'profileId' is not null or undefined
|
||||
assertParamExists('updateProfile', 'profileId', profileId)
|
||||
const localVarPath = `/Dlna/Profiles/{profileId}`
|
||||
@ -245,7 +243,7 @@ export const DlnaApiAxiosParamCreator = function (configuration?: Configuration)
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(deviceProfile, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -265,12 +263,12 @@ export const DlnaApiFp = function(configuration?: Configuration) {
|
||||
/**
|
||||
*
|
||||
* @summary Creates a profile.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] Device profile.
|
||||
* @param {DeviceProfile} [deviceProfile] Device profile.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async createProfile(uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.createProfile(uNKNOWNBASETYPE, options);
|
||||
async createProfile(deviceProfile?: DeviceProfile, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.createProfile(deviceProfile, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
@ -319,12 +317,12 @@ export const DlnaApiFp = function(configuration?: Configuration) {
|
||||
*
|
||||
* @summary Updates a profile.
|
||||
* @param {string} profileId Profile id.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] Device profile.
|
||||
* @param {DeviceProfile} [deviceProfile] Device profile.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async updateProfile(profileId: string, uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.updateProfile(profileId, uNKNOWNBASETYPE, options);
|
||||
async updateProfile(profileId: string, deviceProfile?: DeviceProfile, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.updateProfile(profileId, deviceProfile, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
}
|
||||
@ -340,12 +338,12 @@ export const DlnaApiFactory = function (configuration?: Configuration, basePath?
|
||||
/**
|
||||
*
|
||||
* @summary Creates a profile.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] Device profile.
|
||||
* @param {DeviceProfile} [deviceProfile] Device profile.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createProfile(uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.createProfile(uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
createProfile(deviceProfile?: DeviceProfile, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.createProfile(deviceProfile, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
@ -389,12 +387,12 @@ export const DlnaApiFactory = function (configuration?: Configuration, basePath?
|
||||
*
|
||||
* @summary Updates a profile.
|
||||
* @param {string} profileId Profile id.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] Device profile.
|
||||
* @param {DeviceProfile} [deviceProfile] Device profile.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updateProfile(profileId: string, uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.updateProfile(profileId, uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
updateProfile(profileId: string, deviceProfile?: DeviceProfile, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.updateProfile(profileId, deviceProfile, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
};
|
||||
@ -407,10 +405,10 @@ export const DlnaApiFactory = function (configuration?: Configuration, basePath?
|
||||
export interface DlnaApiCreateProfileRequest {
|
||||
/**
|
||||
* Device profile.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {DeviceProfile}
|
||||
* @memberof DlnaApiCreateProfile
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE
|
||||
readonly deviceProfile?: DeviceProfile
|
||||
}
|
||||
|
||||
/**
|
||||
@ -456,10 +454,10 @@ export interface DlnaApiUpdateProfileRequest {
|
||||
|
||||
/**
|
||||
* Device profile.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {DeviceProfile}
|
||||
* @memberof DlnaApiUpdateProfile
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE
|
||||
readonly deviceProfile?: DeviceProfile
|
||||
}
|
||||
|
||||
/**
|
||||
@ -478,7 +476,7 @@ export class DlnaApi extends BaseAPI {
|
||||
* @memberof DlnaApi
|
||||
*/
|
||||
public createProfile(requestParameters: DlnaApiCreateProfileRequest = {}, options?: any) {
|
||||
return DlnaApiFp(this.configuration).createProfile(requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return DlnaApiFp(this.configuration).createProfile(requestParameters.deviceProfile, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -536,6 +534,6 @@ export class DlnaApi extends BaseAPI {
|
||||
* @memberof DlnaApi
|
||||
*/
|
||||
public updateProfile(requestParameters: DlnaApiUpdateProfileRequest, options?: any) {
|
||||
return DlnaApiFp(this.configuration).updateProfile(requestParameters.profileId, requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return DlnaApiFp(this.configuration).updateProfile(requestParameters.profileId, requestParameters.deviceProfile, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
}
|
||||
|
@ -27,8 +27,6 @@ import { FileSystemEntryInfo } from '../models';
|
||||
// @ts-ignore
|
||||
import { ProblemDetails } from '../models';
|
||||
// @ts-ignore
|
||||
import { UNKNOWN_BASE_TYPE } from '../models';
|
||||
// @ts-ignore
|
||||
import { ValidatePathDto } from '../models';
|
||||
/**
|
||||
* EnvironmentApi - axios parameter creator
|
||||
@ -229,13 +227,13 @@ export const EnvironmentApiAxiosParamCreator = function (configuration?: Configu
|
||||
/**
|
||||
*
|
||||
* @summary Validates path.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE Validate request object.
|
||||
* @param {ValidatePathDto} validatePathDto Validate request object.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
validatePath: async (uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'uNKNOWNBASETYPE' is not null or undefined
|
||||
assertParamExists('validatePath', 'uNKNOWNBASETYPE', uNKNOWNBASETYPE)
|
||||
validatePath: async (validatePathDto: ValidatePathDto, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'validatePathDto' is not null or undefined
|
||||
assertParamExists('validatePath', 'validatePathDto', validatePathDto)
|
||||
const localVarPath = `/Environment/ValidatePath`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
@ -258,7 +256,7 @@ export const EnvironmentApiAxiosParamCreator = function (configuration?: Configu
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(validatePathDto, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -333,12 +331,12 @@ export const EnvironmentApiFp = function(configuration?: Configuration) {
|
||||
/**
|
||||
*
|
||||
* @summary Validates path.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE Validate request object.
|
||||
* @param {ValidatePathDto} validatePathDto Validate request object.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async validatePath(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.validatePath(uNKNOWNBASETYPE, options);
|
||||
async validatePath(validatePathDto: ValidatePathDto, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.validatePath(validatePathDto, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
}
|
||||
@ -404,12 +402,12 @@ export const EnvironmentApiFactory = function (configuration?: Configuration, ba
|
||||
/**
|
||||
*
|
||||
* @summary Validates path.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE Validate request object.
|
||||
* @param {ValidatePathDto} validatePathDto Validate request object.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
validatePath(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.validatePath(uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
validatePath(validatePathDto: ValidatePathDto, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.validatePath(validatePathDto, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
};
|
||||
@ -464,10 +462,10 @@ export interface EnvironmentApiGetParentPathRequest {
|
||||
export interface EnvironmentApiValidatePathRequest {
|
||||
/**
|
||||
* Validate request object.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {ValidatePathDto}
|
||||
* @memberof EnvironmentApiValidatePath
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE
|
||||
readonly validatePathDto: ValidatePathDto
|
||||
}
|
||||
|
||||
/**
|
||||
@ -544,6 +542,6 @@ export class EnvironmentApi extends BaseAPI {
|
||||
* @memberof EnvironmentApi
|
||||
*/
|
||||
public validatePath(requestParameters: EnvironmentApiValidatePathRequest, options?: any) {
|
||||
return EnvironmentApiFp(this.configuration).validatePath(requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return EnvironmentApiFp(this.configuration).validatePath(requestParameters.validatePathDto, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
}
|
||||
|
@ -44,8 +44,6 @@ import { RemoteSearchResult } from '../models';
|
||||
import { SeriesInfoRemoteSearchQuery } from '../models';
|
||||
// @ts-ignore
|
||||
import { TrailerInfoRemoteSearchQuery } from '../models';
|
||||
// @ts-ignore
|
||||
import { UNKNOWN_BASE_TYPE } from '../models';
|
||||
/**
|
||||
* ItemLookupApi - axios parameter creator
|
||||
* @export
|
||||
@ -56,16 +54,16 @@ export const ItemLookupApiAxiosParamCreator = function (configuration?: Configur
|
||||
*
|
||||
* @summary Applies search criteria to an item and refreshes metadata.
|
||||
* @param {string} itemId Item id.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The remote search result.
|
||||
* @param {RemoteSearchResult} remoteSearchResult The remote search result.
|
||||
* @param {boolean} [replaceAllImages] Optional. Whether or not to replace all images. Default: True.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
applySearchCriteria: async (itemId: string, uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, replaceAllImages?: boolean, options: any = {}): Promise<RequestArgs> => {
|
||||
applySearchCriteria: async (itemId: string, remoteSearchResult: RemoteSearchResult, replaceAllImages?: boolean, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'itemId' is not null or undefined
|
||||
assertParamExists('applySearchCriteria', 'itemId', itemId)
|
||||
// verify required parameter 'uNKNOWNBASETYPE' is not null or undefined
|
||||
assertParamExists('applySearchCriteria', 'uNKNOWNBASETYPE', uNKNOWNBASETYPE)
|
||||
// verify required parameter 'remoteSearchResult' is not null or undefined
|
||||
assertParamExists('applySearchCriteria', 'remoteSearchResult', remoteSearchResult)
|
||||
const localVarPath = `/Items/RemoteSearch/Apply/{itemId}`
|
||||
.replace(`{${"itemId"}}`, encodeURIComponent(String(itemId)));
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
@ -93,7 +91,7 @@ export const ItemLookupApiAxiosParamCreator = function (configuration?: Configur
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(remoteSearchResult, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -103,13 +101,13 @@ export const ItemLookupApiAxiosParamCreator = function (configuration?: Configur
|
||||
/**
|
||||
*
|
||||
* @summary Get book remote search.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE Remote search query.
|
||||
* @param {BookInfoRemoteSearchQuery} bookInfoRemoteSearchQuery Remote search query.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getBookRemoteSearchResults: async (uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'uNKNOWNBASETYPE' is not null or undefined
|
||||
assertParamExists('getBookRemoteSearchResults', 'uNKNOWNBASETYPE', uNKNOWNBASETYPE)
|
||||
getBookRemoteSearchResults: async (bookInfoRemoteSearchQuery: BookInfoRemoteSearchQuery, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'bookInfoRemoteSearchQuery' is not null or undefined
|
||||
assertParamExists('getBookRemoteSearchResults', 'bookInfoRemoteSearchQuery', bookInfoRemoteSearchQuery)
|
||||
const localVarPath = `/Items/RemoteSearch/Book`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
@ -132,7 +130,7 @@ export const ItemLookupApiAxiosParamCreator = function (configuration?: Configur
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(bookInfoRemoteSearchQuery, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -142,13 +140,13 @@ export const ItemLookupApiAxiosParamCreator = function (configuration?: Configur
|
||||
/**
|
||||
*
|
||||
* @summary Get box set remote search.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE Remote search query.
|
||||
* @param {BoxSetInfoRemoteSearchQuery} boxSetInfoRemoteSearchQuery Remote search query.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getBoxSetRemoteSearchResults: async (uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'uNKNOWNBASETYPE' is not null or undefined
|
||||
assertParamExists('getBoxSetRemoteSearchResults', 'uNKNOWNBASETYPE', uNKNOWNBASETYPE)
|
||||
getBoxSetRemoteSearchResults: async (boxSetInfoRemoteSearchQuery: BoxSetInfoRemoteSearchQuery, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'boxSetInfoRemoteSearchQuery' is not null or undefined
|
||||
assertParamExists('getBoxSetRemoteSearchResults', 'boxSetInfoRemoteSearchQuery', boxSetInfoRemoteSearchQuery)
|
||||
const localVarPath = `/Items/RemoteSearch/BoxSet`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
@ -171,7 +169,7 @@ export const ItemLookupApiAxiosParamCreator = function (configuration?: Configur
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(boxSetInfoRemoteSearchQuery, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -218,13 +216,13 @@ export const ItemLookupApiAxiosParamCreator = function (configuration?: Configur
|
||||
/**
|
||||
*
|
||||
* @summary Get movie remote search.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE Remote search query.
|
||||
* @param {MovieInfoRemoteSearchQuery} movieInfoRemoteSearchQuery Remote search query.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getMovieRemoteSearchResults: async (uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'uNKNOWNBASETYPE' is not null or undefined
|
||||
assertParamExists('getMovieRemoteSearchResults', 'uNKNOWNBASETYPE', uNKNOWNBASETYPE)
|
||||
getMovieRemoteSearchResults: async (movieInfoRemoteSearchQuery: MovieInfoRemoteSearchQuery, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'movieInfoRemoteSearchQuery' is not null or undefined
|
||||
assertParamExists('getMovieRemoteSearchResults', 'movieInfoRemoteSearchQuery', movieInfoRemoteSearchQuery)
|
||||
const localVarPath = `/Items/RemoteSearch/Movie`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
@ -247,7 +245,7 @@ export const ItemLookupApiAxiosParamCreator = function (configuration?: Configur
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(movieInfoRemoteSearchQuery, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -257,13 +255,13 @@ export const ItemLookupApiAxiosParamCreator = function (configuration?: Configur
|
||||
/**
|
||||
*
|
||||
* @summary Get music album remote search.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE Remote search query.
|
||||
* @param {AlbumInfoRemoteSearchQuery} albumInfoRemoteSearchQuery Remote search query.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getMusicAlbumRemoteSearchResults: async (uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'uNKNOWNBASETYPE' is not null or undefined
|
||||
assertParamExists('getMusicAlbumRemoteSearchResults', 'uNKNOWNBASETYPE', uNKNOWNBASETYPE)
|
||||
getMusicAlbumRemoteSearchResults: async (albumInfoRemoteSearchQuery: AlbumInfoRemoteSearchQuery, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'albumInfoRemoteSearchQuery' is not null or undefined
|
||||
assertParamExists('getMusicAlbumRemoteSearchResults', 'albumInfoRemoteSearchQuery', albumInfoRemoteSearchQuery)
|
||||
const localVarPath = `/Items/RemoteSearch/MusicAlbum`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
@ -286,7 +284,7 @@ export const ItemLookupApiAxiosParamCreator = function (configuration?: Configur
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(albumInfoRemoteSearchQuery, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -296,13 +294,13 @@ export const ItemLookupApiAxiosParamCreator = function (configuration?: Configur
|
||||
/**
|
||||
*
|
||||
* @summary Get music artist remote search.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE Remote search query.
|
||||
* @param {ArtistInfoRemoteSearchQuery} artistInfoRemoteSearchQuery Remote search query.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getMusicArtistRemoteSearchResults: async (uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'uNKNOWNBASETYPE' is not null or undefined
|
||||
assertParamExists('getMusicArtistRemoteSearchResults', 'uNKNOWNBASETYPE', uNKNOWNBASETYPE)
|
||||
getMusicArtistRemoteSearchResults: async (artistInfoRemoteSearchQuery: ArtistInfoRemoteSearchQuery, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'artistInfoRemoteSearchQuery' is not null or undefined
|
||||
assertParamExists('getMusicArtistRemoteSearchResults', 'artistInfoRemoteSearchQuery', artistInfoRemoteSearchQuery)
|
||||
const localVarPath = `/Items/RemoteSearch/MusicArtist`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
@ -325,7 +323,7 @@ export const ItemLookupApiAxiosParamCreator = function (configuration?: Configur
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(artistInfoRemoteSearchQuery, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -335,13 +333,13 @@ export const ItemLookupApiAxiosParamCreator = function (configuration?: Configur
|
||||
/**
|
||||
*
|
||||
* @summary Get music video remote search.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE Remote search query.
|
||||
* @param {MusicVideoInfoRemoteSearchQuery} musicVideoInfoRemoteSearchQuery Remote search query.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getMusicVideoRemoteSearchResults: async (uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'uNKNOWNBASETYPE' is not null or undefined
|
||||
assertParamExists('getMusicVideoRemoteSearchResults', 'uNKNOWNBASETYPE', uNKNOWNBASETYPE)
|
||||
getMusicVideoRemoteSearchResults: async (musicVideoInfoRemoteSearchQuery: MusicVideoInfoRemoteSearchQuery, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'musicVideoInfoRemoteSearchQuery' is not null or undefined
|
||||
assertParamExists('getMusicVideoRemoteSearchResults', 'musicVideoInfoRemoteSearchQuery', musicVideoInfoRemoteSearchQuery)
|
||||
const localVarPath = `/Items/RemoteSearch/MusicVideo`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
@ -364,7 +362,7 @@ export const ItemLookupApiAxiosParamCreator = function (configuration?: Configur
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(musicVideoInfoRemoteSearchQuery, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -374,13 +372,13 @@ export const ItemLookupApiAxiosParamCreator = function (configuration?: Configur
|
||||
/**
|
||||
*
|
||||
* @summary Get person remote search.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE Remote search query.
|
||||
* @param {PersonLookupInfoRemoteSearchQuery} personLookupInfoRemoteSearchQuery Remote search query.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getPersonRemoteSearchResults: async (uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'uNKNOWNBASETYPE' is not null or undefined
|
||||
assertParamExists('getPersonRemoteSearchResults', 'uNKNOWNBASETYPE', uNKNOWNBASETYPE)
|
||||
getPersonRemoteSearchResults: async (personLookupInfoRemoteSearchQuery: PersonLookupInfoRemoteSearchQuery, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'personLookupInfoRemoteSearchQuery' is not null or undefined
|
||||
assertParamExists('getPersonRemoteSearchResults', 'personLookupInfoRemoteSearchQuery', personLookupInfoRemoteSearchQuery)
|
||||
const localVarPath = `/Items/RemoteSearch/Person`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
@ -403,7 +401,7 @@ export const ItemLookupApiAxiosParamCreator = function (configuration?: Configur
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(personLookupInfoRemoteSearchQuery, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -413,13 +411,13 @@ export const ItemLookupApiAxiosParamCreator = function (configuration?: Configur
|
||||
/**
|
||||
*
|
||||
* @summary Get series remote search.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE Remote search query.
|
||||
* @param {SeriesInfoRemoteSearchQuery} seriesInfoRemoteSearchQuery Remote search query.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getSeriesRemoteSearchResults: async (uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'uNKNOWNBASETYPE' is not null or undefined
|
||||
assertParamExists('getSeriesRemoteSearchResults', 'uNKNOWNBASETYPE', uNKNOWNBASETYPE)
|
||||
getSeriesRemoteSearchResults: async (seriesInfoRemoteSearchQuery: SeriesInfoRemoteSearchQuery, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'seriesInfoRemoteSearchQuery' is not null or undefined
|
||||
assertParamExists('getSeriesRemoteSearchResults', 'seriesInfoRemoteSearchQuery', seriesInfoRemoteSearchQuery)
|
||||
const localVarPath = `/Items/RemoteSearch/Series`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
@ -442,7 +440,7 @@ export const ItemLookupApiAxiosParamCreator = function (configuration?: Configur
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(seriesInfoRemoteSearchQuery, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -452,13 +450,13 @@ export const ItemLookupApiAxiosParamCreator = function (configuration?: Configur
|
||||
/**
|
||||
*
|
||||
* @summary Get trailer remote search.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE Remote search query.
|
||||
* @param {TrailerInfoRemoteSearchQuery} trailerInfoRemoteSearchQuery Remote search query.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getTrailerRemoteSearchResults: async (uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'uNKNOWNBASETYPE' is not null or undefined
|
||||
assertParamExists('getTrailerRemoteSearchResults', 'uNKNOWNBASETYPE', uNKNOWNBASETYPE)
|
||||
getTrailerRemoteSearchResults: async (trailerInfoRemoteSearchQuery: TrailerInfoRemoteSearchQuery, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'trailerInfoRemoteSearchQuery' is not null or undefined
|
||||
assertParamExists('getTrailerRemoteSearchResults', 'trailerInfoRemoteSearchQuery', trailerInfoRemoteSearchQuery)
|
||||
const localVarPath = `/Items/RemoteSearch/Trailer`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
@ -481,7 +479,7 @@ export const ItemLookupApiAxiosParamCreator = function (configuration?: Configur
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(trailerInfoRemoteSearchQuery, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -502,35 +500,35 @@ export const ItemLookupApiFp = function(configuration?: Configuration) {
|
||||
*
|
||||
* @summary Applies search criteria to an item and refreshes metadata.
|
||||
* @param {string} itemId Item id.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The remote search result.
|
||||
* @param {RemoteSearchResult} remoteSearchResult The remote search result.
|
||||
* @param {boolean} [replaceAllImages] Optional. Whether or not to replace all images. Default: True.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async applySearchCriteria(itemId: string, uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, replaceAllImages?: boolean, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.applySearchCriteria(itemId, uNKNOWNBASETYPE, replaceAllImages, options);
|
||||
async applySearchCriteria(itemId: string, remoteSearchResult: RemoteSearchResult, replaceAllImages?: boolean, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.applySearchCriteria(itemId, remoteSearchResult, replaceAllImages, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get book remote search.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE Remote search query.
|
||||
* @param {BookInfoRemoteSearchQuery} bookInfoRemoteSearchQuery Remote search query.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async getBookRemoteSearchResults(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<RemoteSearchResult>>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getBookRemoteSearchResults(uNKNOWNBASETYPE, options);
|
||||
async getBookRemoteSearchResults(bookInfoRemoteSearchQuery: BookInfoRemoteSearchQuery, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<RemoteSearchResult>>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getBookRemoteSearchResults(bookInfoRemoteSearchQuery, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get box set remote search.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE Remote search query.
|
||||
* @param {BoxSetInfoRemoteSearchQuery} boxSetInfoRemoteSearchQuery Remote search query.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async getBoxSetRemoteSearchResults(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<RemoteSearchResult>>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getBoxSetRemoteSearchResults(uNKNOWNBASETYPE, options);
|
||||
async getBoxSetRemoteSearchResults(boxSetInfoRemoteSearchQuery: BoxSetInfoRemoteSearchQuery, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<RemoteSearchResult>>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getBoxSetRemoteSearchResults(boxSetInfoRemoteSearchQuery, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
@ -547,78 +545,78 @@ export const ItemLookupApiFp = function(configuration?: Configuration) {
|
||||
/**
|
||||
*
|
||||
* @summary Get movie remote search.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE Remote search query.
|
||||
* @param {MovieInfoRemoteSearchQuery} movieInfoRemoteSearchQuery Remote search query.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async getMovieRemoteSearchResults(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<RemoteSearchResult>>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getMovieRemoteSearchResults(uNKNOWNBASETYPE, options);
|
||||
async getMovieRemoteSearchResults(movieInfoRemoteSearchQuery: MovieInfoRemoteSearchQuery, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<RemoteSearchResult>>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getMovieRemoteSearchResults(movieInfoRemoteSearchQuery, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get music album remote search.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE Remote search query.
|
||||
* @param {AlbumInfoRemoteSearchQuery} albumInfoRemoteSearchQuery Remote search query.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async getMusicAlbumRemoteSearchResults(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<RemoteSearchResult>>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getMusicAlbumRemoteSearchResults(uNKNOWNBASETYPE, options);
|
||||
async getMusicAlbumRemoteSearchResults(albumInfoRemoteSearchQuery: AlbumInfoRemoteSearchQuery, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<RemoteSearchResult>>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getMusicAlbumRemoteSearchResults(albumInfoRemoteSearchQuery, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get music artist remote search.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE Remote search query.
|
||||
* @param {ArtistInfoRemoteSearchQuery} artistInfoRemoteSearchQuery Remote search query.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async getMusicArtistRemoteSearchResults(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<RemoteSearchResult>>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getMusicArtistRemoteSearchResults(uNKNOWNBASETYPE, options);
|
||||
async getMusicArtistRemoteSearchResults(artistInfoRemoteSearchQuery: ArtistInfoRemoteSearchQuery, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<RemoteSearchResult>>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getMusicArtistRemoteSearchResults(artistInfoRemoteSearchQuery, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get music video remote search.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE Remote search query.
|
||||
* @param {MusicVideoInfoRemoteSearchQuery} musicVideoInfoRemoteSearchQuery Remote search query.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async getMusicVideoRemoteSearchResults(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<RemoteSearchResult>>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getMusicVideoRemoteSearchResults(uNKNOWNBASETYPE, options);
|
||||
async getMusicVideoRemoteSearchResults(musicVideoInfoRemoteSearchQuery: MusicVideoInfoRemoteSearchQuery, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<RemoteSearchResult>>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getMusicVideoRemoteSearchResults(musicVideoInfoRemoteSearchQuery, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get person remote search.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE Remote search query.
|
||||
* @param {PersonLookupInfoRemoteSearchQuery} personLookupInfoRemoteSearchQuery Remote search query.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async getPersonRemoteSearchResults(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<RemoteSearchResult>>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getPersonRemoteSearchResults(uNKNOWNBASETYPE, options);
|
||||
async getPersonRemoteSearchResults(personLookupInfoRemoteSearchQuery: PersonLookupInfoRemoteSearchQuery, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<RemoteSearchResult>>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getPersonRemoteSearchResults(personLookupInfoRemoteSearchQuery, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get series remote search.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE Remote search query.
|
||||
* @param {SeriesInfoRemoteSearchQuery} seriesInfoRemoteSearchQuery Remote search query.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async getSeriesRemoteSearchResults(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<RemoteSearchResult>>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getSeriesRemoteSearchResults(uNKNOWNBASETYPE, options);
|
||||
async getSeriesRemoteSearchResults(seriesInfoRemoteSearchQuery: SeriesInfoRemoteSearchQuery, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<RemoteSearchResult>>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getSeriesRemoteSearchResults(seriesInfoRemoteSearchQuery, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get trailer remote search.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE Remote search query.
|
||||
* @param {TrailerInfoRemoteSearchQuery} trailerInfoRemoteSearchQuery Remote search query.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async getTrailerRemoteSearchResults(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<RemoteSearchResult>>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getTrailerRemoteSearchResults(uNKNOWNBASETYPE, options);
|
||||
async getTrailerRemoteSearchResults(trailerInfoRemoteSearchQuery: TrailerInfoRemoteSearchQuery, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<RemoteSearchResult>>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getTrailerRemoteSearchResults(trailerInfoRemoteSearchQuery, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
}
|
||||
@ -635,33 +633,33 @@ export const ItemLookupApiFactory = function (configuration?: Configuration, bas
|
||||
*
|
||||
* @summary Applies search criteria to an item and refreshes metadata.
|
||||
* @param {string} itemId Item id.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The remote search result.
|
||||
* @param {RemoteSearchResult} remoteSearchResult The remote search result.
|
||||
* @param {boolean} [replaceAllImages] Optional. Whether or not to replace all images. Default: True.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
applySearchCriteria(itemId: string, uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, replaceAllImages?: boolean, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.applySearchCriteria(itemId, uNKNOWNBASETYPE, replaceAllImages, options).then((request) => request(axios, basePath));
|
||||
applySearchCriteria(itemId: string, remoteSearchResult: RemoteSearchResult, replaceAllImages?: boolean, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.applySearchCriteria(itemId, remoteSearchResult, replaceAllImages, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get book remote search.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE Remote search query.
|
||||
* @param {BookInfoRemoteSearchQuery} bookInfoRemoteSearchQuery Remote search query.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getBookRemoteSearchResults(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<Array<RemoteSearchResult>> {
|
||||
return localVarFp.getBookRemoteSearchResults(uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
getBookRemoteSearchResults(bookInfoRemoteSearchQuery: BookInfoRemoteSearchQuery, options?: any): AxiosPromise<Array<RemoteSearchResult>> {
|
||||
return localVarFp.getBookRemoteSearchResults(bookInfoRemoteSearchQuery, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get box set remote search.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE Remote search query.
|
||||
* @param {BoxSetInfoRemoteSearchQuery} boxSetInfoRemoteSearchQuery Remote search query.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getBoxSetRemoteSearchResults(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<Array<RemoteSearchResult>> {
|
||||
return localVarFp.getBoxSetRemoteSearchResults(uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
getBoxSetRemoteSearchResults(boxSetInfoRemoteSearchQuery: BoxSetInfoRemoteSearchQuery, options?: any): AxiosPromise<Array<RemoteSearchResult>> {
|
||||
return localVarFp.getBoxSetRemoteSearchResults(boxSetInfoRemoteSearchQuery, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
@ -676,72 +674,72 @@ export const ItemLookupApiFactory = function (configuration?: Configuration, bas
|
||||
/**
|
||||
*
|
||||
* @summary Get movie remote search.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE Remote search query.
|
||||
* @param {MovieInfoRemoteSearchQuery} movieInfoRemoteSearchQuery Remote search query.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getMovieRemoteSearchResults(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<Array<RemoteSearchResult>> {
|
||||
return localVarFp.getMovieRemoteSearchResults(uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
getMovieRemoteSearchResults(movieInfoRemoteSearchQuery: MovieInfoRemoteSearchQuery, options?: any): AxiosPromise<Array<RemoteSearchResult>> {
|
||||
return localVarFp.getMovieRemoteSearchResults(movieInfoRemoteSearchQuery, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get music album remote search.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE Remote search query.
|
||||
* @param {AlbumInfoRemoteSearchQuery} albumInfoRemoteSearchQuery Remote search query.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getMusicAlbumRemoteSearchResults(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<Array<RemoteSearchResult>> {
|
||||
return localVarFp.getMusicAlbumRemoteSearchResults(uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
getMusicAlbumRemoteSearchResults(albumInfoRemoteSearchQuery: AlbumInfoRemoteSearchQuery, options?: any): AxiosPromise<Array<RemoteSearchResult>> {
|
||||
return localVarFp.getMusicAlbumRemoteSearchResults(albumInfoRemoteSearchQuery, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get music artist remote search.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE Remote search query.
|
||||
* @param {ArtistInfoRemoteSearchQuery} artistInfoRemoteSearchQuery Remote search query.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getMusicArtistRemoteSearchResults(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<Array<RemoteSearchResult>> {
|
||||
return localVarFp.getMusicArtistRemoteSearchResults(uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
getMusicArtistRemoteSearchResults(artistInfoRemoteSearchQuery: ArtistInfoRemoteSearchQuery, options?: any): AxiosPromise<Array<RemoteSearchResult>> {
|
||||
return localVarFp.getMusicArtistRemoteSearchResults(artistInfoRemoteSearchQuery, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get music video remote search.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE Remote search query.
|
||||
* @param {MusicVideoInfoRemoteSearchQuery} musicVideoInfoRemoteSearchQuery Remote search query.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getMusicVideoRemoteSearchResults(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<Array<RemoteSearchResult>> {
|
||||
return localVarFp.getMusicVideoRemoteSearchResults(uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
getMusicVideoRemoteSearchResults(musicVideoInfoRemoteSearchQuery: MusicVideoInfoRemoteSearchQuery, options?: any): AxiosPromise<Array<RemoteSearchResult>> {
|
||||
return localVarFp.getMusicVideoRemoteSearchResults(musicVideoInfoRemoteSearchQuery, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get person remote search.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE Remote search query.
|
||||
* @param {PersonLookupInfoRemoteSearchQuery} personLookupInfoRemoteSearchQuery Remote search query.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getPersonRemoteSearchResults(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<Array<RemoteSearchResult>> {
|
||||
return localVarFp.getPersonRemoteSearchResults(uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
getPersonRemoteSearchResults(personLookupInfoRemoteSearchQuery: PersonLookupInfoRemoteSearchQuery, options?: any): AxiosPromise<Array<RemoteSearchResult>> {
|
||||
return localVarFp.getPersonRemoteSearchResults(personLookupInfoRemoteSearchQuery, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get series remote search.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE Remote search query.
|
||||
* @param {SeriesInfoRemoteSearchQuery} seriesInfoRemoteSearchQuery Remote search query.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getSeriesRemoteSearchResults(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<Array<RemoteSearchResult>> {
|
||||
return localVarFp.getSeriesRemoteSearchResults(uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
getSeriesRemoteSearchResults(seriesInfoRemoteSearchQuery: SeriesInfoRemoteSearchQuery, options?: any): AxiosPromise<Array<RemoteSearchResult>> {
|
||||
return localVarFp.getSeriesRemoteSearchResults(seriesInfoRemoteSearchQuery, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get trailer remote search.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE Remote search query.
|
||||
* @param {TrailerInfoRemoteSearchQuery} trailerInfoRemoteSearchQuery Remote search query.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getTrailerRemoteSearchResults(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<Array<RemoteSearchResult>> {
|
||||
return localVarFp.getTrailerRemoteSearchResults(uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
getTrailerRemoteSearchResults(trailerInfoRemoteSearchQuery: TrailerInfoRemoteSearchQuery, options?: any): AxiosPromise<Array<RemoteSearchResult>> {
|
||||
return localVarFp.getTrailerRemoteSearchResults(trailerInfoRemoteSearchQuery, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
};
|
||||
@ -761,10 +759,10 @@ export interface ItemLookupApiApplySearchCriteriaRequest {
|
||||
|
||||
/**
|
||||
* The remote search result.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {RemoteSearchResult}
|
||||
* @memberof ItemLookupApiApplySearchCriteria
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE
|
||||
readonly remoteSearchResult: RemoteSearchResult
|
||||
|
||||
/**
|
||||
* Optional. Whether or not to replace all images. Default: True.
|
||||
@ -782,10 +780,10 @@ export interface ItemLookupApiApplySearchCriteriaRequest {
|
||||
export interface ItemLookupApiGetBookRemoteSearchResultsRequest {
|
||||
/**
|
||||
* Remote search query.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {BookInfoRemoteSearchQuery}
|
||||
* @memberof ItemLookupApiGetBookRemoteSearchResults
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE
|
||||
readonly bookInfoRemoteSearchQuery: BookInfoRemoteSearchQuery
|
||||
}
|
||||
|
||||
/**
|
||||
@ -796,10 +794,10 @@ export interface ItemLookupApiGetBookRemoteSearchResultsRequest {
|
||||
export interface ItemLookupApiGetBoxSetRemoteSearchResultsRequest {
|
||||
/**
|
||||
* Remote search query.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {BoxSetInfoRemoteSearchQuery}
|
||||
* @memberof ItemLookupApiGetBoxSetRemoteSearchResults
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE
|
||||
readonly boxSetInfoRemoteSearchQuery: BoxSetInfoRemoteSearchQuery
|
||||
}
|
||||
|
||||
/**
|
||||
@ -824,10 +822,10 @@ export interface ItemLookupApiGetExternalIdInfosRequest {
|
||||
export interface ItemLookupApiGetMovieRemoteSearchResultsRequest {
|
||||
/**
|
||||
* Remote search query.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {MovieInfoRemoteSearchQuery}
|
||||
* @memberof ItemLookupApiGetMovieRemoteSearchResults
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE
|
||||
readonly movieInfoRemoteSearchQuery: MovieInfoRemoteSearchQuery
|
||||
}
|
||||
|
||||
/**
|
||||
@ -838,10 +836,10 @@ export interface ItemLookupApiGetMovieRemoteSearchResultsRequest {
|
||||
export interface ItemLookupApiGetMusicAlbumRemoteSearchResultsRequest {
|
||||
/**
|
||||
* Remote search query.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {AlbumInfoRemoteSearchQuery}
|
||||
* @memberof ItemLookupApiGetMusicAlbumRemoteSearchResults
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE
|
||||
readonly albumInfoRemoteSearchQuery: AlbumInfoRemoteSearchQuery
|
||||
}
|
||||
|
||||
/**
|
||||
@ -852,10 +850,10 @@ export interface ItemLookupApiGetMusicAlbumRemoteSearchResultsRequest {
|
||||
export interface ItemLookupApiGetMusicArtistRemoteSearchResultsRequest {
|
||||
/**
|
||||
* Remote search query.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {ArtistInfoRemoteSearchQuery}
|
||||
* @memberof ItemLookupApiGetMusicArtistRemoteSearchResults
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE
|
||||
readonly artistInfoRemoteSearchQuery: ArtistInfoRemoteSearchQuery
|
||||
}
|
||||
|
||||
/**
|
||||
@ -866,10 +864,10 @@ export interface ItemLookupApiGetMusicArtistRemoteSearchResultsRequest {
|
||||
export interface ItemLookupApiGetMusicVideoRemoteSearchResultsRequest {
|
||||
/**
|
||||
* Remote search query.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {MusicVideoInfoRemoteSearchQuery}
|
||||
* @memberof ItemLookupApiGetMusicVideoRemoteSearchResults
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE
|
||||
readonly musicVideoInfoRemoteSearchQuery: MusicVideoInfoRemoteSearchQuery
|
||||
}
|
||||
|
||||
/**
|
||||
@ -880,10 +878,10 @@ export interface ItemLookupApiGetMusicVideoRemoteSearchResultsRequest {
|
||||
export interface ItemLookupApiGetPersonRemoteSearchResultsRequest {
|
||||
/**
|
||||
* Remote search query.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {PersonLookupInfoRemoteSearchQuery}
|
||||
* @memberof ItemLookupApiGetPersonRemoteSearchResults
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE
|
||||
readonly personLookupInfoRemoteSearchQuery: PersonLookupInfoRemoteSearchQuery
|
||||
}
|
||||
|
||||
/**
|
||||
@ -894,10 +892,10 @@ export interface ItemLookupApiGetPersonRemoteSearchResultsRequest {
|
||||
export interface ItemLookupApiGetSeriesRemoteSearchResultsRequest {
|
||||
/**
|
||||
* Remote search query.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {SeriesInfoRemoteSearchQuery}
|
||||
* @memberof ItemLookupApiGetSeriesRemoteSearchResults
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE
|
||||
readonly seriesInfoRemoteSearchQuery: SeriesInfoRemoteSearchQuery
|
||||
}
|
||||
|
||||
/**
|
||||
@ -908,10 +906,10 @@ export interface ItemLookupApiGetSeriesRemoteSearchResultsRequest {
|
||||
export interface ItemLookupApiGetTrailerRemoteSearchResultsRequest {
|
||||
/**
|
||||
* Remote search query.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {TrailerInfoRemoteSearchQuery}
|
||||
* @memberof ItemLookupApiGetTrailerRemoteSearchResults
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE
|
||||
readonly trailerInfoRemoteSearchQuery: TrailerInfoRemoteSearchQuery
|
||||
}
|
||||
|
||||
/**
|
||||
@ -930,7 +928,7 @@ export class ItemLookupApi extends BaseAPI {
|
||||
* @memberof ItemLookupApi
|
||||
*/
|
||||
public applySearchCriteria(requestParameters: ItemLookupApiApplySearchCriteriaRequest, options?: any) {
|
||||
return ItemLookupApiFp(this.configuration).applySearchCriteria(requestParameters.itemId, requestParameters.uNKNOWNBASETYPE, requestParameters.replaceAllImages, options).then((request) => request(this.axios, this.basePath));
|
||||
return ItemLookupApiFp(this.configuration).applySearchCriteria(requestParameters.itemId, requestParameters.remoteSearchResult, requestParameters.replaceAllImages, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -942,7 +940,7 @@ export class ItemLookupApi extends BaseAPI {
|
||||
* @memberof ItemLookupApi
|
||||
*/
|
||||
public getBookRemoteSearchResults(requestParameters: ItemLookupApiGetBookRemoteSearchResultsRequest, options?: any) {
|
||||
return ItemLookupApiFp(this.configuration).getBookRemoteSearchResults(requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return ItemLookupApiFp(this.configuration).getBookRemoteSearchResults(requestParameters.bookInfoRemoteSearchQuery, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -954,7 +952,7 @@ export class ItemLookupApi extends BaseAPI {
|
||||
* @memberof ItemLookupApi
|
||||
*/
|
||||
public getBoxSetRemoteSearchResults(requestParameters: ItemLookupApiGetBoxSetRemoteSearchResultsRequest, options?: any) {
|
||||
return ItemLookupApiFp(this.configuration).getBoxSetRemoteSearchResults(requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return ItemLookupApiFp(this.configuration).getBoxSetRemoteSearchResults(requestParameters.boxSetInfoRemoteSearchQuery, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -978,7 +976,7 @@ export class ItemLookupApi extends BaseAPI {
|
||||
* @memberof ItemLookupApi
|
||||
*/
|
||||
public getMovieRemoteSearchResults(requestParameters: ItemLookupApiGetMovieRemoteSearchResultsRequest, options?: any) {
|
||||
return ItemLookupApiFp(this.configuration).getMovieRemoteSearchResults(requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return ItemLookupApiFp(this.configuration).getMovieRemoteSearchResults(requestParameters.movieInfoRemoteSearchQuery, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -990,7 +988,7 @@ export class ItemLookupApi extends BaseAPI {
|
||||
* @memberof ItemLookupApi
|
||||
*/
|
||||
public getMusicAlbumRemoteSearchResults(requestParameters: ItemLookupApiGetMusicAlbumRemoteSearchResultsRequest, options?: any) {
|
||||
return ItemLookupApiFp(this.configuration).getMusicAlbumRemoteSearchResults(requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return ItemLookupApiFp(this.configuration).getMusicAlbumRemoteSearchResults(requestParameters.albumInfoRemoteSearchQuery, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -1002,7 +1000,7 @@ export class ItemLookupApi extends BaseAPI {
|
||||
* @memberof ItemLookupApi
|
||||
*/
|
||||
public getMusicArtistRemoteSearchResults(requestParameters: ItemLookupApiGetMusicArtistRemoteSearchResultsRequest, options?: any) {
|
||||
return ItemLookupApiFp(this.configuration).getMusicArtistRemoteSearchResults(requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return ItemLookupApiFp(this.configuration).getMusicArtistRemoteSearchResults(requestParameters.artistInfoRemoteSearchQuery, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -1014,7 +1012,7 @@ export class ItemLookupApi extends BaseAPI {
|
||||
* @memberof ItemLookupApi
|
||||
*/
|
||||
public getMusicVideoRemoteSearchResults(requestParameters: ItemLookupApiGetMusicVideoRemoteSearchResultsRequest, options?: any) {
|
||||
return ItemLookupApiFp(this.configuration).getMusicVideoRemoteSearchResults(requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return ItemLookupApiFp(this.configuration).getMusicVideoRemoteSearchResults(requestParameters.musicVideoInfoRemoteSearchQuery, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -1026,7 +1024,7 @@ export class ItemLookupApi extends BaseAPI {
|
||||
* @memberof ItemLookupApi
|
||||
*/
|
||||
public getPersonRemoteSearchResults(requestParameters: ItemLookupApiGetPersonRemoteSearchResultsRequest, options?: any) {
|
||||
return ItemLookupApiFp(this.configuration).getPersonRemoteSearchResults(requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return ItemLookupApiFp(this.configuration).getPersonRemoteSearchResults(requestParameters.personLookupInfoRemoteSearchQuery, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -1038,7 +1036,7 @@ export class ItemLookupApi extends BaseAPI {
|
||||
* @memberof ItemLookupApi
|
||||
*/
|
||||
public getSeriesRemoteSearchResults(requestParameters: ItemLookupApiGetSeriesRemoteSearchResultsRequest, options?: any) {
|
||||
return ItemLookupApiFp(this.configuration).getSeriesRemoteSearchResults(requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return ItemLookupApiFp(this.configuration).getSeriesRemoteSearchResults(requestParameters.seriesInfoRemoteSearchQuery, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -1050,6 +1048,6 @@ export class ItemLookupApi extends BaseAPI {
|
||||
* @memberof ItemLookupApi
|
||||
*/
|
||||
public getTrailerRemoteSearchResults(requestParameters: ItemLookupApiGetTrailerRemoteSearchResultsRequest, options?: any) {
|
||||
return ItemLookupApiFp(this.configuration).getTrailerRemoteSearchResults(requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return ItemLookupApiFp(this.configuration).getTrailerRemoteSearchResults(requestParameters.trailerInfoRemoteSearchQuery, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
}
|
||||
|
@ -26,8 +26,6 @@ import { BaseItemDto } from '../models';
|
||||
import { MetadataEditorInfo } from '../models';
|
||||
// @ts-ignore
|
||||
import { ProblemDetails } from '../models';
|
||||
// @ts-ignore
|
||||
import { UNKNOWN_BASE_TYPE } from '../models';
|
||||
/**
|
||||
* ItemUpdateApi - axios parameter creator
|
||||
* @export
|
||||
@ -75,15 +73,15 @@ export const ItemUpdateApiAxiosParamCreator = function (configuration?: Configur
|
||||
*
|
||||
* @summary Updates an item.
|
||||
* @param {string} itemId The item id.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The new item properties.
|
||||
* @param {BaseItemDto} baseItemDto The new item properties.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updateItem: async (itemId: string, uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
updateItem: async (itemId: string, baseItemDto: BaseItemDto, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'itemId' is not null or undefined
|
||||
assertParamExists('updateItem', 'itemId', itemId)
|
||||
// verify required parameter 'uNKNOWNBASETYPE' is not null or undefined
|
||||
assertParamExists('updateItem', 'uNKNOWNBASETYPE', uNKNOWNBASETYPE)
|
||||
// verify required parameter 'baseItemDto' is not null or undefined
|
||||
assertParamExists('updateItem', 'baseItemDto', baseItemDto)
|
||||
const localVarPath = `/Items/{itemId}`
|
||||
.replace(`{${"itemId"}}`, encodeURIComponent(String(itemId)));
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
@ -107,7 +105,7 @@ export const ItemUpdateApiAxiosParamCreator = function (configuration?: Configur
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(baseItemDto, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -181,12 +179,12 @@ export const ItemUpdateApiFp = function(configuration?: Configuration) {
|
||||
*
|
||||
* @summary Updates an item.
|
||||
* @param {string} itemId The item id.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The new item properties.
|
||||
* @param {BaseItemDto} baseItemDto The new item properties.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async updateItem(itemId: string, uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.updateItem(itemId, uNKNOWNBASETYPE, options);
|
||||
async updateItem(itemId: string, baseItemDto: BaseItemDto, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.updateItem(itemId, baseItemDto, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
@ -225,12 +223,12 @@ export const ItemUpdateApiFactory = function (configuration?: Configuration, bas
|
||||
*
|
||||
* @summary Updates an item.
|
||||
* @param {string} itemId The item id.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The new item properties.
|
||||
* @param {BaseItemDto} baseItemDto The new item properties.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updateItem(itemId: string, uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.updateItem(itemId, uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
updateItem(itemId: string, baseItemDto: BaseItemDto, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.updateItem(itemId, baseItemDto, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
@ -275,10 +273,10 @@ export interface ItemUpdateApiUpdateItemRequest {
|
||||
|
||||
/**
|
||||
* The new item properties.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {BaseItemDto}
|
||||
* @memberof ItemUpdateApiUpdateItem
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE
|
||||
readonly baseItemDto: BaseItemDto
|
||||
}
|
||||
|
||||
/**
|
||||
@ -330,7 +328,7 @@ export class ItemUpdateApi extends BaseAPI {
|
||||
* @memberof ItemUpdateApi
|
||||
*/
|
||||
public updateItem(requestParameters: ItemUpdateApiUpdateItemRequest, options?: any) {
|
||||
return ItemUpdateApiFp(this.configuration).updateItem(requestParameters.itemId, requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return ItemUpdateApiFp(this.configuration).updateItem(requestParameters.itemId, requestParameters.baseItemDto, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -38,8 +38,6 @@ import { MediaUpdateInfoDto } from '../models';
|
||||
import { ProblemDetails } from '../models';
|
||||
// @ts-ignore
|
||||
import { ThemeMediaResult } from '../models';
|
||||
// @ts-ignore
|
||||
import { UNKNOWN_BASE_TYPE } from '../models';
|
||||
/**
|
||||
* LibraryApi - axios parameter creator
|
||||
* @export
|
||||
@ -999,13 +997,13 @@ export const LibraryApiAxiosParamCreator = function (configuration?: Configurati
|
||||
/**
|
||||
*
|
||||
* @summary Reports that new movies have been added by an external source.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The update paths.
|
||||
* @param {MediaUpdateInfoDto} mediaUpdateInfoDto The update paths.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
postUpdatedMedia: async (uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'uNKNOWNBASETYPE' is not null or undefined
|
||||
assertParamExists('postUpdatedMedia', 'uNKNOWNBASETYPE', uNKNOWNBASETYPE)
|
||||
postUpdatedMedia: async (mediaUpdateInfoDto: MediaUpdateInfoDto, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'mediaUpdateInfoDto' is not null or undefined
|
||||
assertParamExists('postUpdatedMedia', 'mediaUpdateInfoDto', mediaUpdateInfoDto)
|
||||
const localVarPath = `/Library/Media/Updated`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
@ -1028,7 +1026,7 @@ export const LibraryApiAxiosParamCreator = function (configuration?: Configurati
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(mediaUpdateInfoDto, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -1427,12 +1425,12 @@ export const LibraryApiFp = function(configuration?: Configuration) {
|
||||
/**
|
||||
*
|
||||
* @summary Reports that new movies have been added by an external source.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The update paths.
|
||||
* @param {MediaUpdateInfoDto} mediaUpdateInfoDto The update paths.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async postUpdatedMedia(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.postUpdatedMedia(uNKNOWNBASETYPE, options);
|
||||
async postUpdatedMedia(mediaUpdateInfoDto: MediaUpdateInfoDto, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.postUpdatedMedia(mediaUpdateInfoDto, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
@ -1725,12 +1723,12 @@ export const LibraryApiFactory = function (configuration?: Configuration, basePa
|
||||
/**
|
||||
*
|
||||
* @summary Reports that new movies have been added by an external source.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The update paths.
|
||||
* @param {MediaUpdateInfoDto} mediaUpdateInfoDto The update paths.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
postUpdatedMedia(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.postUpdatedMedia(uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
postUpdatedMedia(mediaUpdateInfoDto: MediaUpdateInfoDto, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.postUpdatedMedia(mediaUpdateInfoDto, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
@ -2291,10 +2289,10 @@ export interface LibraryApiPostAddedSeriesRequest {
|
||||
export interface LibraryApiPostUpdatedMediaRequest {
|
||||
/**
|
||||
* The update paths.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {MediaUpdateInfoDto}
|
||||
* @memberof LibraryApiPostUpdatedMedia
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE
|
||||
readonly mediaUpdateInfoDto: MediaUpdateInfoDto
|
||||
}
|
||||
|
||||
/**
|
||||
@ -2600,7 +2598,7 @@ export class LibraryApi extends BaseAPI {
|
||||
* @memberof LibraryApi
|
||||
*/
|
||||
public postUpdatedMedia(requestParameters: LibraryApiPostUpdatedMediaRequest, options?: any) {
|
||||
return LibraryApiFp(this.configuration).postUpdatedMedia(requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return LibraryApiFp(this.configuration).postUpdatedMedia(requestParameters.mediaUpdateInfoDto, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -29,8 +29,6 @@ import { MediaPathDto } from '../models';
|
||||
// @ts-ignore
|
||||
import { ProblemDetails } from '../models';
|
||||
// @ts-ignore
|
||||
import { UNKNOWN_BASE_TYPE } from '../models';
|
||||
// @ts-ignore
|
||||
import { UpdateLibraryOptionsDto } from '../models';
|
||||
// @ts-ignore
|
||||
import { UpdateMediaPathRequestDto } from '../models';
|
||||
@ -45,14 +43,14 @@ export const LibraryStructureApiAxiosParamCreator = function (configuration?: Co
|
||||
/**
|
||||
*
|
||||
* @summary Add a media path to a library.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The media path dto.
|
||||
* @param {MediaPathDto} mediaPathDto The media path dto.
|
||||
* @param {boolean} [refreshLibrary] Whether to refresh the library.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
addMediaPath: async (uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, refreshLibrary?: boolean, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'uNKNOWNBASETYPE' is not null or undefined
|
||||
assertParamExists('addMediaPath', 'uNKNOWNBASETYPE', uNKNOWNBASETYPE)
|
||||
addMediaPath: async (mediaPathDto: MediaPathDto, refreshLibrary?: boolean, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'mediaPathDto' is not null or undefined
|
||||
assertParamExists('addMediaPath', 'mediaPathDto', mediaPathDto)
|
||||
const localVarPath = `/Library/VirtualFolders/Paths`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
@ -79,7 +77,7 @@ export const LibraryStructureApiAxiosParamCreator = function (configuration?: Co
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(mediaPathDto, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -93,11 +91,11 @@ export const LibraryStructureApiAxiosParamCreator = function (configuration?: Co
|
||||
* @param {CollectionTypeOptions} [collectionType] The type of the collection.
|
||||
* @param {Array<string>} [paths] The paths of the virtual folder.
|
||||
* @param {boolean} [refreshLibrary] Whether to refresh the library.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] The library options.
|
||||
* @param {AddVirtualFolderDto} [addVirtualFolderDto] The library options.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
addVirtualFolder: async (name?: string, collectionType?: CollectionTypeOptions, paths?: Array<string>, refreshLibrary?: boolean, uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
addVirtualFolder: async (name?: string, collectionType?: CollectionTypeOptions, paths?: Array<string>, refreshLibrary?: boolean, addVirtualFolderDto?: AddVirtualFolderDto, options: any = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/Library/VirtualFolders`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
@ -136,7 +134,7 @@ export const LibraryStructureApiAxiosParamCreator = function (configuration?: Co
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(addVirtualFolderDto, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -318,11 +316,11 @@ export const LibraryStructureApiAxiosParamCreator = function (configuration?: Co
|
||||
/**
|
||||
*
|
||||
* @summary Update library options.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] The library name and options.
|
||||
* @param {UpdateLibraryOptionsDto} [updateLibraryOptionsDto] The library name and options.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updateLibraryOptions: async (uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
updateLibraryOptions: async (updateLibraryOptionsDto?: UpdateLibraryOptionsDto, options: any = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/Library/VirtualFolders/LibraryOptions`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
@ -345,7 +343,7 @@ export const LibraryStructureApiAxiosParamCreator = function (configuration?: Co
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(updateLibraryOptionsDto, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -355,13 +353,13 @@ export const LibraryStructureApiAxiosParamCreator = function (configuration?: Co
|
||||
/**
|
||||
*
|
||||
* @summary Updates a media path.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The name of the library and path infos.
|
||||
* @param {UpdateMediaPathRequestDto} updateMediaPathRequestDto The name of the library and path infos.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updateMediaPath: async (uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'uNKNOWNBASETYPE' is not null or undefined
|
||||
assertParamExists('updateMediaPath', 'uNKNOWNBASETYPE', uNKNOWNBASETYPE)
|
||||
updateMediaPath: async (updateMediaPathRequestDto: UpdateMediaPathRequestDto, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'updateMediaPathRequestDto' is not null or undefined
|
||||
assertParamExists('updateMediaPath', 'updateMediaPathRequestDto', updateMediaPathRequestDto)
|
||||
const localVarPath = `/Library/VirtualFolders/Paths/Update`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
@ -384,7 +382,7 @@ export const LibraryStructureApiAxiosParamCreator = function (configuration?: Co
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(updateMediaPathRequestDto, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -404,13 +402,13 @@ export const LibraryStructureApiFp = function(configuration?: Configuration) {
|
||||
/**
|
||||
*
|
||||
* @summary Add a media path to a library.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The media path dto.
|
||||
* @param {MediaPathDto} mediaPathDto The media path dto.
|
||||
* @param {boolean} [refreshLibrary] Whether to refresh the library.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async addMediaPath(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, refreshLibrary?: boolean, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.addMediaPath(uNKNOWNBASETYPE, refreshLibrary, options);
|
||||
async addMediaPath(mediaPathDto: MediaPathDto, refreshLibrary?: boolean, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.addMediaPath(mediaPathDto, refreshLibrary, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
@ -420,12 +418,12 @@ export const LibraryStructureApiFp = function(configuration?: Configuration) {
|
||||
* @param {CollectionTypeOptions} [collectionType] The type of the collection.
|
||||
* @param {Array<string>} [paths] The paths of the virtual folder.
|
||||
* @param {boolean} [refreshLibrary] Whether to refresh the library.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] The library options.
|
||||
* @param {AddVirtualFolderDto} [addVirtualFolderDto] The library options.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async addVirtualFolder(name?: string, collectionType?: CollectionTypeOptions, paths?: Array<string>, refreshLibrary?: boolean, uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.addVirtualFolder(name, collectionType, paths, refreshLibrary, uNKNOWNBASETYPE, options);
|
||||
async addVirtualFolder(name?: string, collectionType?: CollectionTypeOptions, paths?: Array<string>, refreshLibrary?: boolean, addVirtualFolderDto?: AddVirtualFolderDto, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.addVirtualFolder(name, collectionType, paths, refreshLibrary, addVirtualFolderDto, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
@ -479,23 +477,23 @@ export const LibraryStructureApiFp = function(configuration?: Configuration) {
|
||||
/**
|
||||
*
|
||||
* @summary Update library options.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] The library name and options.
|
||||
* @param {UpdateLibraryOptionsDto} [updateLibraryOptionsDto] The library name and options.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async updateLibraryOptions(uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.updateLibraryOptions(uNKNOWNBASETYPE, options);
|
||||
async updateLibraryOptions(updateLibraryOptionsDto?: UpdateLibraryOptionsDto, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.updateLibraryOptions(updateLibraryOptionsDto, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Updates a media path.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The name of the library and path infos.
|
||||
* @param {UpdateMediaPathRequestDto} updateMediaPathRequestDto The name of the library and path infos.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async updateMediaPath(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.updateMediaPath(uNKNOWNBASETYPE, options);
|
||||
async updateMediaPath(updateMediaPathRequestDto: UpdateMediaPathRequestDto, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.updateMediaPath(updateMediaPathRequestDto, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
}
|
||||
@ -511,13 +509,13 @@ export const LibraryStructureApiFactory = function (configuration?: Configuratio
|
||||
/**
|
||||
*
|
||||
* @summary Add a media path to a library.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The media path dto.
|
||||
* @param {MediaPathDto} mediaPathDto The media path dto.
|
||||
* @param {boolean} [refreshLibrary] Whether to refresh the library.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
addMediaPath(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, refreshLibrary?: boolean, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.addMediaPath(uNKNOWNBASETYPE, refreshLibrary, options).then((request) => request(axios, basePath));
|
||||
addMediaPath(mediaPathDto: MediaPathDto, refreshLibrary?: boolean, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.addMediaPath(mediaPathDto, refreshLibrary, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
@ -526,12 +524,12 @@ export const LibraryStructureApiFactory = function (configuration?: Configuratio
|
||||
* @param {CollectionTypeOptions} [collectionType] The type of the collection.
|
||||
* @param {Array<string>} [paths] The paths of the virtual folder.
|
||||
* @param {boolean} [refreshLibrary] Whether to refresh the library.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] The library options.
|
||||
* @param {AddVirtualFolderDto} [addVirtualFolderDto] The library options.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
addVirtualFolder(name?: string, collectionType?: CollectionTypeOptions, paths?: Array<string>, refreshLibrary?: boolean, uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.addVirtualFolder(name, collectionType, paths, refreshLibrary, uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
addVirtualFolder(name?: string, collectionType?: CollectionTypeOptions, paths?: Array<string>, refreshLibrary?: boolean, addVirtualFolderDto?: AddVirtualFolderDto, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.addVirtualFolder(name, collectionType, paths, refreshLibrary, addVirtualFolderDto, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
@ -580,22 +578,22 @@ export const LibraryStructureApiFactory = function (configuration?: Configuratio
|
||||
/**
|
||||
*
|
||||
* @summary Update library options.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] The library name and options.
|
||||
* @param {UpdateLibraryOptionsDto} [updateLibraryOptionsDto] The library name and options.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updateLibraryOptions(uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.updateLibraryOptions(uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
updateLibraryOptions(updateLibraryOptionsDto?: UpdateLibraryOptionsDto, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.updateLibraryOptions(updateLibraryOptionsDto, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Updates a media path.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The name of the library and path infos.
|
||||
* @param {UpdateMediaPathRequestDto} updateMediaPathRequestDto The name of the library and path infos.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updateMediaPath(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.updateMediaPath(uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
updateMediaPath(updateMediaPathRequestDto: UpdateMediaPathRequestDto, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.updateMediaPath(updateMediaPathRequestDto, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
};
|
||||
@ -608,10 +606,10 @@ export const LibraryStructureApiFactory = function (configuration?: Configuratio
|
||||
export interface LibraryStructureApiAddMediaPathRequest {
|
||||
/**
|
||||
* The media path dto.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {MediaPathDto}
|
||||
* @memberof LibraryStructureApiAddMediaPath
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE
|
||||
readonly mediaPathDto: MediaPathDto
|
||||
|
||||
/**
|
||||
* Whether to refresh the library.
|
||||
@ -657,10 +655,10 @@ export interface LibraryStructureApiAddVirtualFolderRequest {
|
||||
|
||||
/**
|
||||
* The library options.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {AddVirtualFolderDto}
|
||||
* @memberof LibraryStructureApiAddVirtualFolder
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE
|
||||
readonly addVirtualFolderDto?: AddVirtualFolderDto
|
||||
}
|
||||
|
||||
/**
|
||||
@ -748,10 +746,10 @@ export interface LibraryStructureApiRenameVirtualFolderRequest {
|
||||
export interface LibraryStructureApiUpdateLibraryOptionsRequest {
|
||||
/**
|
||||
* The library name and options.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {UpdateLibraryOptionsDto}
|
||||
* @memberof LibraryStructureApiUpdateLibraryOptions
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE
|
||||
readonly updateLibraryOptionsDto?: UpdateLibraryOptionsDto
|
||||
}
|
||||
|
||||
/**
|
||||
@ -762,10 +760,10 @@ export interface LibraryStructureApiUpdateLibraryOptionsRequest {
|
||||
export interface LibraryStructureApiUpdateMediaPathRequest {
|
||||
/**
|
||||
* The name of the library and path infos.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {UpdateMediaPathRequestDto}
|
||||
* @memberof LibraryStructureApiUpdateMediaPath
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE
|
||||
readonly updateMediaPathRequestDto: UpdateMediaPathRequestDto
|
||||
}
|
||||
|
||||
/**
|
||||
@ -784,7 +782,7 @@ export class LibraryStructureApi extends BaseAPI {
|
||||
* @memberof LibraryStructureApi
|
||||
*/
|
||||
public addMediaPath(requestParameters: LibraryStructureApiAddMediaPathRequest, options?: any) {
|
||||
return LibraryStructureApiFp(this.configuration).addMediaPath(requestParameters.uNKNOWNBASETYPE, requestParameters.refreshLibrary, options).then((request) => request(this.axios, this.basePath));
|
||||
return LibraryStructureApiFp(this.configuration).addMediaPath(requestParameters.mediaPathDto, requestParameters.refreshLibrary, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -796,7 +794,7 @@ export class LibraryStructureApi extends BaseAPI {
|
||||
* @memberof LibraryStructureApi
|
||||
*/
|
||||
public addVirtualFolder(requestParameters: LibraryStructureApiAddVirtualFolderRequest = {}, options?: any) {
|
||||
return LibraryStructureApiFp(this.configuration).addVirtualFolder(requestParameters.name, requestParameters.collectionType, requestParameters.paths, requestParameters.refreshLibrary, requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return LibraryStructureApiFp(this.configuration).addVirtualFolder(requestParameters.name, requestParameters.collectionType, requestParameters.paths, requestParameters.refreshLibrary, requestParameters.addVirtualFolderDto, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -855,7 +853,7 @@ export class LibraryStructureApi extends BaseAPI {
|
||||
* @memberof LibraryStructureApi
|
||||
*/
|
||||
public updateLibraryOptions(requestParameters: LibraryStructureApiUpdateLibraryOptionsRequest = {}, options?: any) {
|
||||
return LibraryStructureApiFp(this.configuration).updateLibraryOptions(requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return LibraryStructureApiFp(this.configuration).updateLibraryOptions(requestParameters.updateLibraryOptionsDto, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -867,6 +865,6 @@ export class LibraryStructureApi extends BaseAPI {
|
||||
* @memberof LibraryStructureApi
|
||||
*/
|
||||
public updateMediaPath(requestParameters: LibraryStructureApiUpdateMediaPathRequest, options?: any) {
|
||||
return LibraryStructureApiFp(this.configuration).updateMediaPath(requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return LibraryStructureApiFp(this.configuration).updateMediaPath(requestParameters.updateMediaPathRequestDto, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
}
|
||||
|
@ -62,8 +62,6 @@ import { TimerInfoDtoQueryResult } from '../models';
|
||||
import { TunerChannelMapping } from '../models';
|
||||
// @ts-ignore
|
||||
import { TunerHostInfo } from '../models';
|
||||
// @ts-ignore
|
||||
import { UNKNOWN_BASE_TYPE } from '../models';
|
||||
/**
|
||||
* LiveTvApi - axios parameter creator
|
||||
* @export
|
||||
@ -76,11 +74,11 @@ export const LiveTvApiAxiosParamCreator = function (configuration?: Configuratio
|
||||
* @param {string} [pw] Password.
|
||||
* @param {boolean} [validateListings] Validate listings.
|
||||
* @param {boolean} [validateLogin] Validate login.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] New listings info.
|
||||
* @param {ListingsProviderInfo} [listingsProviderInfo] New listings info.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
addListingProvider: async (pw?: string, validateListings?: boolean, validateLogin?: boolean, uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
addListingProvider: async (pw?: string, validateListings?: boolean, validateLogin?: boolean, listingsProviderInfo?: ListingsProviderInfo, options: any = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/LiveTv/ListingProviders`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
@ -115,7 +113,7 @@ export const LiveTvApiAxiosParamCreator = function (configuration?: Configuratio
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(listingsProviderInfo, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -125,11 +123,11 @@ export const LiveTvApiAxiosParamCreator = function (configuration?: Configuratio
|
||||
/**
|
||||
*
|
||||
* @summary Adds a tuner host.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] New tuner host.
|
||||
* @param {TunerHostInfo} [tunerHostInfo] New tuner host.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
addTunerHost: async (uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
addTunerHost: async (tunerHostInfo?: TunerHostInfo, options: any = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/LiveTv/TunerHosts`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
@ -152,7 +150,7 @@ export const LiveTvApiAxiosParamCreator = function (configuration?: Configuratio
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(tunerHostInfo, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -236,11 +234,11 @@ export const LiveTvApiAxiosParamCreator = function (configuration?: Configuratio
|
||||
/**
|
||||
*
|
||||
* @summary Creates a live tv series timer.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] New series timer info.
|
||||
* @param {SeriesTimerInfoDto} [seriesTimerInfoDto] New series timer info.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createSeriesTimer: async (uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
createSeriesTimer: async (seriesTimerInfoDto?: SeriesTimerInfoDto, options: any = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/LiveTv/SeriesTimers`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
@ -263,7 +261,7 @@ export const LiveTvApiAxiosParamCreator = function (configuration?: Configuratio
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(seriesTimerInfoDto, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -273,11 +271,11 @@ export const LiveTvApiAxiosParamCreator = function (configuration?: Configuratio
|
||||
/**
|
||||
*
|
||||
* @summary Creates a live tv timer.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] New timer info.
|
||||
* @param {TimerInfoDto} [timerInfoDto] New timer info.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createTimer: async (uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
createTimer: async (timerInfoDto?: TimerInfoDto, options: any = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/LiveTv/Timers`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
@ -300,7 +298,7 @@ export const LiveTvApiAxiosParamCreator = function (configuration?: Configuratio
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(timerInfoDto, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -1197,11 +1195,11 @@ export const LiveTvApiAxiosParamCreator = function (configuration?: Configuratio
|
||||
/**
|
||||
*
|
||||
* @summary Gets available live tv epgs.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] Request body.
|
||||
* @param {GetProgramsDto} [getProgramsDto] Request body.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getPrograms: async (uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
getPrograms: async (getProgramsDto?: GetProgramsDto, options: any = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/LiveTv/Programs`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
@ -1224,7 +1222,7 @@ export const LiveTvApiAxiosParamCreator = function (configuration?: Configuratio
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(getProgramsDto, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -2009,13 +2007,13 @@ export const LiveTvApiAxiosParamCreator = function (configuration?: Configuratio
|
||||
/**
|
||||
*
|
||||
* @summary Set channel mappings.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The set channel mapping dto.
|
||||
* @param {SetChannelMappingDto} setChannelMappingDto The set channel mapping dto.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
setChannelMapping: async (uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'uNKNOWNBASETYPE' is not null or undefined
|
||||
assertParamExists('setChannelMapping', 'uNKNOWNBASETYPE', uNKNOWNBASETYPE)
|
||||
setChannelMapping: async (setChannelMappingDto: SetChannelMappingDto, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'setChannelMappingDto' is not null or undefined
|
||||
assertParamExists('setChannelMapping', 'setChannelMappingDto', setChannelMappingDto)
|
||||
const localVarPath = `/LiveTv/ChannelMappings`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
@ -2038,7 +2036,7 @@ export const LiveTvApiAxiosParamCreator = function (configuration?: Configuratio
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(setChannelMappingDto, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -2049,11 +2047,11 @@ export const LiveTvApiAxiosParamCreator = function (configuration?: Configuratio
|
||||
*
|
||||
* @summary Updates a live tv series timer.
|
||||
* @param {string} timerId Timer id.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] New series timer info.
|
||||
* @param {SeriesTimerInfoDto} [seriesTimerInfoDto] New series timer info.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updateSeriesTimer: async (timerId: string, uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
updateSeriesTimer: async (timerId: string, seriesTimerInfoDto?: SeriesTimerInfoDto, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'timerId' is not null or undefined
|
||||
assertParamExists('updateSeriesTimer', 'timerId', timerId)
|
||||
const localVarPath = `/LiveTv/SeriesTimers/{timerId}`
|
||||
@ -2079,7 +2077,7 @@ export const LiveTvApiAxiosParamCreator = function (configuration?: Configuratio
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(seriesTimerInfoDto, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -2090,11 +2088,11 @@ export const LiveTvApiAxiosParamCreator = function (configuration?: Configuratio
|
||||
*
|
||||
* @summary Updates a live tv timer.
|
||||
* @param {string} timerId Timer id.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] New timer info.
|
||||
* @param {TimerInfoDto} [timerInfoDto] New timer info.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updateTimer: async (timerId: string, uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
updateTimer: async (timerId: string, timerInfoDto?: TimerInfoDto, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'timerId' is not null or undefined
|
||||
assertParamExists('updateTimer', 'timerId', timerId)
|
||||
const localVarPath = `/LiveTv/Timers/{timerId}`
|
||||
@ -2120,7 +2118,7 @@ export const LiveTvApiAxiosParamCreator = function (configuration?: Configuratio
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(timerInfoDto, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -2143,23 +2141,23 @@ export const LiveTvApiFp = function(configuration?: Configuration) {
|
||||
* @param {string} [pw] Password.
|
||||
* @param {boolean} [validateListings] Validate listings.
|
||||
* @param {boolean} [validateLogin] Validate login.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] New listings info.
|
||||
* @param {ListingsProviderInfo} [listingsProviderInfo] New listings info.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async addListingProvider(pw?: string, validateListings?: boolean, validateLogin?: boolean, uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListingsProviderInfo>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.addListingProvider(pw, validateListings, validateLogin, uNKNOWNBASETYPE, options);
|
||||
async addListingProvider(pw?: string, validateListings?: boolean, validateLogin?: boolean, listingsProviderInfo?: ListingsProviderInfo, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListingsProviderInfo>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.addListingProvider(pw, validateListings, validateLogin, listingsProviderInfo, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Adds a tuner host.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] New tuner host.
|
||||
* @param {TunerHostInfo} [tunerHostInfo] New tuner host.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async addTunerHost(uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TunerHostInfo>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.addTunerHost(uNKNOWNBASETYPE, options);
|
||||
async addTunerHost(tunerHostInfo?: TunerHostInfo, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TunerHostInfo>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.addTunerHost(tunerHostInfo, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
@ -2187,23 +2185,23 @@ export const LiveTvApiFp = function(configuration?: Configuration) {
|
||||
/**
|
||||
*
|
||||
* @summary Creates a live tv series timer.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] New series timer info.
|
||||
* @param {SeriesTimerInfoDto} [seriesTimerInfoDto] New series timer info.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async createSeriesTimer(uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.createSeriesTimer(uNKNOWNBASETYPE, options);
|
||||
async createSeriesTimer(seriesTimerInfoDto?: SeriesTimerInfoDto, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.createSeriesTimer(seriesTimerInfoDto, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Creates a live tv timer.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] New timer info.
|
||||
* @param {TimerInfoDto} [timerInfoDto] New timer info.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async createTimer(uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.createTimer(uNKNOWNBASETYPE, options);
|
||||
async createTimer(timerInfoDto?: TimerInfoDto, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.createTimer(timerInfoDto, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
@ -2445,12 +2443,12 @@ export const LiveTvApiFp = function(configuration?: Configuration) {
|
||||
/**
|
||||
*
|
||||
* @summary Gets available live tv epgs.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] Request body.
|
||||
* @param {GetProgramsDto} [getProgramsDto] Request body.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async getPrograms(uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getPrograms(uNKNOWNBASETYPE, options);
|
||||
async getPrograms(getProgramsDto?: GetProgramsDto, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getPrograms(getProgramsDto, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
@ -2662,36 +2660,36 @@ export const LiveTvApiFp = function(configuration?: Configuration) {
|
||||
/**
|
||||
*
|
||||
* @summary Set channel mappings.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The set channel mapping dto.
|
||||
* @param {SetChannelMappingDto} setChannelMappingDto The set channel mapping dto.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async setChannelMapping(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TunerChannelMapping>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.setChannelMapping(uNKNOWNBASETYPE, options);
|
||||
async setChannelMapping(setChannelMappingDto: SetChannelMappingDto, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TunerChannelMapping>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.setChannelMapping(setChannelMappingDto, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Updates a live tv series timer.
|
||||
* @param {string} timerId Timer id.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] New series timer info.
|
||||
* @param {SeriesTimerInfoDto} [seriesTimerInfoDto] New series timer info.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async updateSeriesTimer(timerId: string, uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.updateSeriesTimer(timerId, uNKNOWNBASETYPE, options);
|
||||
async updateSeriesTimer(timerId: string, seriesTimerInfoDto?: SeriesTimerInfoDto, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.updateSeriesTimer(timerId, seriesTimerInfoDto, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Updates a live tv timer.
|
||||
* @param {string} timerId Timer id.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] New timer info.
|
||||
* @param {TimerInfoDto} [timerInfoDto] New timer info.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async updateTimer(timerId: string, uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.updateTimer(timerId, uNKNOWNBASETYPE, options);
|
||||
async updateTimer(timerId: string, timerInfoDto?: TimerInfoDto, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.updateTimer(timerId, timerInfoDto, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
}
|
||||
@ -2710,22 +2708,22 @@ export const LiveTvApiFactory = function (configuration?: Configuration, basePat
|
||||
* @param {string} [pw] Password.
|
||||
* @param {boolean} [validateListings] Validate listings.
|
||||
* @param {boolean} [validateLogin] Validate login.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] New listings info.
|
||||
* @param {ListingsProviderInfo} [listingsProviderInfo] New listings info.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
addListingProvider(pw?: string, validateListings?: boolean, validateLogin?: boolean, uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<ListingsProviderInfo> {
|
||||
return localVarFp.addListingProvider(pw, validateListings, validateLogin, uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
addListingProvider(pw?: string, validateListings?: boolean, validateLogin?: boolean, listingsProviderInfo?: ListingsProviderInfo, options?: any): AxiosPromise<ListingsProviderInfo> {
|
||||
return localVarFp.addListingProvider(pw, validateListings, validateLogin, listingsProviderInfo, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Adds a tuner host.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] New tuner host.
|
||||
* @param {TunerHostInfo} [tunerHostInfo] New tuner host.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
addTunerHost(uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<TunerHostInfo> {
|
||||
return localVarFp.addTunerHost(uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
addTunerHost(tunerHostInfo?: TunerHostInfo, options?: any): AxiosPromise<TunerHostInfo> {
|
||||
return localVarFp.addTunerHost(tunerHostInfo, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
@ -2750,22 +2748,22 @@ export const LiveTvApiFactory = function (configuration?: Configuration, basePat
|
||||
/**
|
||||
*
|
||||
* @summary Creates a live tv series timer.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] New series timer info.
|
||||
* @param {SeriesTimerInfoDto} [seriesTimerInfoDto] New series timer info.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createSeriesTimer(uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.createSeriesTimer(uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
createSeriesTimer(seriesTimerInfoDto?: SeriesTimerInfoDto, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.createSeriesTimer(seriesTimerInfoDto, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Creates a live tv timer.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] New timer info.
|
||||
* @param {TimerInfoDto} [timerInfoDto] New timer info.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createTimer(uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.createTimer(uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
createTimer(timerInfoDto?: TimerInfoDto, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.createTimer(timerInfoDto, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
@ -2989,12 +2987,12 @@ export const LiveTvApiFactory = function (configuration?: Configuration, basePat
|
||||
/**
|
||||
*
|
||||
* @summary Gets available live tv epgs.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] Request body.
|
||||
* @param {GetProgramsDto} [getProgramsDto] Request body.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getPrograms(uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<BaseItemDtoQueryResult> {
|
||||
return localVarFp.getPrograms(uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
getPrograms(getProgramsDto?: GetProgramsDto, options?: any): AxiosPromise<BaseItemDtoQueryResult> {
|
||||
return localVarFp.getPrograms(getProgramsDto, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
@ -3191,34 +3189,34 @@ export const LiveTvApiFactory = function (configuration?: Configuration, basePat
|
||||
/**
|
||||
*
|
||||
* @summary Set channel mappings.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The set channel mapping dto.
|
||||
* @param {SetChannelMappingDto} setChannelMappingDto The set channel mapping dto.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
setChannelMapping(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<TunerChannelMapping> {
|
||||
return localVarFp.setChannelMapping(uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
setChannelMapping(setChannelMappingDto: SetChannelMappingDto, options?: any): AxiosPromise<TunerChannelMapping> {
|
||||
return localVarFp.setChannelMapping(setChannelMappingDto, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Updates a live tv series timer.
|
||||
* @param {string} timerId Timer id.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] New series timer info.
|
||||
* @param {SeriesTimerInfoDto} [seriesTimerInfoDto] New series timer info.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updateSeriesTimer(timerId: string, uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.updateSeriesTimer(timerId, uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
updateSeriesTimer(timerId: string, seriesTimerInfoDto?: SeriesTimerInfoDto, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.updateSeriesTimer(timerId, seriesTimerInfoDto, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Updates a live tv timer.
|
||||
* @param {string} timerId Timer id.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] New timer info.
|
||||
* @param {TimerInfoDto} [timerInfoDto] New timer info.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updateTimer(timerId: string, uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.updateTimer(timerId, uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
updateTimer(timerId: string, timerInfoDto?: TimerInfoDto, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.updateTimer(timerId, timerInfoDto, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
};
|
||||
@ -3252,10 +3250,10 @@ export interface LiveTvApiAddListingProviderRequest {
|
||||
|
||||
/**
|
||||
* New listings info.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {ListingsProviderInfo}
|
||||
* @memberof LiveTvApiAddListingProvider
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE
|
||||
readonly listingsProviderInfo?: ListingsProviderInfo
|
||||
}
|
||||
|
||||
/**
|
||||
@ -3266,10 +3264,10 @@ export interface LiveTvApiAddListingProviderRequest {
|
||||
export interface LiveTvApiAddTunerHostRequest {
|
||||
/**
|
||||
* New tuner host.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {TunerHostInfo}
|
||||
* @memberof LiveTvApiAddTunerHost
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE
|
||||
readonly tunerHostInfo?: TunerHostInfo
|
||||
}
|
||||
|
||||
/**
|
||||
@ -3308,10 +3306,10 @@ export interface LiveTvApiCancelTimerRequest {
|
||||
export interface LiveTvApiCreateSeriesTimerRequest {
|
||||
/**
|
||||
* New series timer info.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {SeriesTimerInfoDto}
|
||||
* @memberof LiveTvApiCreateSeriesTimer
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE
|
||||
readonly seriesTimerInfoDto?: SeriesTimerInfoDto
|
||||
}
|
||||
|
||||
/**
|
||||
@ -3322,10 +3320,10 @@ export interface LiveTvApiCreateSeriesTimerRequest {
|
||||
export interface LiveTvApiCreateTimerRequest {
|
||||
/**
|
||||
* New timer info.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {TimerInfoDto}
|
||||
* @memberof LiveTvApiCreateTimer
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE
|
||||
readonly timerInfoDto?: TimerInfoDto
|
||||
}
|
||||
|
||||
/**
|
||||
@ -3896,10 +3894,10 @@ export interface LiveTvApiGetProgramRequest {
|
||||
export interface LiveTvApiGetProgramsRequest {
|
||||
/**
|
||||
* Request body.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {GetProgramsDto}
|
||||
* @memberof LiveTvApiGetPrograms
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE
|
||||
readonly getProgramsDto?: GetProgramsDto
|
||||
}
|
||||
|
||||
/**
|
||||
@ -4435,10 +4433,10 @@ export interface LiveTvApiResetTunerRequest {
|
||||
export interface LiveTvApiSetChannelMappingRequest {
|
||||
/**
|
||||
* The set channel mapping dto.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {SetChannelMappingDto}
|
||||
* @memberof LiveTvApiSetChannelMapping
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE
|
||||
readonly setChannelMappingDto: SetChannelMappingDto
|
||||
}
|
||||
|
||||
/**
|
||||
@ -4456,10 +4454,10 @@ export interface LiveTvApiUpdateSeriesTimerRequest {
|
||||
|
||||
/**
|
||||
* New series timer info.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {SeriesTimerInfoDto}
|
||||
* @memberof LiveTvApiUpdateSeriesTimer
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE
|
||||
readonly seriesTimerInfoDto?: SeriesTimerInfoDto
|
||||
}
|
||||
|
||||
/**
|
||||
@ -4477,10 +4475,10 @@ export interface LiveTvApiUpdateTimerRequest {
|
||||
|
||||
/**
|
||||
* New timer info.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {TimerInfoDto}
|
||||
* @memberof LiveTvApiUpdateTimer
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE
|
||||
readonly timerInfoDto?: TimerInfoDto
|
||||
}
|
||||
|
||||
/**
|
||||
@ -4499,7 +4497,7 @@ export class LiveTvApi extends BaseAPI {
|
||||
* @memberof LiveTvApi
|
||||
*/
|
||||
public addListingProvider(requestParameters: LiveTvApiAddListingProviderRequest = {}, options?: any) {
|
||||
return LiveTvApiFp(this.configuration).addListingProvider(requestParameters.pw, requestParameters.validateListings, requestParameters.validateLogin, requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return LiveTvApiFp(this.configuration).addListingProvider(requestParameters.pw, requestParameters.validateListings, requestParameters.validateLogin, requestParameters.listingsProviderInfo, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -4511,7 +4509,7 @@ export class LiveTvApi extends BaseAPI {
|
||||
* @memberof LiveTvApi
|
||||
*/
|
||||
public addTunerHost(requestParameters: LiveTvApiAddTunerHostRequest = {}, options?: any) {
|
||||
return LiveTvApiFp(this.configuration).addTunerHost(requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return LiveTvApiFp(this.configuration).addTunerHost(requestParameters.tunerHostInfo, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -4547,7 +4545,7 @@ export class LiveTvApi extends BaseAPI {
|
||||
* @memberof LiveTvApi
|
||||
*/
|
||||
public createSeriesTimer(requestParameters: LiveTvApiCreateSeriesTimerRequest = {}, options?: any) {
|
||||
return LiveTvApiFp(this.configuration).createSeriesTimer(requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return LiveTvApiFp(this.configuration).createSeriesTimer(requestParameters.seriesTimerInfoDto, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -4559,7 +4557,7 @@ export class LiveTvApi extends BaseAPI {
|
||||
* @memberof LiveTvApi
|
||||
*/
|
||||
public createTimer(requestParameters: LiveTvApiCreateTimerRequest = {}, options?: any) {
|
||||
return LiveTvApiFp(this.configuration).createTimer(requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return LiveTvApiFp(this.configuration).createTimer(requestParameters.timerInfoDto, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -4772,7 +4770,7 @@ export class LiveTvApi extends BaseAPI {
|
||||
* @memberof LiveTvApi
|
||||
*/
|
||||
public getPrograms(requestParameters: LiveTvApiGetProgramsRequest = {}, options?: any) {
|
||||
return LiveTvApiFp(this.configuration).getPrograms(requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return LiveTvApiFp(this.configuration).getPrograms(requestParameters.getProgramsDto, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -4953,7 +4951,7 @@ export class LiveTvApi extends BaseAPI {
|
||||
* @memberof LiveTvApi
|
||||
*/
|
||||
public setChannelMapping(requestParameters: LiveTvApiSetChannelMappingRequest, options?: any) {
|
||||
return LiveTvApiFp(this.configuration).setChannelMapping(requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return LiveTvApiFp(this.configuration).setChannelMapping(requestParameters.setChannelMappingDto, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -4965,7 +4963,7 @@ export class LiveTvApi extends BaseAPI {
|
||||
* @memberof LiveTvApi
|
||||
*/
|
||||
public updateSeriesTimer(requestParameters: LiveTvApiUpdateSeriesTimerRequest, options?: any) {
|
||||
return LiveTvApiFp(this.configuration).updateSeriesTimer(requestParameters.timerId, requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return LiveTvApiFp(this.configuration).updateSeriesTimer(requestParameters.timerId, requestParameters.seriesTimerInfoDto, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -4977,6 +4975,6 @@ export class LiveTvApi extends BaseAPI {
|
||||
* @memberof LiveTvApi
|
||||
*/
|
||||
public updateTimer(requestParameters: LiveTvApiUpdateTimerRequest, options?: any) {
|
||||
return LiveTvApiFp(this.configuration).updateTimer(requestParameters.timerId, requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return LiveTvApiFp(this.configuration).updateTimer(requestParameters.timerId, requestParameters.timerInfoDto, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
}
|
||||
|
@ -30,8 +30,6 @@ import { PlaybackInfoDto } from '../models';
|
||||
import { PlaybackInfoResponse } from '../models';
|
||||
// @ts-ignore
|
||||
import { ProblemDetails } from '../models';
|
||||
// @ts-ignore
|
||||
import { UNKNOWN_BASE_TYPE } from '../models';
|
||||
/**
|
||||
* MediaInfoApi - axios parameter creator
|
||||
* @export
|
||||
@ -178,11 +176,11 @@ export const MediaInfoApiAxiosParamCreator = function (configuration?: Configura
|
||||
* @param {boolean} [enableTranscoding] Whether to enable transcoding. Default: true.
|
||||
* @param {boolean} [allowVideoStreamCopy] Whether to allow to copy the video stream. Default: true.
|
||||
* @param {boolean} [allowAudioStreamCopy] Whether to allow to copy the audio stream. Default: true.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] The playback info.
|
||||
* @param {PlaybackInfoDto} [playbackInfoDto] The playback info.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getPostedPlaybackInfo: async (itemId: string, userId?: string, maxStreamingBitrate?: number, startTimeTicks?: number, audioStreamIndex?: number, subtitleStreamIndex?: number, maxAudioChannels?: number, mediaSourceId?: string, liveStreamId?: string, autoOpenLiveStream?: boolean, enableDirectPlay?: boolean, enableDirectStream?: boolean, enableTranscoding?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
getPostedPlaybackInfo: async (itemId: string, userId?: string, maxStreamingBitrate?: number, startTimeTicks?: number, audioStreamIndex?: number, subtitleStreamIndex?: number, maxAudioChannels?: number, mediaSourceId?: string, liveStreamId?: string, autoOpenLiveStream?: boolean, enableDirectPlay?: boolean, enableDirectStream?: boolean, enableTranscoding?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, playbackInfoDto?: PlaybackInfoDto, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'itemId' is not null or undefined
|
||||
assertParamExists('getPostedPlaybackInfo', 'itemId', itemId)
|
||||
const localVarPath = `/Items/{itemId}/PlaybackInfo`
|
||||
@ -264,7 +262,7 @@ export const MediaInfoApiAxiosParamCreator = function (configuration?: Configura
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(playbackInfoDto, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -285,11 +283,11 @@ export const MediaInfoApiAxiosParamCreator = function (configuration?: Configura
|
||||
* @param {string} [itemId] The item id.
|
||||
* @param {boolean} [enableDirectPlay] Whether to enable direct play. Default: true.
|
||||
* @param {boolean} [enableDirectStream] Whether to enable direct stream. Default: true.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] The open live stream dto.
|
||||
* @param {OpenLiveStreamDto} [openLiveStreamDto] The open live stream dto.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
openLiveStream: async (openToken?: string, userId?: string, playSessionId?: string, maxStreamingBitrate?: number, startTimeTicks?: number, audioStreamIndex?: number, subtitleStreamIndex?: number, maxAudioChannels?: number, itemId?: string, enableDirectPlay?: boolean, enableDirectStream?: boolean, uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
openLiveStream: async (openToken?: string, userId?: string, playSessionId?: string, maxStreamingBitrate?: number, startTimeTicks?: number, audioStreamIndex?: number, subtitleStreamIndex?: number, maxAudioChannels?: number, itemId?: string, enableDirectPlay?: boolean, enableDirectStream?: boolean, openLiveStreamDto?: OpenLiveStreamDto, options: any = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/LiveStreams/Open`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
@ -356,7 +354,7 @@ export const MediaInfoApiAxiosParamCreator = function (configuration?: Configura
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(openLiveStreamDto, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -425,12 +423,12 @@ export const MediaInfoApiFp = function(configuration?: Configuration) {
|
||||
* @param {boolean} [enableTranscoding] Whether to enable transcoding. Default: true.
|
||||
* @param {boolean} [allowVideoStreamCopy] Whether to allow to copy the video stream. Default: true.
|
||||
* @param {boolean} [allowAudioStreamCopy] Whether to allow to copy the audio stream. Default: true.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] The playback info.
|
||||
* @param {PlaybackInfoDto} [playbackInfoDto] The playback info.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async getPostedPlaybackInfo(itemId: string, userId?: string, maxStreamingBitrate?: number, startTimeTicks?: number, audioStreamIndex?: number, subtitleStreamIndex?: number, maxAudioChannels?: number, mediaSourceId?: string, liveStreamId?: string, autoOpenLiveStream?: boolean, enableDirectPlay?: boolean, enableDirectStream?: boolean, enableTranscoding?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlaybackInfoResponse>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getPostedPlaybackInfo(itemId, userId, maxStreamingBitrate, startTimeTicks, audioStreamIndex, subtitleStreamIndex, maxAudioChannels, mediaSourceId, liveStreamId, autoOpenLiveStream, enableDirectPlay, enableDirectStream, enableTranscoding, allowVideoStreamCopy, allowAudioStreamCopy, uNKNOWNBASETYPE, options);
|
||||
async getPostedPlaybackInfo(itemId: string, userId?: string, maxStreamingBitrate?: number, startTimeTicks?: number, audioStreamIndex?: number, subtitleStreamIndex?: number, maxAudioChannels?: number, mediaSourceId?: string, liveStreamId?: string, autoOpenLiveStream?: boolean, enableDirectPlay?: boolean, enableDirectStream?: boolean, enableTranscoding?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, playbackInfoDto?: PlaybackInfoDto, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlaybackInfoResponse>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getPostedPlaybackInfo(itemId, userId, maxStreamingBitrate, startTimeTicks, audioStreamIndex, subtitleStreamIndex, maxAudioChannels, mediaSourceId, liveStreamId, autoOpenLiveStream, enableDirectPlay, enableDirectStream, enableTranscoding, allowVideoStreamCopy, allowAudioStreamCopy, playbackInfoDto, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
@ -447,12 +445,12 @@ export const MediaInfoApiFp = function(configuration?: Configuration) {
|
||||
* @param {string} [itemId] The item id.
|
||||
* @param {boolean} [enableDirectPlay] Whether to enable direct play. Default: true.
|
||||
* @param {boolean} [enableDirectStream] Whether to enable direct stream. Default: true.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] The open live stream dto.
|
||||
* @param {OpenLiveStreamDto} [openLiveStreamDto] The open live stream dto.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async openLiveStream(openToken?: string, userId?: string, playSessionId?: string, maxStreamingBitrate?: number, startTimeTicks?: number, audioStreamIndex?: number, subtitleStreamIndex?: number, maxAudioChannels?: number, itemId?: string, enableDirectPlay?: boolean, enableDirectStream?: boolean, uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LiveStreamResponse>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.openLiveStream(openToken, userId, playSessionId, maxStreamingBitrate, startTimeTicks, audioStreamIndex, subtitleStreamIndex, maxAudioChannels, itemId, enableDirectPlay, enableDirectStream, uNKNOWNBASETYPE, options);
|
||||
async openLiveStream(openToken?: string, userId?: string, playSessionId?: string, maxStreamingBitrate?: number, startTimeTicks?: number, audioStreamIndex?: number, subtitleStreamIndex?: number, maxAudioChannels?: number, itemId?: string, enableDirectPlay?: boolean, enableDirectStream?: boolean, openLiveStreamDto?: OpenLiveStreamDto, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LiveStreamResponse>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.openLiveStream(openToken, userId, playSessionId, maxStreamingBitrate, startTimeTicks, audioStreamIndex, subtitleStreamIndex, maxAudioChannels, itemId, enableDirectPlay, enableDirectStream, openLiveStreamDto, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
}
|
||||
@ -514,12 +512,12 @@ export const MediaInfoApiFactory = function (configuration?: Configuration, base
|
||||
* @param {boolean} [enableTranscoding] Whether to enable transcoding. Default: true.
|
||||
* @param {boolean} [allowVideoStreamCopy] Whether to allow to copy the video stream. Default: true.
|
||||
* @param {boolean} [allowAudioStreamCopy] Whether to allow to copy the audio stream. Default: true.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] The playback info.
|
||||
* @param {PlaybackInfoDto} [playbackInfoDto] The playback info.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getPostedPlaybackInfo(itemId: string, userId?: string, maxStreamingBitrate?: number, startTimeTicks?: number, audioStreamIndex?: number, subtitleStreamIndex?: number, maxAudioChannels?: number, mediaSourceId?: string, liveStreamId?: string, autoOpenLiveStream?: boolean, enableDirectPlay?: boolean, enableDirectStream?: boolean, enableTranscoding?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<PlaybackInfoResponse> {
|
||||
return localVarFp.getPostedPlaybackInfo(itemId, userId, maxStreamingBitrate, startTimeTicks, audioStreamIndex, subtitleStreamIndex, maxAudioChannels, mediaSourceId, liveStreamId, autoOpenLiveStream, enableDirectPlay, enableDirectStream, enableTranscoding, allowVideoStreamCopy, allowAudioStreamCopy, uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
getPostedPlaybackInfo(itemId: string, userId?: string, maxStreamingBitrate?: number, startTimeTicks?: number, audioStreamIndex?: number, subtitleStreamIndex?: number, maxAudioChannels?: number, mediaSourceId?: string, liveStreamId?: string, autoOpenLiveStream?: boolean, enableDirectPlay?: boolean, enableDirectStream?: boolean, enableTranscoding?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, playbackInfoDto?: PlaybackInfoDto, options?: any): AxiosPromise<PlaybackInfoResponse> {
|
||||
return localVarFp.getPostedPlaybackInfo(itemId, userId, maxStreamingBitrate, startTimeTicks, audioStreamIndex, subtitleStreamIndex, maxAudioChannels, mediaSourceId, liveStreamId, autoOpenLiveStream, enableDirectPlay, enableDirectStream, enableTranscoding, allowVideoStreamCopy, allowAudioStreamCopy, playbackInfoDto, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
@ -535,12 +533,12 @@ export const MediaInfoApiFactory = function (configuration?: Configuration, base
|
||||
* @param {string} [itemId] The item id.
|
||||
* @param {boolean} [enableDirectPlay] Whether to enable direct play. Default: true.
|
||||
* @param {boolean} [enableDirectStream] Whether to enable direct stream. Default: true.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] The open live stream dto.
|
||||
* @param {OpenLiveStreamDto} [openLiveStreamDto] The open live stream dto.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
openLiveStream(openToken?: string, userId?: string, playSessionId?: string, maxStreamingBitrate?: number, startTimeTicks?: number, audioStreamIndex?: number, subtitleStreamIndex?: number, maxAudioChannels?: number, itemId?: string, enableDirectPlay?: boolean, enableDirectStream?: boolean, uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<LiveStreamResponse> {
|
||||
return localVarFp.openLiveStream(openToken, userId, playSessionId, maxStreamingBitrate, startTimeTicks, audioStreamIndex, subtitleStreamIndex, maxAudioChannels, itemId, enableDirectPlay, enableDirectStream, uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
openLiveStream(openToken?: string, userId?: string, playSessionId?: string, maxStreamingBitrate?: number, startTimeTicks?: number, audioStreamIndex?: number, subtitleStreamIndex?: number, maxAudioChannels?: number, itemId?: string, enableDirectPlay?: boolean, enableDirectStream?: boolean, openLiveStreamDto?: OpenLiveStreamDto, options?: any): AxiosPromise<LiveStreamResponse> {
|
||||
return localVarFp.openLiveStream(openToken, userId, playSessionId, maxStreamingBitrate, startTimeTicks, audioStreamIndex, subtitleStreamIndex, maxAudioChannels, itemId, enableDirectPlay, enableDirectStream, openLiveStreamDto, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
};
|
||||
@ -707,10 +705,10 @@ export interface MediaInfoApiGetPostedPlaybackInfoRequest {
|
||||
|
||||
/**
|
||||
* The playback info.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {PlaybackInfoDto}
|
||||
* @memberof MediaInfoApiGetPostedPlaybackInfo
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE
|
||||
readonly playbackInfoDto?: PlaybackInfoDto
|
||||
}
|
||||
|
||||
/**
|
||||
@ -798,10 +796,10 @@ export interface MediaInfoApiOpenLiveStreamRequest {
|
||||
|
||||
/**
|
||||
* The open live stream dto.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {OpenLiveStreamDto}
|
||||
* @memberof MediaInfoApiOpenLiveStream
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE
|
||||
readonly openLiveStreamDto?: OpenLiveStreamDto
|
||||
}
|
||||
|
||||
/**
|
||||
@ -856,7 +854,7 @@ export class MediaInfoApi extends BaseAPI {
|
||||
* @memberof MediaInfoApi
|
||||
*/
|
||||
public getPostedPlaybackInfo(requestParameters: MediaInfoApiGetPostedPlaybackInfoRequest, options?: any) {
|
||||
return MediaInfoApiFp(this.configuration).getPostedPlaybackInfo(requestParameters.itemId, requestParameters.userId, requestParameters.maxStreamingBitrate, requestParameters.startTimeTicks, requestParameters.audioStreamIndex, requestParameters.subtitleStreamIndex, requestParameters.maxAudioChannels, requestParameters.mediaSourceId, requestParameters.liveStreamId, requestParameters.autoOpenLiveStream, requestParameters.enableDirectPlay, requestParameters.enableDirectStream, requestParameters.enableTranscoding, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return MediaInfoApiFp(this.configuration).getPostedPlaybackInfo(requestParameters.itemId, requestParameters.userId, requestParameters.maxStreamingBitrate, requestParameters.startTimeTicks, requestParameters.audioStreamIndex, requestParameters.subtitleStreamIndex, requestParameters.maxAudioChannels, requestParameters.mediaSourceId, requestParameters.liveStreamId, requestParameters.autoOpenLiveStream, requestParameters.enableDirectPlay, requestParameters.enableDirectStream, requestParameters.enableTranscoding, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.playbackInfoDto, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -868,6 +866,6 @@ export class MediaInfoApi extends BaseAPI {
|
||||
* @memberof MediaInfoApi
|
||||
*/
|
||||
public openLiveStream(requestParameters: MediaInfoApiOpenLiveStreamRequest = {}, options?: any) {
|
||||
return MediaInfoApiFp(this.configuration).openLiveStream(requestParameters.openToken, requestParameters.userId, requestParameters.playSessionId, requestParameters.maxStreamingBitrate, requestParameters.startTimeTicks, requestParameters.audioStreamIndex, requestParameters.subtitleStreamIndex, requestParameters.maxAudioChannels, requestParameters.itemId, requestParameters.enableDirectPlay, requestParameters.enableDirectStream, requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return MediaInfoApiFp(this.configuration).openLiveStream(requestParameters.openToken, requestParameters.userId, requestParameters.playSessionId, requestParameters.maxStreamingBitrate, requestParameters.startTimeTicks, requestParameters.audioStreamIndex, requestParameters.subtitleStreamIndex, requestParameters.maxAudioChannels, requestParameters.itemId, requestParameters.enableDirectPlay, requestParameters.enableDirectStream, requestParameters.openLiveStreamDto, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
}
|
||||
|
@ -30,8 +30,6 @@ import { NotificationResultDto } from '../models';
|
||||
import { NotificationTypeInfo } from '../models';
|
||||
// @ts-ignore
|
||||
import { NotificationsSummaryDto } from '../models';
|
||||
// @ts-ignore
|
||||
import { UNKNOWN_BASE_TYPE } from '../models';
|
||||
/**
|
||||
* NotificationsApi - axios parameter creator
|
||||
* @export
|
||||
@ -41,13 +39,13 @@ export const NotificationsApiAxiosParamCreator = function (configuration?: Confi
|
||||
/**
|
||||
*
|
||||
* @summary Sends a notification to all admins.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The notification request.
|
||||
* @param {AdminNotificationDto} adminNotificationDto The notification request.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createAdminNotification: async (uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'uNKNOWNBASETYPE' is not null or undefined
|
||||
assertParamExists('createAdminNotification', 'uNKNOWNBASETYPE', uNKNOWNBASETYPE)
|
||||
createAdminNotification: async (adminNotificationDto: AdminNotificationDto, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'adminNotificationDto' is not null or undefined
|
||||
assertParamExists('createAdminNotification', 'adminNotificationDto', adminNotificationDto)
|
||||
const localVarPath = `/Notifications/Admin`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
@ -70,7 +68,7 @@ export const NotificationsApiAxiosParamCreator = function (configuration?: Confi
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(adminNotificationDto, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -304,12 +302,12 @@ export const NotificationsApiFp = function(configuration?: Configuration) {
|
||||
/**
|
||||
*
|
||||
* @summary Sends a notification to all admins.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The notification request.
|
||||
* @param {AdminNotificationDto} adminNotificationDto The notification request.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async createAdminNotification(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.createAdminNotification(uNKNOWNBASETYPE, options);
|
||||
async createAdminNotification(adminNotificationDto: AdminNotificationDto, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.createAdminNotification(adminNotificationDto, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
@ -389,12 +387,12 @@ export const NotificationsApiFactory = function (configuration?: Configuration,
|
||||
/**
|
||||
*
|
||||
* @summary Sends a notification to all admins.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The notification request.
|
||||
* @param {AdminNotificationDto} adminNotificationDto The notification request.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createAdminNotification(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.createAdminNotification(uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
createAdminNotification(adminNotificationDto: AdminNotificationDto, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.createAdminNotification(adminNotificationDto, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
@ -465,10 +463,10 @@ export const NotificationsApiFactory = function (configuration?: Configuration,
|
||||
export interface NotificationsApiCreateAdminNotificationRequest {
|
||||
/**
|
||||
* The notification request.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {AdminNotificationDto}
|
||||
* @memberof NotificationsApiCreateAdminNotification
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE
|
||||
readonly adminNotificationDto: AdminNotificationDto
|
||||
}
|
||||
|
||||
/**
|
||||
@ -543,7 +541,7 @@ export class NotificationsApi extends BaseAPI {
|
||||
* @memberof NotificationsApi
|
||||
*/
|
||||
public createAdminNotification(requestParameters: NotificationsApiCreateAdminNotificationRequest, options?: any) {
|
||||
return NotificationsApiFp(this.configuration).createAdminNotification(requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return NotificationsApiFp(this.configuration).createAdminNotification(requestParameters.adminNotificationDto, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -30,8 +30,6 @@ import { ImageType } from '../models';
|
||||
import { ItemFields } from '../models';
|
||||
// @ts-ignore
|
||||
import { PlaylistCreationResult } from '../models';
|
||||
// @ts-ignore
|
||||
import { UNKNOWN_BASE_TYPE } from '../models';
|
||||
/**
|
||||
* PlaylistsApi - axios parameter creator
|
||||
* @export
|
||||
@ -92,11 +90,11 @@ export const PlaylistsApiAxiosParamCreator = function (configuration?: Configura
|
||||
* @param {Array<string>} [ids] The item ids.
|
||||
* @param {string} [userId] The user id.
|
||||
* @param {string} [mediaType] The media type.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] The create playlist payload.
|
||||
* @param {CreatePlaylistDto} [createPlaylistDto] The create playlist payload.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createPlaylist: async (name?: string, ids?: Array<string>, userId?: string, mediaType?: string, uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
createPlaylist: async (name?: string, ids?: Array<string>, userId?: string, mediaType?: string, createPlaylistDto?: CreatePlaylistDto, options: any = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/Playlists`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
@ -135,7 +133,7 @@ export const PlaylistsApiAxiosParamCreator = function (configuration?: Configura
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(createPlaylistDto, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -338,12 +336,12 @@ export const PlaylistsApiFp = function(configuration?: Configuration) {
|
||||
* @param {Array<string>} [ids] The item ids.
|
||||
* @param {string} [userId] The user id.
|
||||
* @param {string} [mediaType] The media type.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] The create playlist payload.
|
||||
* @param {CreatePlaylistDto} [createPlaylistDto] The create playlist payload.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async createPlaylist(name?: string, ids?: Array<string>, userId?: string, mediaType?: string, uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlaylistCreationResult>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.createPlaylist(name, ids, userId, mediaType, uNKNOWNBASETYPE, options);
|
||||
async createPlaylist(name?: string, ids?: Array<string>, userId?: string, mediaType?: string, createPlaylistDto?: CreatePlaylistDto, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlaylistCreationResult>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.createPlaylist(name, ids, userId, mediaType, createPlaylistDto, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
@ -419,12 +417,12 @@ export const PlaylistsApiFactory = function (configuration?: Configuration, base
|
||||
* @param {Array<string>} [ids] The item ids.
|
||||
* @param {string} [userId] The user id.
|
||||
* @param {string} [mediaType] The media type.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] The create playlist payload.
|
||||
* @param {CreatePlaylistDto} [createPlaylistDto] The create playlist payload.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createPlaylist(name?: string, ids?: Array<string>, userId?: string, mediaType?: string, uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<PlaylistCreationResult> {
|
||||
return localVarFp.createPlaylist(name, ids, userId, mediaType, uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
createPlaylist(name?: string, ids?: Array<string>, userId?: string, mediaType?: string, createPlaylistDto?: CreatePlaylistDto, options?: any): AxiosPromise<PlaylistCreationResult> {
|
||||
return localVarFp.createPlaylist(name, ids, userId, mediaType, createPlaylistDto, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
@ -534,10 +532,10 @@ export interface PlaylistsApiCreatePlaylistRequest {
|
||||
|
||||
/**
|
||||
* The create playlist payload.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {CreatePlaylistDto}
|
||||
* @memberof PlaylistsApiCreatePlaylist
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE
|
||||
readonly createPlaylistDto?: CreatePlaylistDto
|
||||
}
|
||||
|
||||
/**
|
||||
@ -687,7 +685,7 @@ export class PlaylistsApi extends BaseAPI {
|
||||
* @memberof PlaylistsApi
|
||||
*/
|
||||
public createPlaylist(requestParameters: PlaylistsApiCreatePlaylistRequest = {}, options?: any) {
|
||||
return PlaylistsApiFp(this.configuration).createPlaylist(requestParameters.name, requestParameters.ids, requestParameters.userId, requestParameters.mediaType, requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return PlaylistsApiFp(this.configuration).createPlaylist(requestParameters.name, requestParameters.ids, requestParameters.userId, requestParameters.mediaType, requestParameters.createPlaylistDto, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -31,8 +31,6 @@ import { PlaybackStopInfo } from '../models';
|
||||
// @ts-ignore
|
||||
import { RepeatMode } from '../models';
|
||||
// @ts-ignore
|
||||
import { UNKNOWN_BASE_TYPE } from '../models';
|
||||
// @ts-ignore
|
||||
import { UserItemDataDto } from '../models';
|
||||
/**
|
||||
* PlaystateApi - axios parameter creator
|
||||
@ -410,11 +408,11 @@ export const PlaystateApiAxiosParamCreator = function (configuration?: Configura
|
||||
/**
|
||||
*
|
||||
* @summary Reports playback progress within a session.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] The playback progress info.
|
||||
* @param {PlaybackProgressInfo} [playbackProgressInfo] The playback progress info.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
reportPlaybackProgress: async (uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
reportPlaybackProgress: async (playbackProgressInfo?: PlaybackProgressInfo, options: any = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/Sessions/Playing/Progress`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
@ -437,7 +435,7 @@ export const PlaystateApiAxiosParamCreator = function (configuration?: Configura
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(playbackProgressInfo, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -447,11 +445,11 @@ export const PlaystateApiAxiosParamCreator = function (configuration?: Configura
|
||||
/**
|
||||
*
|
||||
* @summary Reports playback has started within a session.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] The playback start info.
|
||||
* @param {PlaybackStartInfo} [playbackStartInfo] The playback start info.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
reportPlaybackStart: async (uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
reportPlaybackStart: async (playbackStartInfo?: PlaybackStartInfo, options: any = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/Sessions/Playing`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
@ -474,7 +472,7 @@ export const PlaystateApiAxiosParamCreator = function (configuration?: Configura
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(playbackStartInfo, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -484,11 +482,11 @@ export const PlaystateApiAxiosParamCreator = function (configuration?: Configura
|
||||
/**
|
||||
*
|
||||
* @summary Reports playback has stopped within a session.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] The playback stop info.
|
||||
* @param {PlaybackStopInfo} [playbackStopInfo] The playback stop info.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
reportPlaybackStopped: async (uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
reportPlaybackStopped: async (playbackStopInfo?: PlaybackStopInfo, options: any = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/Sessions/Playing/Stopped`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
@ -511,7 +509,7 @@ export const PlaystateApiAxiosParamCreator = function (configuration?: Configura
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(playbackStopInfo, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -626,34 +624,34 @@ export const PlaystateApiFp = function(configuration?: Configuration) {
|
||||
/**
|
||||
*
|
||||
* @summary Reports playback progress within a session.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] The playback progress info.
|
||||
* @param {PlaybackProgressInfo} [playbackProgressInfo] The playback progress info.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async reportPlaybackProgress(uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.reportPlaybackProgress(uNKNOWNBASETYPE, options);
|
||||
async reportPlaybackProgress(playbackProgressInfo?: PlaybackProgressInfo, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.reportPlaybackProgress(playbackProgressInfo, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Reports playback has started within a session.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] The playback start info.
|
||||
* @param {PlaybackStartInfo} [playbackStartInfo] The playback start info.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async reportPlaybackStart(uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.reportPlaybackStart(uNKNOWNBASETYPE, options);
|
||||
async reportPlaybackStart(playbackStartInfo?: PlaybackStartInfo, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.reportPlaybackStart(playbackStartInfo, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Reports playback has stopped within a session.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] The playback stop info.
|
||||
* @param {PlaybackStopInfo} [playbackStopInfo] The playback stop info.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async reportPlaybackStopped(uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.reportPlaybackStopped(uNKNOWNBASETYPE, options);
|
||||
async reportPlaybackStopped(playbackStopInfo?: PlaybackStopInfo, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.reportPlaybackStopped(playbackStopInfo, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
}
|
||||
@ -758,32 +756,32 @@ export const PlaystateApiFactory = function (configuration?: Configuration, base
|
||||
/**
|
||||
*
|
||||
* @summary Reports playback progress within a session.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] The playback progress info.
|
||||
* @param {PlaybackProgressInfo} [playbackProgressInfo] The playback progress info.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
reportPlaybackProgress(uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.reportPlaybackProgress(uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
reportPlaybackProgress(playbackProgressInfo?: PlaybackProgressInfo, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.reportPlaybackProgress(playbackProgressInfo, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Reports playback has started within a session.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] The playback start info.
|
||||
* @param {PlaybackStartInfo} [playbackStartInfo] The playback start info.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
reportPlaybackStart(uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.reportPlaybackStart(uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
reportPlaybackStart(playbackStartInfo?: PlaybackStartInfo, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.reportPlaybackStart(playbackStartInfo, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Reports playback has stopped within a session.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] The playback stop info.
|
||||
* @param {PlaybackStopInfo} [playbackStopInfo] The playback stop info.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
reportPlaybackStopped(uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.reportPlaybackStopped(uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
reportPlaybackStopped(playbackStopInfo?: PlaybackStopInfo, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.reportPlaybackStopped(playbackStopInfo, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
};
|
||||
@ -1083,10 +1081,10 @@ export interface PlaystateApiPingPlaybackSessionRequest {
|
||||
export interface PlaystateApiReportPlaybackProgressRequest {
|
||||
/**
|
||||
* The playback progress info.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {PlaybackProgressInfo}
|
||||
* @memberof PlaystateApiReportPlaybackProgress
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE
|
||||
readonly playbackProgressInfo?: PlaybackProgressInfo
|
||||
}
|
||||
|
||||
/**
|
||||
@ -1097,10 +1095,10 @@ export interface PlaystateApiReportPlaybackProgressRequest {
|
||||
export interface PlaystateApiReportPlaybackStartRequest {
|
||||
/**
|
||||
* The playback start info.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {PlaybackStartInfo}
|
||||
* @memberof PlaystateApiReportPlaybackStart
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE
|
||||
readonly playbackStartInfo?: PlaybackStartInfo
|
||||
}
|
||||
|
||||
/**
|
||||
@ -1111,10 +1109,10 @@ export interface PlaystateApiReportPlaybackStartRequest {
|
||||
export interface PlaystateApiReportPlaybackStoppedRequest {
|
||||
/**
|
||||
* The playback stop info.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {PlaybackStopInfo}
|
||||
* @memberof PlaystateApiReportPlaybackStopped
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE
|
||||
readonly playbackStopInfo?: PlaybackStopInfo
|
||||
}
|
||||
|
||||
/**
|
||||
@ -1205,7 +1203,7 @@ export class PlaystateApi extends BaseAPI {
|
||||
* @memberof PlaystateApi
|
||||
*/
|
||||
public reportPlaybackProgress(requestParameters: PlaystateApiReportPlaybackProgressRequest = {}, options?: any) {
|
||||
return PlaystateApiFp(this.configuration).reportPlaybackProgress(requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return PlaystateApiFp(this.configuration).reportPlaybackProgress(requestParameters.playbackProgressInfo, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -1217,7 +1215,7 @@ export class PlaystateApi extends BaseAPI {
|
||||
* @memberof PlaystateApi
|
||||
*/
|
||||
public reportPlaybackStart(requestParameters: PlaystateApiReportPlaybackStartRequest = {}, options?: any) {
|
||||
return PlaystateApiFp(this.configuration).reportPlaybackStart(requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return PlaystateApiFp(this.configuration).reportPlaybackStart(requestParameters.playbackStartInfo, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -1229,6 +1227,6 @@ export class PlaystateApi extends BaseAPI {
|
||||
* @memberof PlaystateApi
|
||||
*/
|
||||
public reportPlaybackStopped(requestParameters: PlaystateApiReportPlaybackStoppedRequest = {}, options?: any) {
|
||||
return PlaystateApiFp(this.configuration).reportPlaybackStopped(requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return PlaystateApiFp(this.configuration).reportPlaybackStopped(requestParameters.playbackStopInfo, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
}
|
||||
|
@ -27,8 +27,6 @@ import { PluginSecurityInfo } from '../models';
|
||||
// @ts-ignore
|
||||
import { ProblemDetails } from '../models';
|
||||
// @ts-ignore
|
||||
import { UNKNOWN_BASE_TYPE } from '../models';
|
||||
// @ts-ignore
|
||||
import { Version } from '../models';
|
||||
/**
|
||||
* PluginsApi - axios parameter creator
|
||||
@ -385,14 +383,14 @@ export const PluginsApiAxiosParamCreator = function (configuration?: Configurati
|
||||
/**
|
||||
*
|
||||
* @summary Updates plugin security info.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE Plugin security info.
|
||||
* @param {PluginSecurityInfo} pluginSecurityInfo Plugin security info.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @deprecated
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updatePluginSecurityInfo: async (uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'uNKNOWNBASETYPE' is not null or undefined
|
||||
assertParamExists('updatePluginSecurityInfo', 'uNKNOWNBASETYPE', uNKNOWNBASETYPE)
|
||||
updatePluginSecurityInfo: async (pluginSecurityInfo: PluginSecurityInfo, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'pluginSecurityInfo' is not null or undefined
|
||||
assertParamExists('updatePluginSecurityInfo', 'pluginSecurityInfo', pluginSecurityInfo)
|
||||
const localVarPath = `/Plugins/SecurityInfo`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
@ -415,7 +413,7 @@ export const PluginsApiAxiosParamCreator = function (configuration?: Configurati
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(pluginSecurityInfo, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -538,13 +536,13 @@ export const PluginsApiFp = function(configuration?: Configuration) {
|
||||
/**
|
||||
*
|
||||
* @summary Updates plugin security info.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE Plugin security info.
|
||||
* @param {PluginSecurityInfo} pluginSecurityInfo Plugin security info.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @deprecated
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async updatePluginSecurityInfo(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.updatePluginSecurityInfo(uNKNOWNBASETYPE, options);
|
||||
async updatePluginSecurityInfo(pluginSecurityInfo: PluginSecurityInfo, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.updatePluginSecurityInfo(pluginSecurityInfo, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
}
|
||||
@ -654,13 +652,13 @@ export const PluginsApiFactory = function (configuration?: Configuration, basePa
|
||||
/**
|
||||
*
|
||||
* @summary Updates plugin security info.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE Plugin security info.
|
||||
* @param {PluginSecurityInfo} pluginSecurityInfo Plugin security info.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @deprecated
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updatePluginSecurityInfo(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.updatePluginSecurityInfo(uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
updatePluginSecurityInfo(pluginSecurityInfo: PluginSecurityInfo, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.updatePluginSecurityInfo(pluginSecurityInfo, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
};
|
||||
@ -813,10 +811,10 @@ export interface PluginsApiUpdatePluginConfigurationRequest {
|
||||
export interface PluginsApiUpdatePluginSecurityInfoRequest {
|
||||
/**
|
||||
* Plugin security info.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {PluginSecurityInfo}
|
||||
* @memberof PluginsApiUpdatePluginSecurityInfo
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE
|
||||
readonly pluginSecurityInfo: PluginSecurityInfo
|
||||
}
|
||||
|
||||
/**
|
||||
@ -944,6 +942,6 @@ export class PluginsApi extends BaseAPI {
|
||||
* @memberof PluginsApi
|
||||
*/
|
||||
public updatePluginSecurityInfo(requestParameters: PluginsApiUpdatePluginSecurityInfoRequest, options?: any) {
|
||||
return PluginsApiFp(this.configuration).updatePluginSecurityInfo(requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return PluginsApiFp(this.configuration).updatePluginSecurityInfo(requestParameters.pluginSecurityInfo, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
}
|
||||
|
@ -36,8 +36,6 @@ import { PlayCommand } from '../models';
|
||||
import { PlaystateCommand } from '../models';
|
||||
// @ts-ignore
|
||||
import { SessionInfo } from '../models';
|
||||
// @ts-ignore
|
||||
import { UNKNOWN_BASE_TYPE } from '../models';
|
||||
/**
|
||||
* SessionApi - axios parameter creator
|
||||
* @export
|
||||
@ -399,14 +397,14 @@ export const SessionApiAxiosParamCreator = function (configuration?: Configurati
|
||||
/**
|
||||
*
|
||||
* @summary Updates capabilities for a device.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The MediaBrowser.Model.Session.ClientCapabilities.
|
||||
* @param {ClientCapabilitiesDto} clientCapabilitiesDto The MediaBrowser.Model.Session.ClientCapabilities.
|
||||
* @param {string} [id] The session id.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
postFullCapabilities: async (uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, id?: string, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'uNKNOWNBASETYPE' is not null or undefined
|
||||
assertParamExists('postFullCapabilities', 'uNKNOWNBASETYPE', uNKNOWNBASETYPE)
|
||||
postFullCapabilities: async (clientCapabilitiesDto: ClientCapabilitiesDto, id?: string, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'clientCapabilitiesDto' is not null or undefined
|
||||
assertParamExists('postFullCapabilities', 'clientCapabilitiesDto', clientCapabilitiesDto)
|
||||
const localVarPath = `/Sessions/Capabilities/Full`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
@ -433,7 +431,7 @@ export const SessionApiAxiosParamCreator = function (configuration?: Configurati
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(clientCapabilitiesDto, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -563,15 +561,15 @@ export const SessionApiAxiosParamCreator = function (configuration?: Configurati
|
||||
*
|
||||
* @summary Issues a full general command to a client.
|
||||
* @param {string} sessionId The session id.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The MediaBrowser.Model.Session.GeneralCommand.
|
||||
* @param {GeneralCommand} generalCommand The MediaBrowser.Model.Session.GeneralCommand.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
sendFullGeneralCommand: async (sessionId: string, uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
sendFullGeneralCommand: async (sessionId: string, generalCommand: GeneralCommand, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'sessionId' is not null or undefined
|
||||
assertParamExists('sendFullGeneralCommand', 'sessionId', sessionId)
|
||||
// verify required parameter 'uNKNOWNBASETYPE' is not null or undefined
|
||||
assertParamExists('sendFullGeneralCommand', 'uNKNOWNBASETYPE', uNKNOWNBASETYPE)
|
||||
// verify required parameter 'generalCommand' is not null or undefined
|
||||
assertParamExists('sendFullGeneralCommand', 'generalCommand', generalCommand)
|
||||
const localVarPath = `/Sessions/{sessionId}/Command`
|
||||
.replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
@ -595,7 +593,7 @@ export const SessionApiAxiosParamCreator = function (configuration?: Configurati
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(generalCommand, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -647,15 +645,15 @@ export const SessionApiAxiosParamCreator = function (configuration?: Configurati
|
||||
*
|
||||
* @summary Issues a command to a client to display a message to the user.
|
||||
* @param {string} sessionId The session id.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The MediaBrowser.Model.Session.MessageCommand object containing Header, Message Text, and TimeoutMs.
|
||||
* @param {MessageCommand} messageCommand The MediaBrowser.Model.Session.MessageCommand object containing Header, Message Text, and TimeoutMs.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
sendMessageCommand: async (sessionId: string, uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
sendMessageCommand: async (sessionId: string, messageCommand: MessageCommand, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'sessionId' is not null or undefined
|
||||
assertParamExists('sendMessageCommand', 'sessionId', sessionId)
|
||||
// verify required parameter 'uNKNOWNBASETYPE' is not null or undefined
|
||||
assertParamExists('sendMessageCommand', 'uNKNOWNBASETYPE', uNKNOWNBASETYPE)
|
||||
// verify required parameter 'messageCommand' is not null or undefined
|
||||
assertParamExists('sendMessageCommand', 'messageCommand', messageCommand)
|
||||
const localVarPath = `/Sessions/{sessionId}/Message`
|
||||
.replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
@ -679,7 +677,7 @@ export const SessionApiAxiosParamCreator = function (configuration?: Configurati
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(messageCommand, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -884,13 +882,13 @@ export const SessionApiFp = function(configuration?: Configuration) {
|
||||
/**
|
||||
*
|
||||
* @summary Updates capabilities for a device.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The MediaBrowser.Model.Session.ClientCapabilities.
|
||||
* @param {ClientCapabilitiesDto} clientCapabilitiesDto The MediaBrowser.Model.Session.ClientCapabilities.
|
||||
* @param {string} [id] The session id.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async postFullCapabilities(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.postFullCapabilities(uNKNOWNBASETYPE, id, options);
|
||||
async postFullCapabilities(clientCapabilitiesDto: ClientCapabilitiesDto, id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.postFullCapabilities(clientCapabilitiesDto, id, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
@ -931,12 +929,12 @@ export const SessionApiFp = function(configuration?: Configuration) {
|
||||
*
|
||||
* @summary Issues a full general command to a client.
|
||||
* @param {string} sessionId The session id.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The MediaBrowser.Model.Session.GeneralCommand.
|
||||
* @param {GeneralCommand} generalCommand The MediaBrowser.Model.Session.GeneralCommand.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async sendFullGeneralCommand(sessionId: string, uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.sendFullGeneralCommand(sessionId, uNKNOWNBASETYPE, options);
|
||||
async sendFullGeneralCommand(sessionId: string, generalCommand: GeneralCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.sendFullGeneralCommand(sessionId, generalCommand, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
@ -955,12 +953,12 @@ export const SessionApiFp = function(configuration?: Configuration) {
|
||||
*
|
||||
* @summary Issues a command to a client to display a message to the user.
|
||||
* @param {string} sessionId The session id.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The MediaBrowser.Model.Session.MessageCommand object containing Header, Message Text, and TimeoutMs.
|
||||
* @param {MessageCommand} messageCommand The MediaBrowser.Model.Session.MessageCommand object containing Header, Message Text, and TimeoutMs.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async sendMessageCommand(sessionId: string, uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.sendMessageCommand(sessionId, uNKNOWNBASETYPE, options);
|
||||
async sendMessageCommand(sessionId: string, messageCommand: MessageCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.sendMessageCommand(sessionId, messageCommand, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
@ -1088,13 +1086,13 @@ export const SessionApiFactory = function (configuration?: Configuration, basePa
|
||||
/**
|
||||
*
|
||||
* @summary Updates capabilities for a device.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The MediaBrowser.Model.Session.ClientCapabilities.
|
||||
* @param {ClientCapabilitiesDto} clientCapabilitiesDto The MediaBrowser.Model.Session.ClientCapabilities.
|
||||
* @param {string} [id] The session id.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
postFullCapabilities(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, id?: string, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.postFullCapabilities(uNKNOWNBASETYPE, id, options).then((request) => request(axios, basePath));
|
||||
postFullCapabilities(clientCapabilitiesDto: ClientCapabilitiesDto, id?: string, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.postFullCapabilities(clientCapabilitiesDto, id, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
@ -1131,12 +1129,12 @@ export const SessionApiFactory = function (configuration?: Configuration, basePa
|
||||
*
|
||||
* @summary Issues a full general command to a client.
|
||||
* @param {string} sessionId The session id.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The MediaBrowser.Model.Session.GeneralCommand.
|
||||
* @param {GeneralCommand} generalCommand The MediaBrowser.Model.Session.GeneralCommand.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
sendFullGeneralCommand(sessionId: string, uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.sendFullGeneralCommand(sessionId, uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
sendFullGeneralCommand(sessionId: string, generalCommand: GeneralCommand, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.sendFullGeneralCommand(sessionId, generalCommand, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
@ -1153,12 +1151,12 @@ export const SessionApiFactory = function (configuration?: Configuration, basePa
|
||||
*
|
||||
* @summary Issues a command to a client to display a message to the user.
|
||||
* @param {string} sessionId The session id.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The MediaBrowser.Model.Session.MessageCommand object containing Header, Message Text, and TimeoutMs.
|
||||
* @param {MessageCommand} messageCommand The MediaBrowser.Model.Session.MessageCommand object containing Header, Message Text, and TimeoutMs.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
sendMessageCommand(sessionId: string, uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.sendMessageCommand(sessionId, uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
sendMessageCommand(sessionId: string, messageCommand: MessageCommand, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.sendMessageCommand(sessionId, messageCommand, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
@ -1391,10 +1389,10 @@ export interface SessionApiPostCapabilitiesRequest {
|
||||
export interface SessionApiPostFullCapabilitiesRequest {
|
||||
/**
|
||||
* The MediaBrowser.Model.Session.ClientCapabilities.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {ClientCapabilitiesDto}
|
||||
* @memberof SessionApiPostFullCapabilities
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE
|
||||
readonly clientCapabilitiesDto: ClientCapabilitiesDto
|
||||
|
||||
/**
|
||||
* The session id.
|
||||
@ -1461,10 +1459,10 @@ export interface SessionApiSendFullGeneralCommandRequest {
|
||||
|
||||
/**
|
||||
* The MediaBrowser.Model.Session.GeneralCommand.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {GeneralCommand}
|
||||
* @memberof SessionApiSendFullGeneralCommand
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE
|
||||
readonly generalCommand: GeneralCommand
|
||||
}
|
||||
|
||||
/**
|
||||
@ -1503,10 +1501,10 @@ export interface SessionApiSendMessageCommandRequest {
|
||||
|
||||
/**
|
||||
* The MediaBrowser.Model.Session.MessageCommand object containing Header, Message Text, and TimeoutMs.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {MessageCommand}
|
||||
* @memberof SessionApiSendMessageCommand
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE
|
||||
readonly messageCommand: MessageCommand
|
||||
}
|
||||
|
||||
/**
|
||||
@ -1663,7 +1661,7 @@ export class SessionApi extends BaseAPI {
|
||||
* @memberof SessionApi
|
||||
*/
|
||||
public postFullCapabilities(requestParameters: SessionApiPostFullCapabilitiesRequest, options?: any) {
|
||||
return SessionApiFp(this.configuration).postFullCapabilities(requestParameters.uNKNOWNBASETYPE, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
||||
return SessionApiFp(this.configuration).postFullCapabilities(requestParameters.clientCapabilitiesDto, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -1710,7 +1708,7 @@ export class SessionApi extends BaseAPI {
|
||||
* @memberof SessionApi
|
||||
*/
|
||||
public sendFullGeneralCommand(requestParameters: SessionApiSendFullGeneralCommandRequest, options?: any) {
|
||||
return SessionApiFp(this.configuration).sendFullGeneralCommand(requestParameters.sessionId, requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return SessionApiFp(this.configuration).sendFullGeneralCommand(requestParameters.sessionId, requestParameters.generalCommand, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -1734,7 +1732,7 @@ export class SessionApi extends BaseAPI {
|
||||
* @memberof SessionApi
|
||||
*/
|
||||
public sendMessageCommand(requestParameters: SessionApiSendMessageCommandRequest, options?: any) {
|
||||
return SessionApiFp(this.configuration).sendMessageCommand(requestParameters.sessionId, requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return SessionApiFp(this.configuration).sendMessageCommand(requestParameters.sessionId, requestParameters.messageCommand, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -26,8 +26,6 @@ import { StartupConfigurationDto } from '../models';
|
||||
import { StartupRemoteAccessDto } from '../models';
|
||||
// @ts-ignore
|
||||
import { StartupUserDto } from '../models';
|
||||
// @ts-ignore
|
||||
import { UNKNOWN_BASE_TYPE } from '../models';
|
||||
/**
|
||||
* StartupApi - axios parameter creator
|
||||
* @export
|
||||
@ -169,13 +167,13 @@ export const StartupApiAxiosParamCreator = function (configuration?: Configurati
|
||||
/**
|
||||
*
|
||||
* @summary Sets remote access and UPnP.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The startup remote access dto.
|
||||
* @param {StartupRemoteAccessDto} startupRemoteAccessDto The startup remote access dto.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
setRemoteAccess: async (uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'uNKNOWNBASETYPE' is not null or undefined
|
||||
assertParamExists('setRemoteAccess', 'uNKNOWNBASETYPE', uNKNOWNBASETYPE)
|
||||
setRemoteAccess: async (startupRemoteAccessDto: StartupRemoteAccessDto, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'startupRemoteAccessDto' is not null or undefined
|
||||
assertParamExists('setRemoteAccess', 'startupRemoteAccessDto', startupRemoteAccessDto)
|
||||
const localVarPath = `/Startup/RemoteAccess`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
@ -198,7 +196,7 @@ export const StartupApiAxiosParamCreator = function (configuration?: Configurati
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(startupRemoteAccessDto, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -208,13 +206,13 @@ export const StartupApiAxiosParamCreator = function (configuration?: Configurati
|
||||
/**
|
||||
*
|
||||
* @summary Sets the initial startup wizard configuration.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The updated startup configuration.
|
||||
* @param {StartupConfigurationDto} startupConfigurationDto The updated startup configuration.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updateInitialConfiguration: async (uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'uNKNOWNBASETYPE' is not null or undefined
|
||||
assertParamExists('updateInitialConfiguration', 'uNKNOWNBASETYPE', uNKNOWNBASETYPE)
|
||||
updateInitialConfiguration: async (startupConfigurationDto: StartupConfigurationDto, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'startupConfigurationDto' is not null or undefined
|
||||
assertParamExists('updateInitialConfiguration', 'startupConfigurationDto', startupConfigurationDto)
|
||||
const localVarPath = `/Startup/Configuration`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
@ -237,7 +235,7 @@ export const StartupApiAxiosParamCreator = function (configuration?: Configurati
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(startupConfigurationDto, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -247,11 +245,11 @@ export const StartupApiAxiosParamCreator = function (configuration?: Configurati
|
||||
/**
|
||||
*
|
||||
* @summary Sets the user name and password.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] The DTO containing username and password.
|
||||
* @param {StartupUserDto} [startupUserDto] The DTO containing username and password.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updateStartupUser: async (uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
updateStartupUser: async (startupUserDto?: StartupUserDto, options: any = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/Startup/User`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
@ -274,7 +272,7 @@ export const StartupApiAxiosParamCreator = function (configuration?: Configurati
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(startupUserDto, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -334,34 +332,34 @@ export const StartupApiFp = function(configuration?: Configuration) {
|
||||
/**
|
||||
*
|
||||
* @summary Sets remote access and UPnP.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The startup remote access dto.
|
||||
* @param {StartupRemoteAccessDto} startupRemoteAccessDto The startup remote access dto.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async setRemoteAccess(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.setRemoteAccess(uNKNOWNBASETYPE, options);
|
||||
async setRemoteAccess(startupRemoteAccessDto: StartupRemoteAccessDto, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.setRemoteAccess(startupRemoteAccessDto, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Sets the initial startup wizard configuration.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The updated startup configuration.
|
||||
* @param {StartupConfigurationDto} startupConfigurationDto The updated startup configuration.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async updateInitialConfiguration(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.updateInitialConfiguration(uNKNOWNBASETYPE, options);
|
||||
async updateInitialConfiguration(startupConfigurationDto: StartupConfigurationDto, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.updateInitialConfiguration(startupConfigurationDto, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Sets the user name and password.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] The DTO containing username and password.
|
||||
* @param {StartupUserDto} [startupUserDto] The DTO containing username and password.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async updateStartupUser(uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.updateStartupUser(uNKNOWNBASETYPE, options);
|
||||
async updateStartupUser(startupUserDto?: StartupUserDto, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.updateStartupUser(startupUserDto, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
}
|
||||
@ -413,32 +411,32 @@ export const StartupApiFactory = function (configuration?: Configuration, basePa
|
||||
/**
|
||||
*
|
||||
* @summary Sets remote access and UPnP.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The startup remote access dto.
|
||||
* @param {StartupRemoteAccessDto} startupRemoteAccessDto The startup remote access dto.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
setRemoteAccess(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.setRemoteAccess(uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
setRemoteAccess(startupRemoteAccessDto: StartupRemoteAccessDto, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.setRemoteAccess(startupRemoteAccessDto, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Sets the initial startup wizard configuration.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The updated startup configuration.
|
||||
* @param {StartupConfigurationDto} startupConfigurationDto The updated startup configuration.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updateInitialConfiguration(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.updateInitialConfiguration(uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
updateInitialConfiguration(startupConfigurationDto: StartupConfigurationDto, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.updateInitialConfiguration(startupConfigurationDto, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Sets the user name and password.
|
||||
* @param {UNKNOWN_BASE_TYPE} [uNKNOWNBASETYPE] The DTO containing username and password.
|
||||
* @param {StartupUserDto} [startupUserDto] The DTO containing username and password.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updateStartupUser(uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.updateStartupUser(uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
updateStartupUser(startupUserDto?: StartupUserDto, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.updateStartupUser(startupUserDto, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
};
|
||||
@ -451,10 +449,10 @@ export const StartupApiFactory = function (configuration?: Configuration, basePa
|
||||
export interface StartupApiSetRemoteAccessRequest {
|
||||
/**
|
||||
* The startup remote access dto.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {StartupRemoteAccessDto}
|
||||
* @memberof StartupApiSetRemoteAccess
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE
|
||||
readonly startupRemoteAccessDto: StartupRemoteAccessDto
|
||||
}
|
||||
|
||||
/**
|
||||
@ -465,10 +463,10 @@ export interface StartupApiSetRemoteAccessRequest {
|
||||
export interface StartupApiUpdateInitialConfigurationRequest {
|
||||
/**
|
||||
* The updated startup configuration.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {StartupConfigurationDto}
|
||||
* @memberof StartupApiUpdateInitialConfiguration
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE
|
||||
readonly startupConfigurationDto: StartupConfigurationDto
|
||||
}
|
||||
|
||||
/**
|
||||
@ -479,10 +477,10 @@ export interface StartupApiUpdateInitialConfigurationRequest {
|
||||
export interface StartupApiUpdateStartupUserRequest {
|
||||
/**
|
||||
* The DTO containing username and password.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {StartupUserDto}
|
||||
* @memberof StartupApiUpdateStartupUser
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE?: UNKNOWN_BASE_TYPE
|
||||
readonly startupUserDto?: StartupUserDto
|
||||
}
|
||||
|
||||
/**
|
||||
@ -545,7 +543,7 @@ export class StartupApi extends BaseAPI {
|
||||
* @memberof StartupApi
|
||||
*/
|
||||
public setRemoteAccess(requestParameters: StartupApiSetRemoteAccessRequest, options?: any) {
|
||||
return StartupApiFp(this.configuration).setRemoteAccess(requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return StartupApiFp(this.configuration).setRemoteAccess(requestParameters.startupRemoteAccessDto, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -557,7 +555,7 @@ export class StartupApi extends BaseAPI {
|
||||
* @memberof StartupApi
|
||||
*/
|
||||
public updateInitialConfiguration(requestParameters: StartupApiUpdateInitialConfigurationRequest, options?: any) {
|
||||
return StartupApiFp(this.configuration).updateInitialConfiguration(requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return StartupApiFp(this.configuration).updateInitialConfiguration(requestParameters.startupConfigurationDto, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -569,6 +567,6 @@ export class StartupApi extends BaseAPI {
|
||||
* @memberof StartupApi
|
||||
*/
|
||||
public updateStartupUser(requestParameters: StartupApiUpdateStartupUserRequest = {}, options?: any) {
|
||||
return StartupApiFp(this.configuration).updateStartupUser(requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return StartupApiFp(this.configuration).updateStartupUser(requestParameters.startupUserDto, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
}
|
||||
|
@ -27,8 +27,6 @@ import { ProblemDetails } from '../models';
|
||||
// @ts-ignore
|
||||
import { RemoteSubtitleInfo } from '../models';
|
||||
// @ts-ignore
|
||||
import { UNKNOWN_BASE_TYPE } from '../models';
|
||||
// @ts-ignore
|
||||
import { UploadSubtitleDto } from '../models';
|
||||
/**
|
||||
* SubtitleApi - axios parameter creator
|
||||
@ -503,15 +501,15 @@ export const SubtitleApiAxiosParamCreator = function (configuration?: Configurat
|
||||
*
|
||||
* @summary Upload an external subtitle file.
|
||||
* @param {string} itemId The item the subtitle belongs to.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The request body.
|
||||
* @param {UploadSubtitleDto} uploadSubtitleDto The request body.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
uploadSubtitle: async (itemId: string, uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
uploadSubtitle: async (itemId: string, uploadSubtitleDto: UploadSubtitleDto, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'itemId' is not null or undefined
|
||||
assertParamExists('uploadSubtitle', 'itemId', itemId)
|
||||
// verify required parameter 'uNKNOWNBASETYPE' is not null or undefined
|
||||
assertParamExists('uploadSubtitle', 'uNKNOWNBASETYPE', uNKNOWNBASETYPE)
|
||||
// verify required parameter 'uploadSubtitleDto' is not null or undefined
|
||||
assertParamExists('uploadSubtitle', 'uploadSubtitleDto', uploadSubtitleDto)
|
||||
const localVarPath = `/Videos/{itemId}/Subtitles`
|
||||
.replace(`{${"itemId"}}`, encodeURIComponent(String(itemId)));
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
@ -535,7 +533,7 @@ export const SubtitleApiAxiosParamCreator = function (configuration?: Configurat
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uploadSubtitleDto, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -684,12 +682,12 @@ export const SubtitleApiFp = function(configuration?: Configuration) {
|
||||
*
|
||||
* @summary Upload an external subtitle file.
|
||||
* @param {string} itemId The item the subtitle belongs to.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The request body.
|
||||
* @param {UploadSubtitleDto} uploadSubtitleDto The request body.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async uploadSubtitle(itemId: string, uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadSubtitle(itemId, uNKNOWNBASETYPE, options);
|
||||
async uploadSubtitle(itemId: string, uploadSubtitleDto: UploadSubtitleDto, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadSubtitle(itemId, uploadSubtitleDto, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
}
|
||||
@ -825,12 +823,12 @@ export const SubtitleApiFactory = function (configuration?: Configuration, baseP
|
||||
*
|
||||
* @summary Upload an external subtitle file.
|
||||
* @param {string} itemId The item the subtitle belongs to.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The request body.
|
||||
* @param {UploadSubtitleDto} uploadSubtitleDto The request body.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
uploadSubtitle(itemId: string, uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.uploadSubtitle(itemId, uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
uploadSubtitle(itemId: string, uploadSubtitleDto: UploadSubtitleDto, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.uploadSubtitle(itemId, uploadSubtitleDto, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
};
|
||||
@ -1172,10 +1170,10 @@ export interface SubtitleApiUploadSubtitleRequest {
|
||||
|
||||
/**
|
||||
* The request body.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {UploadSubtitleDto}
|
||||
* @memberof SubtitleApiUploadSubtitle
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE
|
||||
readonly uploadSubtitleDto: UploadSubtitleDto
|
||||
}
|
||||
|
||||
/**
|
||||
@ -1301,6 +1299,6 @@ export class SubtitleApi extends BaseAPI {
|
||||
* @memberof SubtitleApi
|
||||
*/
|
||||
public uploadSubtitle(requestParameters: SubtitleApiUploadSubtitleRequest, options?: any) {
|
||||
return SubtitleApiFp(this.configuration).uploadSubtitle(requestParameters.itemId, requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return SubtitleApiFp(this.configuration).uploadSubtitle(requestParameters.itemId, requestParameters.uploadSubtitleDto, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -39,8 +39,6 @@ import { ProblemDetails } from '../models';
|
||||
// @ts-ignore
|
||||
import { QuickConnectDto } from '../models';
|
||||
// @ts-ignore
|
||||
import { UNKNOWN_BASE_TYPE } from '../models';
|
||||
// @ts-ignore
|
||||
import { UpdateUserEasyPassword } from '../models';
|
||||
// @ts-ignore
|
||||
import { UpdateUserPassword } from '../models';
|
||||
@ -105,13 +103,13 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
||||
/**
|
||||
*
|
||||
* @summary Authenticates a user by name.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The M:Jellyfin.Api.Controllers.UserController.AuthenticateUserByName(Jellyfin.Api.Models.UserDtos.AuthenticateUserByName) request.
|
||||
* @param {AuthenticateUserByName} authenticateUserByName The M:Jellyfin.Api.Controllers.UserController.AuthenticateUserByName(Jellyfin.Api.Models.UserDtos.AuthenticateUserByName) request.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
authenticateUserByName: async (uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'uNKNOWNBASETYPE' is not null or undefined
|
||||
assertParamExists('authenticateUserByName', 'uNKNOWNBASETYPE', uNKNOWNBASETYPE)
|
||||
authenticateUserByName: async (authenticateUserByName: AuthenticateUserByName, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'authenticateUserByName' is not null or undefined
|
||||
assertParamExists('authenticateUserByName', 'authenticateUserByName', authenticateUserByName)
|
||||
const localVarPath = `/Users/AuthenticateByName`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
@ -131,7 +129,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(authenticateUserByName, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -141,13 +139,13 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
||||
/**
|
||||
*
|
||||
* @summary Authenticates a user with quick connect.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The Jellyfin.Api.Models.UserDtos.QuickConnectDto request.
|
||||
* @param {QuickConnectDto} quickConnectDto The Jellyfin.Api.Models.UserDtos.QuickConnectDto request.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
authenticateWithQuickConnect: async (uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'uNKNOWNBASETYPE' is not null or undefined
|
||||
assertParamExists('authenticateWithQuickConnect', 'uNKNOWNBASETYPE', uNKNOWNBASETYPE)
|
||||
authenticateWithQuickConnect: async (quickConnectDto: QuickConnectDto, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'quickConnectDto' is not null or undefined
|
||||
assertParamExists('authenticateWithQuickConnect', 'quickConnectDto', quickConnectDto)
|
||||
const localVarPath = `/Users/AuthenticateWithQuickConnect`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
@ -167,7 +165,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(quickConnectDto, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -177,13 +175,13 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
||||
/**
|
||||
*
|
||||
* @summary Creates a user.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The create user by name request body.
|
||||
* @param {CreateUserByName} createUserByName The create user by name request body.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createUserByName: async (uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'uNKNOWNBASETYPE' is not null or undefined
|
||||
assertParamExists('createUserByName', 'uNKNOWNBASETYPE', uNKNOWNBASETYPE)
|
||||
createUserByName: async (createUserByName: CreateUserByName, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'createUserByName' is not null or undefined
|
||||
assertParamExists('createUserByName', 'createUserByName', createUserByName)
|
||||
const localVarPath = `/Users/New`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
@ -206,7 +204,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(createUserByName, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -253,13 +251,13 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
||||
/**
|
||||
*
|
||||
* @summary Initiates the forgot password process for a local user.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The forgot password request containing the entered username.
|
||||
* @param {ForgotPasswordDto} forgotPasswordDto The forgot password request containing the entered username.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
forgotPassword: async (uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'uNKNOWNBASETYPE' is not null or undefined
|
||||
assertParamExists('forgotPassword', 'uNKNOWNBASETYPE', uNKNOWNBASETYPE)
|
||||
forgotPassword: async (forgotPasswordDto: ForgotPasswordDto, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'forgotPasswordDto' is not null or undefined
|
||||
assertParamExists('forgotPassword', 'forgotPasswordDto', forgotPasswordDto)
|
||||
const localVarPath = `/Users/ForgotPassword`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
@ -279,7 +277,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(forgotPasswordDto, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -289,13 +287,13 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
||||
/**
|
||||
*
|
||||
* @summary Redeems a forgot password pin.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The forgot password pin request containing the entered pin.
|
||||
* @param {ForgotPasswordPinDto} forgotPasswordPinDto The forgot password pin request containing the entered pin.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
forgotPasswordPin: async (uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'uNKNOWNBASETYPE' is not null or undefined
|
||||
assertParamExists('forgotPasswordPin', 'uNKNOWNBASETYPE', uNKNOWNBASETYPE)
|
||||
forgotPasswordPin: async (forgotPasswordPinDto: ForgotPasswordPinDto, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'forgotPasswordPinDto' is not null or undefined
|
||||
assertParamExists('forgotPasswordPin', 'forgotPasswordPinDto', forgotPasswordPinDto)
|
||||
const localVarPath = `/Users/ForgotPassword/Pin`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
@ -315,7 +313,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(forgotPasswordPinDto, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -469,15 +467,15 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
||||
*
|
||||
* @summary Updates a user.
|
||||
* @param {string} userId The user id.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The updated user model.
|
||||
* @param {UserDto} userDto The updated user model.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updateUser: async (userId: string, uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
updateUser: async (userId: string, userDto: UserDto, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'userId' is not null or undefined
|
||||
assertParamExists('updateUser', 'userId', userId)
|
||||
// verify required parameter 'uNKNOWNBASETYPE' is not null or undefined
|
||||
assertParamExists('updateUser', 'uNKNOWNBASETYPE', uNKNOWNBASETYPE)
|
||||
// verify required parameter 'userDto' is not null or undefined
|
||||
assertParamExists('updateUser', 'userDto', userDto)
|
||||
const localVarPath = `/Users/{userId}`
|
||||
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
@ -501,7 +499,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(userDto, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -512,15 +510,15 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
||||
*
|
||||
* @summary Updates a user configuration.
|
||||
* @param {string} userId The user id.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The new user configuration.
|
||||
* @param {UserConfiguration} userConfiguration The new user configuration.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updateUserConfiguration: async (userId: string, uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
updateUserConfiguration: async (userId: string, userConfiguration: UserConfiguration, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'userId' is not null or undefined
|
||||
assertParamExists('updateUserConfiguration', 'userId', userId)
|
||||
// verify required parameter 'uNKNOWNBASETYPE' is not null or undefined
|
||||
assertParamExists('updateUserConfiguration', 'uNKNOWNBASETYPE', uNKNOWNBASETYPE)
|
||||
// verify required parameter 'userConfiguration' is not null or undefined
|
||||
assertParamExists('updateUserConfiguration', 'userConfiguration', userConfiguration)
|
||||
const localVarPath = `/Users/{userId}/Configuration`
|
||||
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
@ -544,7 +542,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(userConfiguration, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -555,15 +553,15 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
||||
*
|
||||
* @summary Updates a user\'s easy password.
|
||||
* @param {string} userId The user id.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The M:Jellyfin.Api.Controllers.UserController.UpdateUserEasyPassword(System.Guid,Jellyfin.Api.Models.UserDtos.UpdateUserEasyPassword) request.
|
||||
* @param {UpdateUserEasyPassword} updateUserEasyPassword The M:Jellyfin.Api.Controllers.UserController.UpdateUserEasyPassword(System.Guid,Jellyfin.Api.Models.UserDtos.UpdateUserEasyPassword) request.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updateUserEasyPassword: async (userId: string, uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
updateUserEasyPassword: async (userId: string, updateUserEasyPassword: UpdateUserEasyPassword, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'userId' is not null or undefined
|
||||
assertParamExists('updateUserEasyPassword', 'userId', userId)
|
||||
// verify required parameter 'uNKNOWNBASETYPE' is not null or undefined
|
||||
assertParamExists('updateUserEasyPassword', 'uNKNOWNBASETYPE', uNKNOWNBASETYPE)
|
||||
// verify required parameter 'updateUserEasyPassword' is not null or undefined
|
||||
assertParamExists('updateUserEasyPassword', 'updateUserEasyPassword', updateUserEasyPassword)
|
||||
const localVarPath = `/Users/{userId}/EasyPassword`
|
||||
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
@ -587,7 +585,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(updateUserEasyPassword, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -598,15 +596,15 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
||||
*
|
||||
* @summary Updates a user\'s password.
|
||||
* @param {string} userId The user id.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The M:Jellyfin.Api.Controllers.UserController.UpdateUserPassword(System.Guid,Jellyfin.Api.Models.UserDtos.UpdateUserPassword) request.
|
||||
* @param {UpdateUserPassword} updateUserPassword The M:Jellyfin.Api.Controllers.UserController.UpdateUserPassword(System.Guid,Jellyfin.Api.Models.UserDtos.UpdateUserPassword) request.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updateUserPassword: async (userId: string, uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
updateUserPassword: async (userId: string, updateUserPassword: UpdateUserPassword, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'userId' is not null or undefined
|
||||
assertParamExists('updateUserPassword', 'userId', userId)
|
||||
// verify required parameter 'uNKNOWNBASETYPE' is not null or undefined
|
||||
assertParamExists('updateUserPassword', 'uNKNOWNBASETYPE', uNKNOWNBASETYPE)
|
||||
// verify required parameter 'updateUserPassword' is not null or undefined
|
||||
assertParamExists('updateUserPassword', 'updateUserPassword', updateUserPassword)
|
||||
const localVarPath = `/Users/{userId}/Password`
|
||||
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
@ -630,7 +628,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(updateUserPassword, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -641,15 +639,15 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
||||
*
|
||||
* @summary Updates a user policy.
|
||||
* @param {string} userId The user id.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The new user policy.
|
||||
* @param {UserPolicy} userPolicy The new user policy.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updateUserPolicy: async (userId: string, uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options: any = {}): Promise<RequestArgs> => {
|
||||
updateUserPolicy: async (userId: string, userPolicy: UserPolicy, options: any = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'userId' is not null or undefined
|
||||
assertParamExists('updateUserPolicy', 'userId', userId)
|
||||
// verify required parameter 'uNKNOWNBASETYPE' is not null or undefined
|
||||
assertParamExists('updateUserPolicy', 'uNKNOWNBASETYPE', uNKNOWNBASETYPE)
|
||||
// verify required parameter 'userPolicy' is not null or undefined
|
||||
assertParamExists('updateUserPolicy', 'userPolicy', userPolicy)
|
||||
const localVarPath = `/Users/{userId}/Policy`
|
||||
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
@ -673,7 +671,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
|
||||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(uNKNOWNBASETYPE, localVarRequestOptions, configuration)
|
||||
localVarRequestOptions.data = serializeDataIfNeeded(userPolicy, localVarRequestOptions, configuration)
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
@ -706,34 +704,34 @@ export const UserApiFp = function(configuration?: Configuration) {
|
||||
/**
|
||||
*
|
||||
* @summary Authenticates a user by name.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The M:Jellyfin.Api.Controllers.UserController.AuthenticateUserByName(Jellyfin.Api.Models.UserDtos.AuthenticateUserByName) request.
|
||||
* @param {AuthenticateUserByName} authenticateUserByName The M:Jellyfin.Api.Controllers.UserController.AuthenticateUserByName(Jellyfin.Api.Models.UserDtos.AuthenticateUserByName) request.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async authenticateUserByName(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResult>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.authenticateUserByName(uNKNOWNBASETYPE, options);
|
||||
async authenticateUserByName(authenticateUserByName: AuthenticateUserByName, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResult>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.authenticateUserByName(authenticateUserByName, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Authenticates a user with quick connect.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The Jellyfin.Api.Models.UserDtos.QuickConnectDto request.
|
||||
* @param {QuickConnectDto} quickConnectDto The Jellyfin.Api.Models.UserDtos.QuickConnectDto request.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async authenticateWithQuickConnect(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResult>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.authenticateWithQuickConnect(uNKNOWNBASETYPE, options);
|
||||
async authenticateWithQuickConnect(quickConnectDto: QuickConnectDto, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationResult>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.authenticateWithQuickConnect(quickConnectDto, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Creates a user.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The create user by name request body.
|
||||
* @param {CreateUserByName} createUserByName The create user by name request body.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async createUserByName(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserDto>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.createUserByName(uNKNOWNBASETYPE, options);
|
||||
async createUserByName(createUserByName: CreateUserByName, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserDto>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.createUserByName(createUserByName, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
@ -750,23 +748,23 @@ export const UserApiFp = function(configuration?: Configuration) {
|
||||
/**
|
||||
*
|
||||
* @summary Initiates the forgot password process for a local user.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The forgot password request containing the entered username.
|
||||
* @param {ForgotPasswordDto} forgotPasswordDto The forgot password request containing the entered username.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async forgotPassword(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ForgotPasswordResult>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.forgotPassword(uNKNOWNBASETYPE, options);
|
||||
async forgotPassword(forgotPasswordDto: ForgotPasswordDto, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ForgotPasswordResult>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.forgotPassword(forgotPasswordDto, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Redeems a forgot password pin.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The forgot password pin request containing the entered pin.
|
||||
* @param {ForgotPasswordPinDto} forgotPasswordPinDto The forgot password pin request containing the entered pin.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async forgotPasswordPin(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PinRedeemResult>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.forgotPasswordPin(uNKNOWNBASETYPE, options);
|
||||
async forgotPasswordPin(forgotPasswordPinDto: ForgotPasswordPinDto, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PinRedeemResult>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.forgotPasswordPin(forgotPasswordPinDto, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
@ -816,60 +814,60 @@ export const UserApiFp = function(configuration?: Configuration) {
|
||||
*
|
||||
* @summary Updates a user.
|
||||
* @param {string} userId The user id.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The updated user model.
|
||||
* @param {UserDto} userDto The updated user model.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async updateUser(userId: string, uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.updateUser(userId, uNKNOWNBASETYPE, options);
|
||||
async updateUser(userId: string, userDto: UserDto, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.updateUser(userId, userDto, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Updates a user configuration.
|
||||
* @param {string} userId The user id.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The new user configuration.
|
||||
* @param {UserConfiguration} userConfiguration The new user configuration.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async updateUserConfiguration(userId: string, uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.updateUserConfiguration(userId, uNKNOWNBASETYPE, options);
|
||||
async updateUserConfiguration(userId: string, userConfiguration: UserConfiguration, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.updateUserConfiguration(userId, userConfiguration, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Updates a user\'s easy password.
|
||||
* @param {string} userId The user id.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The M:Jellyfin.Api.Controllers.UserController.UpdateUserEasyPassword(System.Guid,Jellyfin.Api.Models.UserDtos.UpdateUserEasyPassword) request.
|
||||
* @param {UpdateUserEasyPassword} updateUserEasyPassword The M:Jellyfin.Api.Controllers.UserController.UpdateUserEasyPassword(System.Guid,Jellyfin.Api.Models.UserDtos.UpdateUserEasyPassword) request.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async updateUserEasyPassword(userId: string, uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.updateUserEasyPassword(userId, uNKNOWNBASETYPE, options);
|
||||
async updateUserEasyPassword(userId: string, updateUserEasyPassword: UpdateUserEasyPassword, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.updateUserEasyPassword(userId, updateUserEasyPassword, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Updates a user\'s password.
|
||||
* @param {string} userId The user id.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The M:Jellyfin.Api.Controllers.UserController.UpdateUserPassword(System.Guid,Jellyfin.Api.Models.UserDtos.UpdateUserPassword) request.
|
||||
* @param {UpdateUserPassword} updateUserPassword The M:Jellyfin.Api.Controllers.UserController.UpdateUserPassword(System.Guid,Jellyfin.Api.Models.UserDtos.UpdateUserPassword) request.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async updateUserPassword(userId: string, uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.updateUserPassword(userId, uNKNOWNBASETYPE, options);
|
||||
async updateUserPassword(userId: string, updateUserPassword: UpdateUserPassword, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.updateUserPassword(userId, updateUserPassword, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Updates a user policy.
|
||||
* @param {string} userId The user id.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The new user policy.
|
||||
* @param {UserPolicy} userPolicy The new user policy.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async updateUserPolicy(userId: string, uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.updateUserPolicy(userId, uNKNOWNBASETYPE, options);
|
||||
async updateUserPolicy(userId: string, userPolicy: UserPolicy, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.updateUserPolicy(userId, userPolicy, options);
|
||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||
},
|
||||
}
|
||||
@ -897,32 +895,32 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
/**
|
||||
*
|
||||
* @summary Authenticates a user by name.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The M:Jellyfin.Api.Controllers.UserController.AuthenticateUserByName(Jellyfin.Api.Models.UserDtos.AuthenticateUserByName) request.
|
||||
* @param {AuthenticateUserByName} authenticateUserByName The M:Jellyfin.Api.Controllers.UserController.AuthenticateUserByName(Jellyfin.Api.Models.UserDtos.AuthenticateUserByName) request.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
authenticateUserByName(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<AuthenticationResult> {
|
||||
return localVarFp.authenticateUserByName(uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
authenticateUserByName(authenticateUserByName: AuthenticateUserByName, options?: any): AxiosPromise<AuthenticationResult> {
|
||||
return localVarFp.authenticateUserByName(authenticateUserByName, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Authenticates a user with quick connect.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The Jellyfin.Api.Models.UserDtos.QuickConnectDto request.
|
||||
* @param {QuickConnectDto} quickConnectDto The Jellyfin.Api.Models.UserDtos.QuickConnectDto request.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
authenticateWithQuickConnect(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<AuthenticationResult> {
|
||||
return localVarFp.authenticateWithQuickConnect(uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
authenticateWithQuickConnect(quickConnectDto: QuickConnectDto, options?: any): AxiosPromise<AuthenticationResult> {
|
||||
return localVarFp.authenticateWithQuickConnect(quickConnectDto, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Creates a user.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The create user by name request body.
|
||||
* @param {CreateUserByName} createUserByName The create user by name request body.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createUserByName(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<UserDto> {
|
||||
return localVarFp.createUserByName(uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
createUserByName(createUserByName: CreateUserByName, options?: any): AxiosPromise<UserDto> {
|
||||
return localVarFp.createUserByName(createUserByName, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
@ -937,22 +935,22 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
/**
|
||||
*
|
||||
* @summary Initiates the forgot password process for a local user.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The forgot password request containing the entered username.
|
||||
* @param {ForgotPasswordDto} forgotPasswordDto The forgot password request containing the entered username.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
forgotPassword(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<ForgotPasswordResult> {
|
||||
return localVarFp.forgotPassword(uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
forgotPassword(forgotPasswordDto: ForgotPasswordDto, options?: any): AxiosPromise<ForgotPasswordResult> {
|
||||
return localVarFp.forgotPassword(forgotPasswordDto, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Redeems a forgot password pin.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The forgot password pin request containing the entered pin.
|
||||
* @param {ForgotPasswordPinDto} forgotPasswordPinDto The forgot password pin request containing the entered pin.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
forgotPasswordPin(uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<PinRedeemResult> {
|
||||
return localVarFp.forgotPasswordPin(uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
forgotPasswordPin(forgotPasswordPinDto: ForgotPasswordPinDto, options?: any): AxiosPromise<PinRedeemResult> {
|
||||
return localVarFp.forgotPasswordPin(forgotPasswordPinDto, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
@ -997,56 +995,56 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
*
|
||||
* @summary Updates a user.
|
||||
* @param {string} userId The user id.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The updated user model.
|
||||
* @param {UserDto} userDto The updated user model.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updateUser(userId: string, uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.updateUser(userId, uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
updateUser(userId: string, userDto: UserDto, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.updateUser(userId, userDto, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Updates a user configuration.
|
||||
* @param {string} userId The user id.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The new user configuration.
|
||||
* @param {UserConfiguration} userConfiguration The new user configuration.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updateUserConfiguration(userId: string, uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.updateUserConfiguration(userId, uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
updateUserConfiguration(userId: string, userConfiguration: UserConfiguration, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.updateUserConfiguration(userId, userConfiguration, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Updates a user\'s easy password.
|
||||
* @param {string} userId The user id.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The M:Jellyfin.Api.Controllers.UserController.UpdateUserEasyPassword(System.Guid,Jellyfin.Api.Models.UserDtos.UpdateUserEasyPassword) request.
|
||||
* @param {UpdateUserEasyPassword} updateUserEasyPassword The M:Jellyfin.Api.Controllers.UserController.UpdateUserEasyPassword(System.Guid,Jellyfin.Api.Models.UserDtos.UpdateUserEasyPassword) request.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updateUserEasyPassword(userId: string, uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.updateUserEasyPassword(userId, uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
updateUserEasyPassword(userId: string, updateUserEasyPassword: UpdateUserEasyPassword, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.updateUserEasyPassword(userId, updateUserEasyPassword, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Updates a user\'s password.
|
||||
* @param {string} userId The user id.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The M:Jellyfin.Api.Controllers.UserController.UpdateUserPassword(System.Guid,Jellyfin.Api.Models.UserDtos.UpdateUserPassword) request.
|
||||
* @param {UpdateUserPassword} updateUserPassword The M:Jellyfin.Api.Controllers.UserController.UpdateUserPassword(System.Guid,Jellyfin.Api.Models.UserDtos.UpdateUserPassword) request.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updateUserPassword(userId: string, uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.updateUserPassword(userId, uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
updateUserPassword(userId: string, updateUserPassword: UpdateUserPassword, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.updateUserPassword(userId, updateUserPassword, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Updates a user policy.
|
||||
* @param {string} userId The user id.
|
||||
* @param {UNKNOWN_BASE_TYPE} uNKNOWNBASETYPE The new user policy.
|
||||
* @param {UserPolicy} userPolicy The new user policy.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updateUserPolicy(userId: string, uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.updateUserPolicy(userId, uNKNOWNBASETYPE, options).then((request) => request(axios, basePath));
|
||||
updateUserPolicy(userId: string, userPolicy: UserPolicy, options?: any): AxiosPromise<void> {
|
||||
return localVarFp.updateUserPolicy(userId, userPolicy, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
};
|
||||
@ -1087,10 +1085,10 @@ export interface UserApiAuthenticateUserRequest {
|
||||
export interface UserApiAuthenticateUserByNameRequest {
|
||||
/**
|
||||
* The M:Jellyfin.Api.Controllers.UserController.AuthenticateUserByName(Jellyfin.Api.Models.UserDtos.AuthenticateUserByName) request.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {AuthenticateUserByName}
|
||||
* @memberof UserApiAuthenticateUserByName
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE
|
||||
readonly authenticateUserByName: AuthenticateUserByName
|
||||
}
|
||||
|
||||
/**
|
||||
@ -1101,10 +1099,10 @@ export interface UserApiAuthenticateUserByNameRequest {
|
||||
export interface UserApiAuthenticateWithQuickConnectRequest {
|
||||
/**
|
||||
* The Jellyfin.Api.Models.UserDtos.QuickConnectDto request.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {QuickConnectDto}
|
||||
* @memberof UserApiAuthenticateWithQuickConnect
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE
|
||||
readonly quickConnectDto: QuickConnectDto
|
||||
}
|
||||
|
||||
/**
|
||||
@ -1115,10 +1113,10 @@ export interface UserApiAuthenticateWithQuickConnectRequest {
|
||||
export interface UserApiCreateUserByNameRequest {
|
||||
/**
|
||||
* The create user by name request body.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {CreateUserByName}
|
||||
* @memberof UserApiCreateUserByName
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE
|
||||
readonly createUserByName: CreateUserByName
|
||||
}
|
||||
|
||||
/**
|
||||
@ -1143,10 +1141,10 @@ export interface UserApiDeleteUserRequest {
|
||||
export interface UserApiForgotPasswordRequest {
|
||||
/**
|
||||
* The forgot password request containing the entered username.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {ForgotPasswordDto}
|
||||
* @memberof UserApiForgotPassword
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE
|
||||
readonly forgotPasswordDto: ForgotPasswordDto
|
||||
}
|
||||
|
||||
/**
|
||||
@ -1157,10 +1155,10 @@ export interface UserApiForgotPasswordRequest {
|
||||
export interface UserApiForgotPasswordPinRequest {
|
||||
/**
|
||||
* The forgot password pin request containing the entered pin.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {ForgotPasswordPinDto}
|
||||
* @memberof UserApiForgotPasswordPin
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE
|
||||
readonly forgotPasswordPinDto: ForgotPasswordPinDto
|
||||
}
|
||||
|
||||
/**
|
||||
@ -1213,10 +1211,10 @@ export interface UserApiUpdateUserRequest {
|
||||
|
||||
/**
|
||||
* The updated user model.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {UserDto}
|
||||
* @memberof UserApiUpdateUser
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE
|
||||
readonly userDto: UserDto
|
||||
}
|
||||
|
||||
/**
|
||||
@ -1234,10 +1232,10 @@ export interface UserApiUpdateUserConfigurationRequest {
|
||||
|
||||
/**
|
||||
* The new user configuration.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {UserConfiguration}
|
||||
* @memberof UserApiUpdateUserConfiguration
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE
|
||||
readonly userConfiguration: UserConfiguration
|
||||
}
|
||||
|
||||
/**
|
||||
@ -1255,10 +1253,10 @@ export interface UserApiUpdateUserEasyPasswordRequest {
|
||||
|
||||
/**
|
||||
* The M:Jellyfin.Api.Controllers.UserController.UpdateUserEasyPassword(System.Guid,Jellyfin.Api.Models.UserDtos.UpdateUserEasyPassword) request.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {UpdateUserEasyPassword}
|
||||
* @memberof UserApiUpdateUserEasyPassword
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE
|
||||
readonly updateUserEasyPassword: UpdateUserEasyPassword
|
||||
}
|
||||
|
||||
/**
|
||||
@ -1276,10 +1274,10 @@ export interface UserApiUpdateUserPasswordRequest {
|
||||
|
||||
/**
|
||||
* The M:Jellyfin.Api.Controllers.UserController.UpdateUserPassword(System.Guid,Jellyfin.Api.Models.UserDtos.UpdateUserPassword) request.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {UpdateUserPassword}
|
||||
* @memberof UserApiUpdateUserPassword
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE
|
||||
readonly updateUserPassword: UpdateUserPassword
|
||||
}
|
||||
|
||||
/**
|
||||
@ -1297,10 +1295,10 @@ export interface UserApiUpdateUserPolicyRequest {
|
||||
|
||||
/**
|
||||
* The new user policy.
|
||||
* @type {UNKNOWN_BASE_TYPE}
|
||||
* @type {UserPolicy}
|
||||
* @memberof UserApiUpdateUserPolicy
|
||||
*/
|
||||
readonly uNKNOWNBASETYPE: UNKNOWN_BASE_TYPE
|
||||
readonly userPolicy: UserPolicy
|
||||
}
|
||||
|
||||
/**
|
||||
@ -1331,7 +1329,7 @@ export class UserApi extends BaseAPI {
|
||||
* @memberof UserApi
|
||||
*/
|
||||
public authenticateUserByName(requestParameters: UserApiAuthenticateUserByNameRequest, options?: any) {
|
||||
return UserApiFp(this.configuration).authenticateUserByName(requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return UserApiFp(this.configuration).authenticateUserByName(requestParameters.authenticateUserByName, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -1343,7 +1341,7 @@ export class UserApi extends BaseAPI {
|
||||
* @memberof UserApi
|
||||
*/
|
||||
public authenticateWithQuickConnect(requestParameters: UserApiAuthenticateWithQuickConnectRequest, options?: any) {
|
||||
return UserApiFp(this.configuration).authenticateWithQuickConnect(requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return UserApiFp(this.configuration).authenticateWithQuickConnect(requestParameters.quickConnectDto, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -1355,7 +1353,7 @@ export class UserApi extends BaseAPI {
|
||||
* @memberof UserApi
|
||||
*/
|
||||
public createUserByName(requestParameters: UserApiCreateUserByNameRequest, options?: any) {
|
||||
return UserApiFp(this.configuration).createUserByName(requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return UserApiFp(this.configuration).createUserByName(requestParameters.createUserByName, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -1379,7 +1377,7 @@ export class UserApi extends BaseAPI {
|
||||
* @memberof UserApi
|
||||
*/
|
||||
public forgotPassword(requestParameters: UserApiForgotPasswordRequest, options?: any) {
|
||||
return UserApiFp(this.configuration).forgotPassword(requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return UserApiFp(this.configuration).forgotPassword(requestParameters.forgotPasswordDto, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -1391,7 +1389,7 @@ export class UserApi extends BaseAPI {
|
||||
* @memberof UserApi
|
||||
*/
|
||||
public forgotPasswordPin(requestParameters: UserApiForgotPasswordPinRequest, options?: any) {
|
||||
return UserApiFp(this.configuration).forgotPasswordPin(requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return UserApiFp(this.configuration).forgotPasswordPin(requestParameters.forgotPasswordPinDto, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -1449,7 +1447,7 @@ export class UserApi extends BaseAPI {
|
||||
* @memberof UserApi
|
||||
*/
|
||||
public updateUser(requestParameters: UserApiUpdateUserRequest, options?: any) {
|
||||
return UserApiFp(this.configuration).updateUser(requestParameters.userId, requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return UserApiFp(this.configuration).updateUser(requestParameters.userId, requestParameters.userDto, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -1461,7 +1459,7 @@ export class UserApi extends BaseAPI {
|
||||
* @memberof UserApi
|
||||
*/
|
||||
public updateUserConfiguration(requestParameters: UserApiUpdateUserConfigurationRequest, options?: any) {
|
||||
return UserApiFp(this.configuration).updateUserConfiguration(requestParameters.userId, requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return UserApiFp(this.configuration).updateUserConfiguration(requestParameters.userId, requestParameters.userConfiguration, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -1473,7 +1471,7 @@ export class UserApi extends BaseAPI {
|
||||
* @memberof UserApi
|
||||
*/
|
||||
public updateUserEasyPassword(requestParameters: UserApiUpdateUserEasyPasswordRequest, options?: any) {
|
||||
return UserApiFp(this.configuration).updateUserEasyPassword(requestParameters.userId, requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return UserApiFp(this.configuration).updateUserEasyPassword(requestParameters.userId, requestParameters.updateUserEasyPassword, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -1485,7 +1483,7 @@ export class UserApi extends BaseAPI {
|
||||
* @memberof UserApi
|
||||
*/
|
||||
public updateUserPassword(requestParameters: UserApiUpdateUserPasswordRequest, options?: any) {
|
||||
return UserApiFp(this.configuration).updateUserPassword(requestParameters.userId, requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return UserApiFp(this.configuration).updateUserPassword(requestParameters.userId, requestParameters.updateUserPassword, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -1497,6 +1495,6 @@ export class UserApi extends BaseAPI {
|
||||
* @memberof UserApi
|
||||
*/
|
||||
public updateUserPolicy(requestParameters: UserApiUpdateUserPolicyRequest, options?: any) {
|
||||
return UserApiFp(this.configuration).updateUserPolicy(requestParameters.userId, requestParameters.uNKNOWNBASETYPE, options).then((request) => request(this.axios, this.basePath));
|
||||
return UserApiFp(this.configuration).updateUserPolicy(requestParameters.userId, requestParameters.userPolicy, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
}
|
||||
|
@ -34,7 +34,7 @@ export interface AccessSchedule {
|
||||
*/
|
||||
UserId: string;
|
||||
/**
|
||||
* Gets or sets the day of week.
|
||||
*
|
||||
* @type {DynamicDayOfWeek}
|
||||
* @memberof AccessSchedule
|
||||
*/
|
||||
|
@ -77,7 +77,7 @@ export interface ActivityLogEntry {
|
||||
*/
|
||||
UserPrimaryImageTag?: string | null;
|
||||
/**
|
||||
* Gets or sets the log severity.
|
||||
*
|
||||
* @type {LogLevel}
|
||||
* @memberof ActivityLogEntry
|
||||
*/
|
||||
|
@ -22,11 +22,11 @@ import { LibraryOptions } from './library-options';
|
||||
*/
|
||||
export interface AddVirtualFolderDto {
|
||||
/**
|
||||
* Gets or sets library options.
|
||||
*
|
||||
* @type {LibraryOptions}
|
||||
* @memberof AddVirtualFolderDto
|
||||
*/
|
||||
LibraryOptions?: LibraryOptions | null;
|
||||
LibraryOptions?: LibraryOptions;
|
||||
}
|
||||
|
||||
|
||||
|
@ -34,11 +34,11 @@ export interface AdminNotificationDto {
|
||||
*/
|
||||
Description?: string | null;
|
||||
/**
|
||||
* Gets or sets the notification level.
|
||||
*
|
||||
* @type {NotificationLevel}
|
||||
* @memberof AdminNotificationDto
|
||||
*/
|
||||
NotificationLevel?: NotificationLevel | null;
|
||||
NotificationLevel?: NotificationLevel;
|
||||
/**
|
||||
* Gets or sets the notification url.
|
||||
* @type {string}
|
||||
|
@ -26,7 +26,7 @@ export interface AlbumInfoRemoteSearchQuery {
|
||||
* @type {AlbumInfo}
|
||||
* @memberof AlbumInfoRemoteSearchQuery
|
||||
*/
|
||||
SearchInfo?: AlbumInfo | null;
|
||||
SearchInfo?: AlbumInfo;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
|
@ -22,23 +22,23 @@ import { ThemeMediaResult } from './theme-media-result';
|
||||
*/
|
||||
export interface AllThemeMediaResult {
|
||||
/**
|
||||
* Class ThemeMediaResult.
|
||||
*
|
||||
* @type {ThemeMediaResult}
|
||||
* @memberof AllThemeMediaResult
|
||||
*/
|
||||
ThemeVideosResult?: ThemeMediaResult | null;
|
||||
ThemeVideosResult?: ThemeMediaResult;
|
||||
/**
|
||||
* Class ThemeMediaResult.
|
||||
*
|
||||
* @type {ThemeMediaResult}
|
||||
* @memberof AllThemeMediaResult
|
||||
*/
|
||||
ThemeSongsResult?: ThemeMediaResult | null;
|
||||
ThemeSongsResult?: ThemeMediaResult;
|
||||
/**
|
||||
* Class ThemeMediaResult.
|
||||
*
|
||||
* @type {ThemeMediaResult}
|
||||
* @memberof AllThemeMediaResult
|
||||
*/
|
||||
SoundtrackSongsResult?: ThemeMediaResult | null;
|
||||
SoundtrackSongsResult?: ThemeMediaResult;
|
||||
}
|
||||
|
||||
|
||||
|
@ -26,7 +26,7 @@ export interface ArtistInfoRemoteSearchQuery {
|
||||
* @type {ArtistInfo}
|
||||
* @memberof ArtistInfoRemoteSearchQuery
|
||||
*/
|
||||
SearchInfo?: ArtistInfo | null;
|
||||
SearchInfo?: ArtistInfo;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
|
@ -23,17 +23,17 @@ import { UserDto } from './user-dto';
|
||||
*/
|
||||
export interface AuthenticationResult {
|
||||
/**
|
||||
* Class UserDto.
|
||||
*
|
||||
* @type {UserDto}
|
||||
* @memberof AuthenticationResult
|
||||
*/
|
||||
User?: UserDto | null;
|
||||
User?: UserDto;
|
||||
/**
|
||||
* Class SessionInfo.
|
||||
*
|
||||
* @type {SessionInfo}
|
||||
* @memberof AuthenticationResult
|
||||
*/
|
||||
SessionInfo?: SessionInfo | null;
|
||||
SessionInfo?: SessionInfo;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
|
@ -172,11 +172,11 @@ export interface BaseItemDto {
|
||||
*/
|
||||
ForcedSortName?: string | null;
|
||||
/**
|
||||
* Gets or sets the video3 D format.
|
||||
*
|
||||
* @type {Video3DFormat}
|
||||
* @memberof BaseItemDto
|
||||
*/
|
||||
Video3DFormat?: Video3DFormat | null;
|
||||
Video3DFormat?: Video3DFormat;
|
||||
/**
|
||||
* Gets or sets the premiere date.
|
||||
* @type {string}
|
||||
@ -280,11 +280,11 @@ export interface BaseItemDto {
|
||||
*/
|
||||
RunTimeTicks?: number | null;
|
||||
/**
|
||||
* Gets or sets the play access.
|
||||
*
|
||||
* @type {PlayAccess}
|
||||
* @memberof BaseItemDto
|
||||
*/
|
||||
PlayAccess?: PlayAccess | null;
|
||||
PlayAccess?: PlayAccess;
|
||||
/**
|
||||
* Gets or sets the aspect ratio.
|
||||
* @type {string}
|
||||
@ -412,11 +412,11 @@ export interface BaseItemDto {
|
||||
*/
|
||||
LocalTrailerCount?: number | null;
|
||||
/**
|
||||
* User data for this item based on the user it\'s being requested for.
|
||||
*
|
||||
* @type {UserItemDataDto}
|
||||
* @memberof BaseItemDto
|
||||
*/
|
||||
UserData?: UserItemDataDto | null;
|
||||
UserData?: UserItemDataDto;
|
||||
/**
|
||||
* Gets or sets the recursive item count.
|
||||
* @type {number}
|
||||
@ -562,11 +562,11 @@ export interface BaseItemDto {
|
||||
*/
|
||||
MediaStreams?: Array<MediaStream> | null;
|
||||
/**
|
||||
* Gets or sets the type of the video.
|
||||
*
|
||||
* @type {VideoType}
|
||||
* @memberof BaseItemDto
|
||||
*/
|
||||
VideoType?: VideoType | null;
|
||||
VideoType?: VideoType;
|
||||
/**
|
||||
* Gets or sets the part count.
|
||||
* @type {number}
|
||||
@ -664,17 +664,17 @@ export interface BaseItemDto {
|
||||
*/
|
||||
Chapters?: Array<ChapterInfo> | null;
|
||||
/**
|
||||
* Gets or sets the type of the location.
|
||||
*
|
||||
* @type {LocationType}
|
||||
* @memberof BaseItemDto
|
||||
*/
|
||||
LocationType?: LocationType | null;
|
||||
LocationType?: LocationType;
|
||||
/**
|
||||
* Gets or sets the type of the iso.
|
||||
*
|
||||
* @type {IsoType}
|
||||
* @memberof BaseItemDto
|
||||
*/
|
||||
IsoType?: IsoType | null;
|
||||
IsoType?: IsoType;
|
||||
/**
|
||||
* Gets or sets the type of the media.
|
||||
* @type {string}
|
||||
@ -800,7 +800,7 @@ export interface BaseItemDto {
|
||||
* @type {ImageOrientation}
|
||||
* @memberof BaseItemDto
|
||||
*/
|
||||
ImageOrientation?: ImageOrientation | null;
|
||||
ImageOrientation?: ImageOrientation;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
@ -880,17 +880,17 @@ export interface BaseItemDto {
|
||||
*/
|
||||
EpisodeTitle?: string | null;
|
||||
/**
|
||||
* Gets or sets the type of the channel.
|
||||
*
|
||||
* @type {ChannelType}
|
||||
* @memberof BaseItemDto
|
||||
*/
|
||||
ChannelType?: ChannelType | null;
|
||||
ChannelType?: ChannelType;
|
||||
/**
|
||||
* Gets or sets the audio.
|
||||
*
|
||||
* @type {ProgramAudio}
|
||||
* @memberof BaseItemDto
|
||||
*/
|
||||
Audio?: ProgramAudio | null;
|
||||
Audio?: ProgramAudio;
|
||||
/**
|
||||
* Gets or sets a value indicating whether this instance is movie.
|
||||
* @type {boolean}
|
||||
@ -940,11 +940,11 @@ export interface BaseItemDto {
|
||||
*/
|
||||
TimerId?: string | null;
|
||||
/**
|
||||
* Gets or sets the current program.
|
||||
*
|
||||
* @type {BaseItemDto}
|
||||
* @memberof BaseItemDto
|
||||
*/
|
||||
CurrentProgram?: BaseItemDto | null;
|
||||
CurrentProgram?: BaseItemDto;
|
||||
}
|
||||
|
||||
|
||||
|
@ -26,7 +26,7 @@ export interface BookInfoRemoteSearchQuery {
|
||||
* @type {BookInfo}
|
||||
* @memberof BookInfoRemoteSearchQuery
|
||||
*/
|
||||
SearchInfo?: BookInfo | null;
|
||||
SearchInfo?: BookInfo;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
|
@ -26,7 +26,7 @@ export interface BoxSetInfoRemoteSearchQuery {
|
||||
* @type {BoxSetInfo}
|
||||
* @memberof BoxSetInfoRemoteSearchQuery
|
||||
*/
|
||||
SearchInfo?: BoxSetInfo | null;
|
||||
SearchInfo?: BoxSetInfo;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
|
@ -65,11 +65,11 @@ export interface ClientCapabilitiesDto {
|
||||
*/
|
||||
SupportsSync?: boolean;
|
||||
/**
|
||||
* Gets or sets the device profile.
|
||||
*
|
||||
* @type {DeviceProfile}
|
||||
* @memberof ClientCapabilitiesDto
|
||||
*/
|
||||
DeviceProfile?: DeviceProfile | null;
|
||||
DeviceProfile?: DeviceProfile;
|
||||
/**
|
||||
* Gets or sets the app store url.
|
||||
* @type {string}
|
||||
|
@ -65,11 +65,11 @@ export interface ClientCapabilities {
|
||||
*/
|
||||
SupportsSync?: boolean;
|
||||
/**
|
||||
* Defines the MediaBrowser.Model.Dlna.DeviceProfile.
|
||||
*
|
||||
* @type {DeviceProfile}
|
||||
* @memberof ClientCapabilities
|
||||
*/
|
||||
DeviceProfile?: DeviceProfile | null;
|
||||
DeviceProfile?: DeviceProfile;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
|
@ -52,7 +52,7 @@ export interface ConfigurationPageInfo {
|
||||
*/
|
||||
DisplayName?: string | null;
|
||||
/**
|
||||
* Enum ConfigurationPageType.
|
||||
*
|
||||
* @type {ConfigurationPageType}
|
||||
* @memberof ConfigurationPageInfo
|
||||
*/
|
||||
|
@ -64,11 +64,11 @@ export interface DeviceInfo {
|
||||
*/
|
||||
DateLastActivity?: string;
|
||||
/**
|
||||
* Gets or sets the capabilities.
|
||||
*
|
||||
* @type {ClientCapabilities}
|
||||
* @memberof DeviceInfo
|
||||
*/
|
||||
Capabilities?: ClientCapabilities | null;
|
||||
Capabilities?: ClientCapabilities;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
|
@ -34,7 +34,7 @@ export interface DeviceProfileInfo {
|
||||
*/
|
||||
Name?: string | null;
|
||||
/**
|
||||
* Gets or sets the type.
|
||||
*
|
||||
* @type {DeviceProfileType}
|
||||
* @memberof DeviceProfileInfo
|
||||
*/
|
||||
|
@ -41,11 +41,11 @@ export interface DeviceProfile {
|
||||
*/
|
||||
Id?: string | null;
|
||||
/**
|
||||
* Gets or sets the Identification.
|
||||
*
|
||||
* @type {DeviceIdentification}
|
||||
* @memberof DeviceProfile
|
||||
*/
|
||||
Identification?: DeviceIdentification | null;
|
||||
Identification?: DeviceIdentification;
|
||||
/**
|
||||
* Gets or sets the FriendlyName.
|
||||
* @type {string}
|
||||
|
@ -71,7 +71,7 @@ export interface DisplayPreferencesDto {
|
||||
*/
|
||||
CustomPrefs?: { [key: string]: string; } | null;
|
||||
/**
|
||||
* An enum representing the axis that should be scrolled.
|
||||
*
|
||||
* @type {ScrollDirection}
|
||||
* @memberof DisplayPreferencesDto
|
||||
*/
|
||||
@ -89,7 +89,7 @@ export interface DisplayPreferencesDto {
|
||||
*/
|
||||
RememberSorting?: boolean;
|
||||
/**
|
||||
* An enum representing the sorting order.
|
||||
*
|
||||
* @type {SortOrder}
|
||||
* @memberof DisplayPreferencesDto
|
||||
*/
|
||||
|
@ -34,11 +34,11 @@ export interface ExternalIdInfo {
|
||||
*/
|
||||
Key?: string | null;
|
||||
/**
|
||||
* Gets or sets the specific media type for this id. This is used to distinguish between the different external id types for providers with multiple ids. A null value indicates there is no specific media type associated with the external id, or this is the default id for the external provider so there is no need to specify a type.
|
||||
*
|
||||
* @type {ExternalIdMediaType}
|
||||
* @memberof ExternalIdInfo
|
||||
*/
|
||||
Type?: ExternalIdMediaType | null;
|
||||
Type?: ExternalIdMediaType;
|
||||
/**
|
||||
* Gets or sets the URL format string.
|
||||
* @type {string}
|
||||
|
@ -34,7 +34,7 @@ export interface FileSystemEntryInfo {
|
||||
*/
|
||||
Path?: string | null;
|
||||
/**
|
||||
* Gets the type.
|
||||
*
|
||||
* @type {FileSystemEntryType}
|
||||
* @memberof FileSystemEntryInfo
|
||||
*/
|
||||
|
@ -22,7 +22,7 @@ import { ForgotPasswordAction } from './forgot-password-action';
|
||||
*/
|
||||
export interface ForgotPasswordResult {
|
||||
/**
|
||||
* Gets or sets the action.
|
||||
*
|
||||
* @type {ForgotPasswordAction}
|
||||
* @memberof ForgotPasswordResult
|
||||
*/
|
||||
|
@ -22,7 +22,7 @@ import { GeneralCommandType } from './general-command-type';
|
||||
*/
|
||||
export interface GeneralCommand {
|
||||
/**
|
||||
* This exists simply to identify a set of known commands.
|
||||
*
|
||||
* @type {GeneralCommandType}
|
||||
* @memberof GeneralCommand
|
||||
*/
|
||||
|
@ -34,7 +34,7 @@ export interface GroupInfoDto {
|
||||
*/
|
||||
GroupName?: string | null;
|
||||
/**
|
||||
* Gets the group state.
|
||||
*
|
||||
* @type {GroupStateType}
|
||||
* @memberof GroupInfoDto
|
||||
*/
|
||||
|
@ -22,7 +22,7 @@ import { ImageType } from './image-type';
|
||||
*/
|
||||
export interface ImageInfo {
|
||||
/**
|
||||
* Gets or sets the type of the image.
|
||||
*
|
||||
* @type {ImageType}
|
||||
* @memberof ImageInfo
|
||||
*/
|
||||
|
@ -22,7 +22,7 @@ import { ImageType } from './image-type';
|
||||
*/
|
||||
export interface ImageOption {
|
||||
/**
|
||||
* Gets or sets the type.
|
||||
*
|
||||
* @type {ImageType}
|
||||
* @memberof ImageOption
|
||||
*/
|
||||
|
@ -35,11 +35,11 @@ export interface InstallationInfo {
|
||||
*/
|
||||
Name?: string | null;
|
||||
/**
|
||||
* Gets or sets the version.
|
||||
*
|
||||
* @type {Version}
|
||||
* @memberof InstallationInfo
|
||||
*/
|
||||
Version?: Version | null;
|
||||
Version?: Version;
|
||||
/**
|
||||
* Gets or sets the changelog for this version.
|
||||
* @type {string}
|
||||
@ -59,11 +59,11 @@ export interface InstallationInfo {
|
||||
*/
|
||||
Checksum?: string | null;
|
||||
/**
|
||||
* Gets or sets package information for the installation.
|
||||
*
|
||||
* @type {PackageInfo}
|
||||
* @memberof InstallationInfo
|
||||
*/
|
||||
PackageInfo?: PackageInfo | null;
|
||||
PackageInfo?: PackageInfo;
|
||||
}
|
||||
|
||||
|
||||
|
@ -40,11 +40,11 @@ export interface IPlugin {
|
||||
*/
|
||||
Id?: string;
|
||||
/**
|
||||
* Gets the plugin version.
|
||||
*
|
||||
* @type {Version}
|
||||
* @memberof IPlugin
|
||||
*/
|
||||
Version?: Version | null;
|
||||
Version?: Version;
|
||||
/**
|
||||
* Gets the path to the assembly file.
|
||||
* @type {string}
|
||||
|
@ -26,7 +26,7 @@ export interface LiveStreamResponse {
|
||||
* @type {MediaSourceInfo}
|
||||
* @memberof LiveStreamResponse
|
||||
*/
|
||||
MediaSource?: MediaSourceInfo | null;
|
||||
MediaSource?: MediaSourceInfo;
|
||||
}
|
||||
|
||||
|
||||
|
@ -34,7 +34,7 @@ export interface LiveTvServiceInfo {
|
||||
*/
|
||||
HomePageUrl?: string | null;
|
||||
/**
|
||||
* Gets or sets the status.
|
||||
*
|
||||
* @type {LiveTvServiceStatus}
|
||||
* @memberof LiveTvServiceInfo
|
||||
*/
|
||||
|
@ -34,11 +34,11 @@ export interface MediaPathDto {
|
||||
*/
|
||||
Path?: string | null;
|
||||
/**
|
||||
* Gets or sets the path info.
|
||||
*
|
||||
* @type {MediaPathInfo}
|
||||
* @memberof MediaPathDto
|
||||
*/
|
||||
PathInfo?: MediaPathInfo | null;
|
||||
PathInfo?: MediaPathInfo;
|
||||
}
|
||||
|
||||
|
||||
|
@ -57,7 +57,7 @@ export interface MediaSourceInfo {
|
||||
* @type {MediaProtocol}
|
||||
* @memberof MediaSourceInfo
|
||||
*/
|
||||
EncoderProtocol?: MediaProtocol | null;
|
||||
EncoderProtocol?: MediaProtocol;
|
||||
/**
|
||||
*
|
||||
* @type {MediaSourceType}
|
||||
@ -195,19 +195,19 @@ export interface MediaSourceInfo {
|
||||
* @type {VideoType}
|
||||
* @memberof MediaSourceInfo
|
||||
*/
|
||||
VideoType?: VideoType | null;
|
||||
VideoType?: VideoType;
|
||||
/**
|
||||
*
|
||||
* @type {IsoType}
|
||||
* @memberof MediaSourceInfo
|
||||
*/
|
||||
IsoType?: IsoType | null;
|
||||
IsoType?: IsoType;
|
||||
/**
|
||||
*
|
||||
* @type {Video3DFormat}
|
||||
* @memberof MediaSourceInfo
|
||||
*/
|
||||
Video3DFormat?: Video3DFormat | null;
|
||||
Video3DFormat?: Video3DFormat;
|
||||
/**
|
||||
*
|
||||
* @type {Array<MediaStream>}
|
||||
@ -237,7 +237,7 @@ export interface MediaSourceInfo {
|
||||
* @type {TransportStreamTimestamp}
|
||||
* @memberof MediaSourceInfo
|
||||
*/
|
||||
Timestamp?: TransportStreamTimestamp | null;
|
||||
Timestamp?: TransportStreamTimestamp;
|
||||
/**
|
||||
*
|
||||
* @type {{ [key: string]: string; }}
|
||||
|
@ -221,7 +221,7 @@ export interface MediaStream {
|
||||
*/
|
||||
Profile?: string | null;
|
||||
/**
|
||||
* Gets or sets the type.
|
||||
*
|
||||
* @type {MediaStreamType}
|
||||
* @memberof MediaStream
|
||||
*/
|
||||
@ -251,11 +251,11 @@ export interface MediaStream {
|
||||
*/
|
||||
IsExternal?: boolean;
|
||||
/**
|
||||
* Gets or sets the method.
|
||||
*
|
||||
* @type {SubtitleDeliveryMethod}
|
||||
* @memberof MediaStream
|
||||
*/
|
||||
DeliveryMethod?: SubtitleDeliveryMethod | null;
|
||||
DeliveryMethod?: SubtitleDeliveryMethod;
|
||||
/**
|
||||
* Gets or sets the delivery URL.
|
||||
* @type {string}
|
||||
|
@ -26,7 +26,7 @@ export interface MovieInfoRemoteSearchQuery {
|
||||
* @type {MovieInfo}
|
||||
* @memberof MovieInfoRemoteSearchQuery
|
||||
*/
|
||||
SearchInfo?: MovieInfo | null;
|
||||
SearchInfo?: MovieInfo;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
|
@ -26,7 +26,7 @@ export interface MusicVideoInfoRemoteSearchQuery {
|
||||
* @type {MusicVideoInfo}
|
||||
* @memberof MusicVideoInfoRemoteSearchQuery
|
||||
*/
|
||||
SearchInfo?: MusicVideoInfo | null;
|
||||
SearchInfo?: MusicVideoInfo;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
|
@ -64,7 +64,7 @@ export interface NotificationDto {
|
||||
*/
|
||||
Url?: string | null;
|
||||
/**
|
||||
* Gets or sets the notification level.
|
||||
*
|
||||
* @type {NotificationLevel}
|
||||
* @memberof NotificationDto
|
||||
*/
|
||||
|
@ -28,11 +28,11 @@ export interface NotificationsSummaryDto {
|
||||
*/
|
||||
UnreadCount?: number;
|
||||
/**
|
||||
* Gets or sets the maximum unread notification level.
|
||||
*
|
||||
* @type {NotificationLevel}
|
||||
* @memberof NotificationsSummaryDto
|
||||
*/
|
||||
MaxUnreadNotificationLevel?: NotificationLevel | null;
|
||||
MaxUnreadNotificationLevel?: NotificationLevel;
|
||||
}
|
||||
|
||||
|
||||
|
@ -28,7 +28,7 @@ export interface ObjectGroupUpdate {
|
||||
*/
|
||||
GroupId?: string;
|
||||
/**
|
||||
* Gets the update type.
|
||||
*
|
||||
* @type {GroupUpdateType}
|
||||
* @memberof ObjectGroupUpdate
|
||||
*/
|
||||
|
@ -89,11 +89,11 @@ export interface OpenLiveStreamDto {
|
||||
*/
|
||||
EnableDirectStream?: boolean | null;
|
||||
/**
|
||||
* Gets or sets the device profile.
|
||||
*
|
||||
* @type {DeviceProfile}
|
||||
* @memberof OpenLiveStreamDto
|
||||
*/
|
||||
DeviceProfile?: DeviceProfile | null;
|
||||
DeviceProfile?: DeviceProfile;
|
||||
/**
|
||||
* Gets or sets the device play protocols.
|
||||
* @type {Array<MediaProtocol>}
|
||||
|
@ -26,7 +26,7 @@ export interface PersonLookupInfoRemoteSearchQuery {
|
||||
* @type {PersonLookupInfo}
|
||||
* @memberof PersonLookupInfoRemoteSearchQuery
|
||||
*/
|
||||
SearchInfo?: PersonLookupInfo | null;
|
||||
SearchInfo?: PersonLookupInfo;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
|
@ -34,7 +34,7 @@ export interface PlayRequest {
|
||||
*/
|
||||
StartPositionTicks?: number | null;
|
||||
/**
|
||||
* Gets or sets the play command.
|
||||
*
|
||||
* @type {PlayCommand}
|
||||
* @memberof PlayRequest
|
||||
*/
|
||||
|
@ -70,11 +70,11 @@ export interface PlaybackInfoDto {
|
||||
*/
|
||||
LiveStreamId?: string | null;
|
||||
/**
|
||||
* Gets or sets the device profile.
|
||||
*
|
||||
* @type {DeviceProfile}
|
||||
* @memberof PlaybackInfoDto
|
||||
*/
|
||||
DeviceProfile?: DeviceProfile | null;
|
||||
DeviceProfile?: DeviceProfile;
|
||||
/**
|
||||
* Gets or sets a value indicating whether to enable direct play.
|
||||
* @type {boolean}
|
||||
|
@ -35,11 +35,11 @@ export interface PlaybackInfoResponse {
|
||||
*/
|
||||
PlaySessionId?: string | null;
|
||||
/**
|
||||
* Gets or sets the error code.
|
||||
*
|
||||
* @type {PlaybackErrorCode}
|
||||
* @memberof PlaybackInfoResponse
|
||||
*/
|
||||
ErrorCode?: PlaybackErrorCode | null;
|
||||
ErrorCode?: PlaybackErrorCode;
|
||||
}
|
||||
|
||||
|
||||
|
@ -31,11 +31,11 @@ export interface PlaybackProgressInfo {
|
||||
*/
|
||||
CanSeek?: boolean;
|
||||
/**
|
||||
* Gets or sets the item.
|
||||
*
|
||||
* @type {BaseItemDto}
|
||||
* @memberof PlaybackProgressInfo
|
||||
*/
|
||||
Item?: BaseItemDto | null;
|
||||
Item?: BaseItemDto;
|
||||
/**
|
||||
* Gets or sets the item identifier.
|
||||
* @type {string}
|
||||
@ -109,7 +109,7 @@ export interface PlaybackProgressInfo {
|
||||
*/
|
||||
AspectRatio?: string | null;
|
||||
/**
|
||||
* Gets or sets the play method.
|
||||
*
|
||||
* @type {PlayMethod}
|
||||
* @memberof PlaybackProgressInfo
|
||||
*/
|
||||
@ -127,7 +127,7 @@ export interface PlaybackProgressInfo {
|
||||
*/
|
||||
PlaySessionId?: string | null;
|
||||
/**
|
||||
* Gets or sets the repeat mode.
|
||||
*
|
||||
* @type {RepeatMode}
|
||||
* @memberof PlaybackProgressInfo
|
||||
*/
|
||||
|
@ -31,11 +31,11 @@ export interface PlaybackStartInfo {
|
||||
*/
|
||||
CanSeek?: boolean;
|
||||
/**
|
||||
* Gets or sets the item.
|
||||
*
|
||||
* @type {BaseItemDto}
|
||||
* @memberof PlaybackStartInfo
|
||||
*/
|
||||
Item?: BaseItemDto | null;
|
||||
Item?: BaseItemDto;
|
||||
/**
|
||||
* Gets or sets the item identifier.
|
||||
* @type {string}
|
||||
@ -109,7 +109,7 @@ export interface PlaybackStartInfo {
|
||||
*/
|
||||
AspectRatio?: string | null;
|
||||
/**
|
||||
* Gets or sets the play method.
|
||||
*
|
||||
* @type {PlayMethod}
|
||||
* @memberof PlaybackStartInfo
|
||||
*/
|
||||
@ -127,7 +127,7 @@ export interface PlaybackStartInfo {
|
||||
*/
|
||||
PlaySessionId?: string | null;
|
||||
/**
|
||||
* Gets or sets the repeat mode.
|
||||
*
|
||||
* @type {RepeatMode}
|
||||
* @memberof PlaybackStartInfo
|
||||
*/
|
||||
|
@ -23,11 +23,11 @@ import { QueueItem } from './queue-item';
|
||||
*/
|
||||
export interface PlaybackStopInfo {
|
||||
/**
|
||||
* Gets or sets the item.
|
||||
*
|
||||
* @type {BaseItemDto}
|
||||
* @memberof PlaybackStopInfo
|
||||
*/
|
||||
Item?: BaseItemDto | null;
|
||||
Item?: BaseItemDto;
|
||||
/**
|
||||
* Gets or sets the item identifier.
|
||||
* @type {string}
|
||||
|
@ -71,13 +71,13 @@ export interface PlayerStateInfo {
|
||||
*/
|
||||
MediaSourceId?: string | null;
|
||||
/**
|
||||
* Gets or sets the play method.
|
||||
*
|
||||
* @type {PlayMethod}
|
||||
* @memberof PlayerStateInfo
|
||||
*/
|
||||
PlayMethod?: PlayMethod | null;
|
||||
PlayMethod?: PlayMethod;
|
||||
/**
|
||||
* Gets or sets the repeat mode.
|
||||
*
|
||||
* @type {RepeatMode}
|
||||
* @memberof PlayerStateInfo
|
||||
*/
|
||||
|
@ -22,7 +22,7 @@ import { PlaystateCommand } from './playstate-command';
|
||||
*/
|
||||
export interface PlaystateRequest {
|
||||
/**
|
||||
* Enum PlaystateCommand.
|
||||
*
|
||||
* @type {PlaystateCommand}
|
||||
* @memberof PlaystateRequest
|
||||
*/
|
||||
|
@ -29,11 +29,11 @@ export interface PluginInfo {
|
||||
*/
|
||||
Name?: string | null;
|
||||
/**
|
||||
* Gets or sets the version.
|
||||
*
|
||||
* @type {Version}
|
||||
* @memberof PluginInfo
|
||||
*/
|
||||
Version?: Version | null;
|
||||
Version?: Version;
|
||||
/**
|
||||
* Gets or sets the name of the configuration file.
|
||||
* @type {string}
|
||||
@ -65,7 +65,7 @@ export interface PluginInfo {
|
||||
*/
|
||||
HasImage?: boolean;
|
||||
/**
|
||||
* Gets or sets a value indicating the status of the plugin.
|
||||
*
|
||||
* @type {PluginStatus}
|
||||
* @memberof PluginInfo
|
||||
*/
|
||||
|
@ -28,7 +28,7 @@ export interface QueueRequestDto {
|
||||
*/
|
||||
ItemIds?: Array<string> | null;
|
||||
/**
|
||||
* Gets or sets the mode in which to add the new items.
|
||||
*
|
||||
* @type {GroupQueueMode}
|
||||
* @memberof QueueRequestDto
|
||||
*/
|
||||
|
@ -71,13 +71,13 @@ export interface RemoteImageInfo {
|
||||
*/
|
||||
Language?: string | null;
|
||||
/**
|
||||
* Gets or sets the type.
|
||||
*
|
||||
* @type {ImageType}
|
||||
* @memberof RemoteImageInfo
|
||||
*/
|
||||
Type?: ImageType;
|
||||
/**
|
||||
* Gets or sets the type of the rating.
|
||||
*
|
||||
* @type {RatingType}
|
||||
* @memberof RemoteImageInfo
|
||||
*/
|
||||
|
@ -85,7 +85,7 @@ export interface RemoteSearchResult {
|
||||
* @type {RemoteSearchResult}
|
||||
* @memberof RemoteSearchResult
|
||||
*/
|
||||
AlbumArtist?: RemoteSearchResult | null;
|
||||
AlbumArtist?: RemoteSearchResult;
|
||||
/**
|
||||
*
|
||||
* @type {Array<RemoteSearchResult>}
|
||||
|
@ -46,7 +46,7 @@ export interface SendCommand {
|
||||
*/
|
||||
PositionTicks?: number | null;
|
||||
/**
|
||||
* Gets the command.
|
||||
*
|
||||
* @type {SendCommandType}
|
||||
* @memberof SendCommand
|
||||
*/
|
||||
|
@ -26,7 +26,7 @@ export interface SeriesInfoRemoteSearchQuery {
|
||||
* @type {SeriesInfo}
|
||||
* @memberof SeriesInfoRemoteSearchQuery
|
||||
*/
|
||||
SearchInfo?: SeriesInfo | null;
|
||||
SearchInfo?: SeriesInfo;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
|
@ -198,11 +198,11 @@ export interface SeriesTimerInfoDto {
|
||||
*/
|
||||
Days?: Array<DayOfWeek> | null;
|
||||
/**
|
||||
* Gets or sets the day pattern.
|
||||
*
|
||||
* @type {DayPattern}
|
||||
* @memberof SeriesTimerInfoDto
|
||||
*/
|
||||
DayPattern?: DayPattern | null;
|
||||
DayPattern?: DayPattern;
|
||||
/**
|
||||
* Gets or sets the image tags.
|
||||
* @type {{ [key: string]: string; }}
|
||||
|
@ -45,11 +45,11 @@ export interface ServerConfiguration {
|
||||
*/
|
||||
CachePath?: string | null;
|
||||
/**
|
||||
* Gets or sets the last known version that was ran using the configuration.
|
||||
*
|
||||
* @type {Version}
|
||||
* @memberof ServerConfiguration
|
||||
*/
|
||||
PreviousVersion?: Version | null;
|
||||
PreviousVersion?: Version;
|
||||
/**
|
||||
* Gets or sets the stringified PreviousVersion to be stored/loaded, because System.Version itself isn\'t xml-serializable.
|
||||
* @type {string}
|
||||
@ -333,7 +333,7 @@ export interface ServerConfiguration {
|
||||
*/
|
||||
EnableDashboardResponseCaching?: boolean;
|
||||
/**
|
||||
* Gets or sets the image saving convention.
|
||||
*
|
||||
* @type {ImageSavingConvention}
|
||||
* @memberof ServerConfiguration
|
||||
*/
|
||||
|
@ -33,7 +33,7 @@ export interface SessionInfo {
|
||||
* @type {PlayerStateInfo}
|
||||
* @memberof SessionInfo
|
||||
*/
|
||||
PlayState?: PlayerStateInfo | null;
|
||||
PlayState?: PlayerStateInfo;
|
||||
/**
|
||||
*
|
||||
* @type {Array<SessionUserInfo>}
|
||||
@ -45,7 +45,7 @@ export interface SessionInfo {
|
||||
* @type {ClientCapabilities}
|
||||
* @memberof SessionInfo
|
||||
*/
|
||||
Capabilities?: ClientCapabilities | null;
|
||||
Capabilities?: ClientCapabilities;
|
||||
/**
|
||||
* Gets or sets the remote end point.
|
||||
* @type {string}
|
||||
@ -107,23 +107,23 @@ export interface SessionInfo {
|
||||
*/
|
||||
DeviceType?: string | null;
|
||||
/**
|
||||
* Gets or sets the now playing item.
|
||||
*
|
||||
* @type {BaseItemDto}
|
||||
* @memberof SessionInfo
|
||||
*/
|
||||
NowPlayingItem?: BaseItemDto | null;
|
||||
NowPlayingItem?: BaseItemDto;
|
||||
/**
|
||||
* Class BaseItem.
|
||||
*
|
||||
* @type {BaseItem}
|
||||
* @memberof SessionInfo
|
||||
*/
|
||||
FullNowPlayingItem?: BaseItem | null;
|
||||
FullNowPlayingItem?: BaseItem;
|
||||
/**
|
||||
* This is strictly used as a data transfer object from the api layer. This holds information about a BaseItem in a format that is convenient for the client.
|
||||
*
|
||||
* @type {BaseItemDto}
|
||||
* @memberof SessionInfo
|
||||
*/
|
||||
NowViewingItem?: BaseItemDto | null;
|
||||
NowViewingItem?: BaseItemDto;
|
||||
/**
|
||||
* Gets or sets the device id.
|
||||
* @type {string}
|
||||
@ -141,7 +141,7 @@ export interface SessionInfo {
|
||||
* @type {TranscodingInfo}
|
||||
* @memberof SessionInfo
|
||||
*/
|
||||
TranscodingInfo?: TranscodingInfo | null;
|
||||
TranscodingInfo?: TranscodingInfo;
|
||||
/**
|
||||
* Gets a value indicating whether this instance is active.
|
||||
* @type {boolean}
|
||||
|
@ -22,7 +22,7 @@ import { GroupRepeatMode } from './group-repeat-mode';
|
||||
*/
|
||||
export interface SetRepeatModeRequestDto {
|
||||
/**
|
||||
* Gets or sets the repeat mode.
|
||||
*
|
||||
* @type {GroupRepeatMode}
|
||||
* @memberof SetRepeatModeRequestDto
|
||||
*/
|
||||
|
@ -22,7 +22,7 @@ import { GroupShuffleMode } from './group-shuffle-mode';
|
||||
*/
|
||||
export interface SetShuffleModeRequestDto {
|
||||
/**
|
||||
* Gets or sets the shuffle mode.
|
||||
*
|
||||
* @type {GroupShuffleMode}
|
||||
* @memberof SetShuffleModeRequestDto
|
||||
*/
|
||||
|
@ -168,7 +168,7 @@ export interface SystemInfo {
|
||||
*/
|
||||
HasUpdateAvailable?: boolean;
|
||||
/**
|
||||
* Enum describing the location of the FFmpeg tool.
|
||||
*
|
||||
* @type {FFmpegLocation}
|
||||
* @memberof SystemInfo
|
||||
*/
|
||||
|
@ -30,7 +30,7 @@ export interface TaskInfo {
|
||||
*/
|
||||
Name?: string | null;
|
||||
/**
|
||||
* Gets or sets the state of the task.
|
||||
*
|
||||
* @type {TaskState}
|
||||
* @memberof TaskInfo
|
||||
*/
|
||||
@ -48,11 +48,11 @@ export interface TaskInfo {
|
||||
*/
|
||||
Id?: string | null;
|
||||
/**
|
||||
* Gets or sets the last execution result.
|
||||
*
|
||||
* @type {TaskResult}
|
||||
* @memberof TaskInfo
|
||||
*/
|
||||
LastExecutionResult?: TaskResult | null;
|
||||
LastExecutionResult?: TaskResult;
|
||||
/**
|
||||
* Gets or sets the triggers.
|
||||
* @type {Array<TaskTriggerInfo>}
|
||||
|
@ -34,7 +34,7 @@ export interface TaskResult {
|
||||
*/
|
||||
EndTimeUtc?: string;
|
||||
/**
|
||||
* Gets or sets the status.
|
||||
*
|
||||
* @type {TaskCompletionStatus}
|
||||
* @memberof TaskResult
|
||||
*/
|
||||
|
@ -40,11 +40,11 @@ export interface TaskTriggerInfo {
|
||||
*/
|
||||
IntervalTicks?: number | null;
|
||||
/**
|
||||
* Gets or sets the day of week.
|
||||
*
|
||||
* @type {DayOfWeek}
|
||||
* @memberof TaskTriggerInfo
|
||||
*/
|
||||
DayOfWeek?: DayOfWeek | null;
|
||||
DayOfWeek?: DayOfWeek;
|
||||
/**
|
||||
* Gets or sets the maximum runtime ticks.
|
||||
* @type {number}
|
||||
|
@ -162,7 +162,7 @@ export interface TimerInfoDto {
|
||||
*/
|
||||
KeepUntil?: KeepUntil;
|
||||
/**
|
||||
* Gets or sets the status.
|
||||
*
|
||||
* @type {RecordingStatus}
|
||||
* @memberof TimerInfoDto
|
||||
*/
|
||||
@ -186,11 +186,11 @@ export interface TimerInfoDto {
|
||||
*/
|
||||
RunTimeTicks?: number | null;
|
||||
/**
|
||||
* Gets or sets the program information.
|
||||
*
|
||||
* @type {BaseItemDto}
|
||||
* @memberof TimerInfoDto
|
||||
*/
|
||||
ProgramInfo?: BaseItemDto | null;
|
||||
ProgramInfo?: BaseItemDto;
|
||||
}
|
||||
|
||||
|
||||
|
@ -26,7 +26,7 @@ export interface TrailerInfoRemoteSearchQuery {
|
||||
* @type {TrailerInfo}
|
||||
* @memberof TrailerInfoRemoteSearchQuery
|
||||
*/
|
||||
SearchInfo?: TrailerInfo | null;
|
||||
SearchInfo?: TrailerInfo;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
|
@ -28,11 +28,11 @@ export interface UpdateLibraryOptionsDto {
|
||||
*/
|
||||
Id?: string;
|
||||
/**
|
||||
* Gets or sets library options.
|
||||
*
|
||||
* @type {LibraryOptions}
|
||||
* @memberof UpdateLibraryOptionsDto
|
||||
*/
|
||||
LibraryOptions?: LibraryOptions | null;
|
||||
LibraryOptions?: LibraryOptions;
|
||||
}
|
||||
|
||||
|
||||
|
@ -28,7 +28,7 @@ export interface UpdateMediaPathRequestDto {
|
||||
*/
|
||||
Name: string;
|
||||
/**
|
||||
* Gets or sets library folder path information.
|
||||
*
|
||||
* @type {MediaPathInfo}
|
||||
* @memberof UpdateMediaPathRequestDto
|
||||
*/
|
||||
|
@ -52,7 +52,7 @@ export interface UserConfiguration {
|
||||
*/
|
||||
GroupedFolders?: Array<string> | null;
|
||||
/**
|
||||
* An enum representing a subtitle playback mode.
|
||||
*
|
||||
* @type {SubtitlePlaybackMode}
|
||||
* @memberof UserConfiguration
|
||||
*/
|
||||
|
@ -89,17 +89,17 @@ export interface UserDto {
|
||||
*/
|
||||
LastActivityDate?: string | null;
|
||||
/**
|
||||
* Gets or sets the configuration.
|
||||
*
|
||||
* @type {UserConfiguration}
|
||||
* @memberof UserDto
|
||||
*/
|
||||
Configuration?: UserConfiguration | null;
|
||||
Configuration?: UserConfiguration;
|
||||
/**
|
||||
* Gets or sets the policy.
|
||||
*
|
||||
* @type {UserPolicy}
|
||||
* @memberof UserDto
|
||||
*/
|
||||
Policy?: UserPolicy | null;
|
||||
Policy?: UserPolicy;
|
||||
/**
|
||||
* Gets or sets the primary image aspect ratio.
|
||||
* @type {number}
|
||||
|
@ -252,7 +252,7 @@ export interface UserPolicy {
|
||||
*/
|
||||
PasswordResetProviderId?: string | null;
|
||||
/**
|
||||
* Enum SyncPlayUserAccessType.
|
||||
*
|
||||
* @type {SyncPlayUserAccessType}
|
||||
* @memberof UserPolicy
|
||||
*/
|
||||
|
@ -28,11 +28,11 @@ export interface VersionInfo {
|
||||
*/
|
||||
version?: string | null;
|
||||
/**
|
||||
* Gets the version as a System.Version.
|
||||
*
|
||||
* @type {Version}
|
||||
* @memberof VersionInfo
|
||||
*/
|
||||
VersionNumber?: Version | null;
|
||||
VersionNumber?: Version;
|
||||
/**
|
||||
* Gets or sets the changelog for this version.
|
||||
* @type {string}
|
||||
|
@ -35,17 +35,17 @@ export interface VirtualFolderInfo {
|
||||
*/
|
||||
Locations?: Array<string> | null;
|
||||
/**
|
||||
* Gets or sets the type of the collection.
|
||||
*
|
||||
* @type {CollectionTypeOptions}
|
||||
* @memberof VirtualFolderInfo
|
||||
*/
|
||||
CollectionType?: CollectionTypeOptions | null;
|
||||
CollectionType?: CollectionTypeOptions;
|
||||
/**
|
||||
*
|
||||
* @type {LibraryOptions}
|
||||
* @memberof VirtualFolderInfo
|
||||
*/
|
||||
LibraryOptions?: LibraryOptions | null;
|
||||
LibraryOptions?: LibraryOptions;
|
||||
/**
|
||||
* Gets or sets the item identifier.
|
||||
* @type {string}
|
||||
|
Loading…
Reference in New Issue
Block a user