From d2c3838c84b395666f3e42d076b18a7c8c055d30 Mon Sep 17 00:00:00 2001 From: GitHub Action Bot Date: Mon, 17 Apr 2023 14:14:51 +0000 Subject: [PATCH] Automated build 'Adjusting Headers and parameters' typescript-axios sdk: 4722224093 --- dist/sdk-output/api.d.ts | 3038 +-------------------- dist/sdk-output/api.js | 3542 +++++++++--------------- dist/sdk-output/api.js.map | 2 +- sdk-output/api.ts | 5196 +++++------------------------------- 4 files changed, 1961 insertions(+), 9817 deletions(-) diff --git a/dist/sdk-output/api.d.ts b/dist/sdk-output/api.d.ts index 3c734a98..d25c020f 100644 --- a/dist/sdk-output/api.d.ts +++ b/dist/sdk-output/api.d.ts @@ -551,31 +551,17 @@ export declare const ActivitiesApiAxiosParamCreator: (configuration?: Configurat * Cancel Server Activities * @summary Cancel Server Activities * @param {any} activityUUID The UUID of the activity to cancel. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - cancelServerActivities: (activityUUID: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig) => Promise; + cancelServerActivities: (activityUUID: any, axiosOptions?: AxiosRequestConfig) => Promise; /** * Get Server Activities * @summary Get Server Activities - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getServerActivities: (xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig) => Promise; + getServerActivities: (axiosOptions?: AxiosRequestConfig) => Promise; }; /** * ActivitiesApi - functional programming interface @@ -586,31 +572,17 @@ export declare const ActivitiesApiFp: (configuration?: Configuration) => { * Cancel Server Activities * @summary Cancel Server Activities * @param {any} activityUUID The UUID of the activity to cancel. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - cancelServerActivities(activityUUID: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; + cancelServerActivities(activityUUID: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Get Server Activities * @summary Get Server Activities - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getServerActivities(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; + getServerActivities(axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * ActivitiesApi - factory interface @@ -621,31 +593,17 @@ export declare const ActivitiesApiFactory: (configuration?: Configuration, baseP * Cancel Server Activities * @summary Cancel Server Activities * @param {any} activityUUID The UUID of the activity to cancel. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - cancelServerActivities(activityUUID: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise; + cancelServerActivities(activityUUID: any, axiosOptions?: any): AxiosPromise; /** * Get Server Activities * @summary Get Server Activities - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getServerActivities(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise; + getServerActivities(axiosOptions?: any): AxiosPromise; }; /** * Request parameters for cancelServerActivities operation in ActivitiesApi. @@ -659,97 +617,6 @@ export interface ActivitiesApiCancelServerActivitiesRequest { * @memberof ActivitiesApiCancelServerActivities */ readonly activityUUID: any; - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof ActivitiesApiCancelServerActivities - */ - readonly xPlexDeviceName?: any; - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof ActivitiesApiCancelServerActivities - */ - readonly xPlexDevice?: any; - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof ActivitiesApiCancelServerActivities - */ - readonly xPlexPlatformVersion?: any; - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof ActivitiesApiCancelServerActivities - */ - readonly xPlexPlatform?: any; - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof ActivitiesApiCancelServerActivities - */ - readonly xPlexProduct?: any; - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof ActivitiesApiCancelServerActivities - */ - readonly xPlexProvides?: any; - /** - * Your application version number - * @type {any} - * @memberof ActivitiesApiCancelServerActivities - */ - readonly xPlexVersion?: any; -} -/** - * Request parameters for getServerActivities operation in ActivitiesApi. - * @export - * @interface ActivitiesApiGetServerActivitiesRequest - */ -export interface ActivitiesApiGetServerActivitiesRequest { - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof ActivitiesApiGetServerActivities - */ - readonly xPlexDeviceName?: any; - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof ActivitiesApiGetServerActivities - */ - readonly xPlexDevice?: any; - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof ActivitiesApiGetServerActivities - */ - readonly xPlexPlatformVersion?: any; - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof ActivitiesApiGetServerActivities - */ - readonly xPlexPlatform?: any; - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof ActivitiesApiGetServerActivities - */ - readonly xPlexProduct?: any; - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof ActivitiesApiGetServerActivities - */ - readonly xPlexProvides?: any; - /** - * Your application version number - * @type {any} - * @memberof ActivitiesApiGetServerActivities - */ - readonly xPlexVersion?: any; } /** * ActivitiesApi - object-oriented interface @@ -770,12 +637,11 @@ export declare class ActivitiesApi extends BaseAPI { /** * Get Server Activities * @summary Get Server Activities - * @param {ActivitiesApiGetServerActivitiesRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof ActivitiesApi */ - getServerActivities(requestParameters?: ActivitiesApiGetServerActivitiesRequest, axiosOptions?: AxiosRequestConfig): Promise>; + getServerActivities(axiosOptions?: AxiosRequestConfig): Promise>; } /** * AuthenticationApi - axios parameter creator @@ -786,32 +652,18 @@ export declare const AuthenticationApiAxiosParamCreator: (configuration?: Config * Retrieve a Pin from Plex.tv for authentication flows * @summary Get a Pin * @param {any} [strong] Determines the kind of code returned by the API call Strong codes are used for Pin authentication flows Non-Strong codes are used for `Plex.tv/link` - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getPin: (strong?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig) => Promise; + getPin: (strong?: any, axiosOptions?: AxiosRequestConfig) => Promise; /** * Retrieve an Access Token from Plex.tv after the Pin has already been authenticated * @summary Get Access Token * @param {any} pinID The PinID to retrieve an access token for - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getToken: (pinID: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig) => Promise; + getToken: (pinID: any, axiosOptions?: AxiosRequestConfig) => Promise; }; /** * AuthenticationApi - functional programming interface @@ -822,32 +674,18 @@ export declare const AuthenticationApiFp: (configuration?: Configuration) => { * Retrieve a Pin from Plex.tv for authentication flows * @summary Get a Pin * @param {any} [strong] Determines the kind of code returned by the API call Strong codes are used for Pin authentication flows Non-Strong codes are used for `Plex.tv/link` - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getPin(strong?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; + getPin(strong?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Retrieve an Access Token from Plex.tv after the Pin has already been authenticated * @summary Get Access Token * @param {any} pinID The PinID to retrieve an access token for - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getToken(pinID: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; + getToken(pinID: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * AuthenticationApi - factory interface @@ -858,32 +696,18 @@ export declare const AuthenticationApiFactory: (configuration?: Configuration, b * Retrieve a Pin from Plex.tv for authentication flows * @summary Get a Pin * @param {any} [strong] Determines the kind of code returned by the API call Strong codes are used for Pin authentication flows Non-Strong codes are used for `Plex.tv/link` - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getPin(strong?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise; + getPin(strong?: any, axiosOptions?: any): AxiosPromise; /** * Retrieve an Access Token from Plex.tv after the Pin has already been authenticated * @summary Get Access Token * @param {any} pinID The PinID to retrieve an access token for - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getToken(pinID: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise; + getToken(pinID: any, axiosOptions?: any): AxiosPromise; }; /** * Request parameters for getPin operation in AuthenticationApi. @@ -897,48 +721,6 @@ export interface AuthenticationApiGetPinRequest { * @memberof AuthenticationApiGetPin */ readonly strong?: any; - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof AuthenticationApiGetPin - */ - readonly xPlexDeviceName?: any; - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof AuthenticationApiGetPin - */ - readonly xPlexDevice?: any; - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof AuthenticationApiGetPin - */ - readonly xPlexPlatformVersion?: any; - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof AuthenticationApiGetPin - */ - readonly xPlexPlatform?: any; - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof AuthenticationApiGetPin - */ - readonly xPlexProduct?: any; - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof AuthenticationApiGetPin - */ - readonly xPlexProvides?: any; - /** - * Your application version number - * @type {any} - * @memberof AuthenticationApiGetPin - */ - readonly xPlexVersion?: any; } /** * Request parameters for getToken operation in AuthenticationApi. @@ -952,48 +734,6 @@ export interface AuthenticationApiGetTokenRequest { * @memberof AuthenticationApiGetToken */ readonly pinID: any; - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof AuthenticationApiGetToken - */ - readonly xPlexDeviceName?: any; - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof AuthenticationApiGetToken - */ - readonly xPlexDevice?: any; - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof AuthenticationApiGetToken - */ - readonly xPlexPlatformVersion?: any; - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof AuthenticationApiGetToken - */ - readonly xPlexPlatform?: any; - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof AuthenticationApiGetToken - */ - readonly xPlexProduct?: any; - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof AuthenticationApiGetToken - */ - readonly xPlexProvides?: any; - /** - * Your application version number - * @type {any} - * @memberof AuthenticationApiGetToken - */ - readonly xPlexVersion?: any; } /** * AuthenticationApi - object-oriented interface @@ -1029,32 +769,18 @@ export declare const ButlerApiAxiosParamCreator: (configuration?: Configuration) /** * This endpoint will attempt to start all Butler tasks that are enabled in the settings. Butler tasks normally run automatically during a time window configured on the server\'s Settings page but can be manually started using this endpoint. Tasks will run with the following criteria: 1. Any tasks not scheduled to run on the current day will be skipped. 2. If a task is configured to run at a random time during the configured window and we are outside that window, the task will start immediately. 3. If a task is configured to run at a random time during the configured window and we are within that window, the task will be scheduled at a random time within the window. 4. If we are outside the configured window, the task will start immediately. * @summary Start all Butler tasks - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - startAllTasks: (xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig) => Promise; + startAllTasks: (axiosOptions?: AxiosRequestConfig) => Promise; /** * This endpoint will attempt to start a single Butler task that is enabled in the settings. Butler tasks normally run automatically during a time window configured on the server\'s Settings page but can be manually started using this endpoint. Tasks will run with the following criteria: 1. Any tasks not scheduled to run on the current day will be skipped. 2. If a task is configured to run at a random time during the configured window and we are outside that window, the task will start immediately. 3. If a task is configured to run at a random time during the configured window and we are within that window, the task will be scheduled at a random time within the window. 4. If we are outside the configured window, the task will start immediately. * @summary Start a single Butler task * @param {any} taskName the name of the task to be started. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - startTask: (taskName: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig) => Promise; + startTask: (taskName: any, axiosOptions?: AxiosRequestConfig) => Promise; /** * This endpoint will stop all currently running tasks and remove any scheduled tasks from the queue. * @summary Stop all Butler tasks @@ -1066,17 +792,10 @@ export declare const ButlerApiAxiosParamCreator: (configuration?: Configuration) * This endpoint will stop a currently running task by name, or remove it from the list of scheduled tasks if it exists. See the section above for a list of task names for this endpoint. * @summary Stop a single Butler task * @param {any} taskName The name of the task to be started. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - stopTask: (taskName: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig) => Promise; + stopTask: (taskName: any, axiosOptions?: AxiosRequestConfig) => Promise; }; /** * ButlerApi - functional programming interface @@ -1086,32 +805,18 @@ export declare const ButlerApiFp: (configuration?: Configuration) => { /** * This endpoint will attempt to start all Butler tasks that are enabled in the settings. Butler tasks normally run automatically during a time window configured on the server\'s Settings page but can be manually started using this endpoint. Tasks will run with the following criteria: 1. Any tasks not scheduled to run on the current day will be skipped. 2. If a task is configured to run at a random time during the configured window and we are outside that window, the task will start immediately. 3. If a task is configured to run at a random time during the configured window and we are within that window, the task will be scheduled at a random time within the window. 4. If we are outside the configured window, the task will start immediately. * @summary Start all Butler tasks - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - startAllTasks(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; + startAllTasks(axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * This endpoint will attempt to start a single Butler task that is enabled in the settings. Butler tasks normally run automatically during a time window configured on the server\'s Settings page but can be manually started using this endpoint. Tasks will run with the following criteria: 1. Any tasks not scheduled to run on the current day will be skipped. 2. If a task is configured to run at a random time during the configured window and we are outside that window, the task will start immediately. 3. If a task is configured to run at a random time during the configured window and we are within that window, the task will be scheduled at a random time within the window. 4. If we are outside the configured window, the task will start immediately. * @summary Start a single Butler task * @param {any} taskName the name of the task to be started. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - startTask(taskName: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; + startTask(taskName: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * This endpoint will stop all currently running tasks and remove any scheduled tasks from the queue. * @summary Stop all Butler tasks @@ -1123,17 +828,10 @@ export declare const ButlerApiFp: (configuration?: Configuration) => { * This endpoint will stop a currently running task by name, or remove it from the list of scheduled tasks if it exists. See the section above for a list of task names for this endpoint. * @summary Stop a single Butler task * @param {any} taskName The name of the task to be started. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - stopTask(taskName: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; + stopTask(taskName: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * ButlerApi - factory interface @@ -1143,32 +841,18 @@ export declare const ButlerApiFactory: (configuration?: Configuration, basePath? /** * This endpoint will attempt to start all Butler tasks that are enabled in the settings. Butler tasks normally run automatically during a time window configured on the server\'s Settings page but can be manually started using this endpoint. Tasks will run with the following criteria: 1. Any tasks not scheduled to run on the current day will be skipped. 2. If a task is configured to run at a random time during the configured window and we are outside that window, the task will start immediately. 3. If a task is configured to run at a random time during the configured window and we are within that window, the task will be scheduled at a random time within the window. 4. If we are outside the configured window, the task will start immediately. * @summary Start all Butler tasks - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - startAllTasks(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise; + startAllTasks(axiosOptions?: any): AxiosPromise; /** * This endpoint will attempt to start a single Butler task that is enabled in the settings. Butler tasks normally run automatically during a time window configured on the server\'s Settings page but can be manually started using this endpoint. Tasks will run with the following criteria: 1. Any tasks not scheduled to run on the current day will be skipped. 2. If a task is configured to run at a random time during the configured window and we are outside that window, the task will start immediately. 3. If a task is configured to run at a random time during the configured window and we are within that window, the task will be scheduled at a random time within the window. 4. If we are outside the configured window, the task will start immediately. * @summary Start a single Butler task * @param {any} taskName the name of the task to be started. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - startTask(taskName: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise; + startTask(taskName: any, axiosOptions?: any): AxiosPromise; /** * This endpoint will stop all currently running tasks and remove any scheduled tasks from the queue. * @summary Stop all Butler tasks @@ -1180,67 +864,11 @@ export declare const ButlerApiFactory: (configuration?: Configuration, basePath? * This endpoint will stop a currently running task by name, or remove it from the list of scheduled tasks if it exists. See the section above for a list of task names for this endpoint. * @summary Stop a single Butler task * @param {any} taskName The name of the task to be started. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - stopTask(taskName: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise; + stopTask(taskName: any, axiosOptions?: any): AxiosPromise; }; -/** - * Request parameters for startAllTasks operation in ButlerApi. - * @export - * @interface ButlerApiStartAllTasksRequest - */ -export interface ButlerApiStartAllTasksRequest { - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof ButlerApiStartAllTasks - */ - readonly xPlexDeviceName?: any; - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof ButlerApiStartAllTasks - */ - readonly xPlexDevice?: any; - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof ButlerApiStartAllTasks - */ - readonly xPlexPlatformVersion?: any; - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof ButlerApiStartAllTasks - */ - readonly xPlexPlatform?: any; - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof ButlerApiStartAllTasks - */ - readonly xPlexProduct?: any; - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof ButlerApiStartAllTasks - */ - readonly xPlexProvides?: any; - /** - * Your application version number - * @type {any} - * @memberof ButlerApiStartAllTasks - */ - readonly xPlexVersion?: any; -} /** * Request parameters for startTask operation in ButlerApi. * @export @@ -1253,48 +881,6 @@ export interface ButlerApiStartTaskRequest { * @memberof ButlerApiStartTask */ readonly taskName: any; - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof ButlerApiStartTask - */ - readonly xPlexDeviceName?: any; - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof ButlerApiStartTask - */ - readonly xPlexDevice?: any; - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof ButlerApiStartTask - */ - readonly xPlexPlatformVersion?: any; - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof ButlerApiStartTask - */ - readonly xPlexPlatform?: any; - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof ButlerApiStartTask - */ - readonly xPlexProduct?: any; - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof ButlerApiStartTask - */ - readonly xPlexProvides?: any; - /** - * Your application version number - * @type {any} - * @memberof ButlerApiStartTask - */ - readonly xPlexVersion?: any; } /** * Request parameters for stopTask operation in ButlerApi. @@ -1308,48 +894,6 @@ export interface ButlerApiStopTaskRequest { * @memberof ButlerApiStopTask */ readonly taskName: any; - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof ButlerApiStopTask - */ - readonly xPlexDeviceName?: any; - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof ButlerApiStopTask - */ - readonly xPlexDevice?: any; - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof ButlerApiStopTask - */ - readonly xPlexPlatformVersion?: any; - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof ButlerApiStopTask - */ - readonly xPlexPlatform?: any; - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof ButlerApiStopTask - */ - readonly xPlexProduct?: any; - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof ButlerApiStopTask - */ - readonly xPlexProvides?: any; - /** - * Your application version number - * @type {any} - * @memberof ButlerApiStopTask - */ - readonly xPlexVersion?: any; } /** * ButlerApi - object-oriented interface @@ -1361,12 +905,11 @@ export declare class ButlerApi extends BaseAPI { /** * This endpoint will attempt to start all Butler tasks that are enabled in the settings. Butler tasks normally run automatically during a time window configured on the server\'s Settings page but can be manually started using this endpoint. Tasks will run with the following criteria: 1. Any tasks not scheduled to run on the current day will be skipped. 2. If a task is configured to run at a random time during the configured window and we are outside that window, the task will start immediately. 3. If a task is configured to run at a random time during the configured window and we are within that window, the task will be scheduled at a random time within the window. 4. If we are outside the configured window, the task will start immediately. * @summary Start all Butler tasks - * @param {ButlerApiStartAllTasksRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof ButlerApi */ - startAllTasks(requestParameters?: ButlerApiStartAllTasksRequest, axiosOptions?: AxiosRequestConfig): Promise>; + startAllTasks(axiosOptions?: AxiosRequestConfig): Promise>; /** * This endpoint will attempt to start a single Butler task that is enabled in the settings. Butler tasks normally run automatically during a time window configured on the server\'s Settings page but can be manually started using this endpoint. Tasks will run with the following criteria: 1. Any tasks not scheduled to run on the current day will be skipped. 2. If a task is configured to run at a random time during the configured window and we are outside that window, the task will start immediately. 3. If a task is configured to run at a random time during the configured window and we are within that window, the task will be scheduled at a random time within the window. 4. If we are outside the configured window, the task will start immediately. * @summary Start a single Butler task @@ -1402,31 +945,17 @@ export declare const DevicesApiAxiosParamCreator: (configuration?: Configuration /** * Get Available Clients * @summary Get Available Clients - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getAvailableClients: (xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig) => Promise; + getAvailableClients: (axiosOptions?: AxiosRequestConfig) => Promise; /** * Get Devices * @summary Get Devices - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getDevices: (xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig) => Promise; + getDevices: (axiosOptions?: AxiosRequestConfig) => Promise; }; /** * DevicesApi - functional programming interface @@ -1436,31 +965,17 @@ export declare const DevicesApiFp: (configuration?: Configuration) => { /** * Get Available Clients * @summary Get Available Clients - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getAvailableClients(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; + getAvailableClients(axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Get Devices * @summary Get Devices - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getDevices(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; + getDevices(axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * DevicesApi - factory interface @@ -1470,130 +985,18 @@ export declare const DevicesApiFactory: (configuration?: Configuration, basePath /** * Get Available Clients * @summary Get Available Clients - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getAvailableClients(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise; + getAvailableClients(axiosOptions?: any): AxiosPromise; /** * Get Devices * @summary Get Devices - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getDevices(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise; + getDevices(axiosOptions?: any): AxiosPromise; }; -/** - * Request parameters for getAvailableClients operation in DevicesApi. - * @export - * @interface DevicesApiGetAvailableClientsRequest - */ -export interface DevicesApiGetAvailableClientsRequest { - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof DevicesApiGetAvailableClients - */ - readonly xPlexDeviceName?: any; - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof DevicesApiGetAvailableClients - */ - readonly xPlexDevice?: any; - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof DevicesApiGetAvailableClients - */ - readonly xPlexPlatformVersion?: any; - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof DevicesApiGetAvailableClients - */ - readonly xPlexPlatform?: any; - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof DevicesApiGetAvailableClients - */ - readonly xPlexProduct?: any; - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof DevicesApiGetAvailableClients - */ - readonly xPlexProvides?: any; - /** - * Your application version number - * @type {any} - * @memberof DevicesApiGetAvailableClients - */ - readonly xPlexVersion?: any; -} -/** - * Request parameters for getDevices operation in DevicesApi. - * @export - * @interface DevicesApiGetDevicesRequest - */ -export interface DevicesApiGetDevicesRequest { - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof DevicesApiGetDevices - */ - readonly xPlexDeviceName?: any; - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof DevicesApiGetDevices - */ - readonly xPlexDevice?: any; - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof DevicesApiGetDevices - */ - readonly xPlexPlatformVersion?: any; - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof DevicesApiGetDevices - */ - readonly xPlexPlatform?: any; - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof DevicesApiGetDevices - */ - readonly xPlexProduct?: any; - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof DevicesApiGetDevices - */ - readonly xPlexProvides?: any; - /** - * Your application version number - * @type {any} - * @memberof DevicesApiGetDevices - */ - readonly xPlexVersion?: any; -} /** * DevicesApi - object-oriented interface * @export @@ -1604,21 +1007,19 @@ export declare class DevicesApi extends BaseAPI { /** * Get Available Clients * @summary Get Available Clients - * @param {DevicesApiGetAvailableClientsRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof DevicesApi */ - getAvailableClients(requestParameters?: DevicesApiGetAvailableClientsRequest, axiosOptions?: AxiosRequestConfig): Promise>; + getAvailableClients(axiosOptions?: AxiosRequestConfig): Promise>; /** * Get Devices * @summary Get Devices - * @param {DevicesApiGetDevicesRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof DevicesApi */ - getDevices(requestParameters?: DevicesApiGetDevicesRequest, axiosOptions?: AxiosRequestConfig): Promise>; + getDevices(axiosOptions?: AxiosRequestConfig): Promise>; } /** * HashesApi - axios parameter creator @@ -1630,17 +1031,10 @@ export declare const HashesApiAxiosParamCreator: (configuration?: Configuration) * @summary Get Hash Value * @param {any} url This is the path to the local file, must be prefixed by `file://` * @param {any} [type] Item type - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getFileHash: (url: any, type?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig) => Promise; + getFileHash: (url: any, type?: any, axiosOptions?: AxiosRequestConfig) => Promise; }; /** * HashesApi - functional programming interface @@ -1652,17 +1046,10 @@ export declare const HashesApiFp: (configuration?: Configuration) => { * @summary Get Hash Value * @param {any} url This is the path to the local file, must be prefixed by `file://` * @param {any} [type] Item type - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getFileHash(url: any, type?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; + getFileHash(url: any, type?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * HashesApi - factory interface @@ -1674,17 +1061,10 @@ export declare const HashesApiFactory: (configuration?: Configuration, basePath? * @summary Get Hash Value * @param {any} url This is the path to the local file, must be prefixed by `file://` * @param {any} [type] Item type - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getFileHash(url: any, type?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise; + getFileHash(url: any, type?: any, axiosOptions?: any): AxiosPromise; }; /** * Request parameters for getFileHash operation in HashesApi. @@ -1704,48 +1084,6 @@ export interface HashesApiGetFileHashRequest { * @memberof HashesApiGetFileHash */ readonly type?: any; - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof HashesApiGetFileHash - */ - readonly xPlexDeviceName?: any; - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof HashesApiGetFileHash - */ - readonly xPlexDevice?: any; - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof HashesApiGetFileHash - */ - readonly xPlexPlatformVersion?: any; - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof HashesApiGetFileHash - */ - readonly xPlexPlatform?: any; - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof HashesApiGetFileHash - */ - readonly xPlexProduct?: any; - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof HashesApiGetFileHash - */ - readonly xPlexProvides?: any; - /** - * Your application version number - * @type {any} - * @memberof HashesApiGetFileHash - */ - readonly xPlexVersion?: any; } /** * HashesApi - object-oriented interface @@ -1774,34 +1112,20 @@ export declare const HubsApiAxiosParamCreator: (configuration?: Configuration) = * @summary Get Global Hubs * @param {any} [count] The number of items to return with each hub. * @param {any} [onlyTransient] Only return hubs which are \"transient\", meaning those which are prone to changing after media playback or addition (e.g. On Deck, or Recently Added). - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getGlobalHubs: (count?: any, onlyTransient?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig) => Promise; + getGlobalHubs: (count?: any, onlyTransient?: any, axiosOptions?: AxiosRequestConfig) => Promise; /** * This endpoint will return a list of library specific hubs * @summary Get library specific hubs * @param {any} sectionId the Id of the library to query * @param {any} [count] The number of items to return with each hub. * @param {any} [onlyTransient] Only return hubs which are \"transient\", meaning those which are prone to changing after media playback or addition (e.g. On Deck, or Recently Added). - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getLibraryHubs: (sectionId: any, count?: any, onlyTransient?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig) => Promise; + getLibraryHubs: (sectionId: any, count?: any, onlyTransient?: any, axiosOptions?: AxiosRequestConfig) => Promise; }; /** * HubsApi - functional programming interface @@ -1813,34 +1137,20 @@ export declare const HubsApiFp: (configuration?: Configuration) => { * @summary Get Global Hubs * @param {any} [count] The number of items to return with each hub. * @param {any} [onlyTransient] Only return hubs which are \"transient\", meaning those which are prone to changing after media playback or addition (e.g. On Deck, or Recently Added). - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getGlobalHubs(count?: any, onlyTransient?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; + getGlobalHubs(count?: any, onlyTransient?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * This endpoint will return a list of library specific hubs * @summary Get library specific hubs * @param {any} sectionId the Id of the library to query * @param {any} [count] The number of items to return with each hub. * @param {any} [onlyTransient] Only return hubs which are \"transient\", meaning those which are prone to changing after media playback or addition (e.g. On Deck, or Recently Added). - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getLibraryHubs(sectionId: any, count?: any, onlyTransient?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; + getLibraryHubs(sectionId: any, count?: any, onlyTransient?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * HubsApi - factory interface @@ -1852,34 +1162,20 @@ export declare const HubsApiFactory: (configuration?: Configuration, basePath?: * @summary Get Global Hubs * @param {any} [count] The number of items to return with each hub. * @param {any} [onlyTransient] Only return hubs which are \"transient\", meaning those which are prone to changing after media playback or addition (e.g. On Deck, or Recently Added). - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getGlobalHubs(count?: any, onlyTransient?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise; + getGlobalHubs(count?: any, onlyTransient?: any, axiosOptions?: any): AxiosPromise; /** * This endpoint will return a list of library specific hubs * @summary Get library specific hubs * @param {any} sectionId the Id of the library to query * @param {any} [count] The number of items to return with each hub. * @param {any} [onlyTransient] Only return hubs which are \"transient\", meaning those which are prone to changing after media playback or addition (e.g. On Deck, or Recently Added). - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getLibraryHubs(sectionId: any, count?: any, onlyTransient?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise; + getLibraryHubs(sectionId: any, count?: any, onlyTransient?: any, axiosOptions?: any): AxiosPromise; }; /** * Request parameters for getGlobalHubs operation in HubsApi. @@ -1899,48 +1195,6 @@ export interface HubsApiGetGlobalHubsRequest { * @memberof HubsApiGetGlobalHubs */ readonly onlyTransient?: any; - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof HubsApiGetGlobalHubs - */ - readonly xPlexDeviceName?: any; - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof HubsApiGetGlobalHubs - */ - readonly xPlexDevice?: any; - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof HubsApiGetGlobalHubs - */ - readonly xPlexPlatformVersion?: any; - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof HubsApiGetGlobalHubs - */ - readonly xPlexPlatform?: any; - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof HubsApiGetGlobalHubs - */ - readonly xPlexProduct?: any; - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof HubsApiGetGlobalHubs - */ - readonly xPlexProvides?: any; - /** - * Your application version number - * @type {any} - * @memberof HubsApiGetGlobalHubs - */ - readonly xPlexVersion?: any; } /** * Request parameters for getLibraryHubs operation in HubsApi. @@ -1966,48 +1220,6 @@ export interface HubsApiGetLibraryHubsRequest { * @memberof HubsApiGetLibraryHubs */ readonly onlyTransient?: any; - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof HubsApiGetLibraryHubs - */ - readonly xPlexDeviceName?: any; - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof HubsApiGetLibraryHubs - */ - readonly xPlexDevice?: any; - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof HubsApiGetLibraryHubs - */ - readonly xPlexPlatformVersion?: any; - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof HubsApiGetLibraryHubs - */ - readonly xPlexPlatform?: any; - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof HubsApiGetLibraryHubs - */ - readonly xPlexProduct?: any; - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof HubsApiGetLibraryHubs - */ - readonly xPlexProvides?: any; - /** - * Your application version number - * @type {any} - * @memberof HubsApiGetLibraryHubs - */ - readonly xPlexVersion?: any; } /** * HubsApi - object-oriented interface @@ -2046,110 +1258,61 @@ export declare const LibraryApiAxiosParamCreator: (configuration?: Configuration * @param {any} sectionId the Id of the library to query * @param {any} type item type * @param {any} [filter] the filter parameter - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getCommonLibraryItems: (sectionId: any, type: any, filter?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig) => Promise; + getCommonLibraryItems: (sectionId: any, type: any, filter?: any, axiosOptions?: AxiosRequestConfig) => Promise; /** * This endpoint will return a list of the latest library items filtered by the filter and type provided * @summary Get Latest Library Items * @param {any} sectionId the Id of the library to query * @param {any} type item type * @param {any} [filter] the filter parameter - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getLatestLibraryItems: (sectionId: any, type: any, filter?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig) => Promise; + getLatestLibraryItems: (sectionId: any, type: any, filter?: any, axiosOptions?: AxiosRequestConfig) => Promise; /** * A library section (commonly referred to as just a library) is a collection of media. Libraries are typed, and depending on their type provide either a flat or a hierarchical view of the media. For example, a music library has an artist > albums > tracks structure, whereas a movie library is flat. Libraries have features beyond just being a collection of media; for starters, they include information about supported types, filters and sorts. This allows a client to provide a rich interface around the media (e.g. allow sorting movies by release year). * @summary Get All Libraries - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getLibraries: (xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig) => Promise; + getLibraries: (axiosOptions?: AxiosRequestConfig) => Promise; /** * Returns details for the library. This can be thought of as an interstitial endpoint because it contains information about the library, rather than content itself. These details are: - A list of `Directory` objects: These used to be used by clients to build a menuing system. There are four flavors of directory found here: - Primary: (e.g. all, On Deck) These are still used in some clients to provide \"shortcuts\" to subsets of media. However, with the exception of On Deck, all of them can be created by media queries, and the desire is to allow these to be customized by users. - Secondary: These are marked with `secondary=\"1\"` and were used by old clients to provide nested menus allowing for primative (but structured) navigation. - Special: There is a By Folder entry which allows browsing the media by the underlying filesystem structure, and there\'s a completely obsolete entry marked `search=\"1\"` which used to be used to allow clients to build search dialogs on the fly. - A list of `Type` objects: These represent the types of things found in this library, and for each one, a list of `Filter` and `Sort` objects. These can be used to build rich controls around a grid of media to allow filtering and organizing. Note that these filters and sorts are optional, and without them, the client won\'t render any filtering controls. The `Type` object contains: - `key`: This provides the root endpoint returning the actual media list for the type. - `type`: This is the metadata type for the type (if a standard Plex type). - `title`: The title for for the content of this type (e.g. \"Movies\"). - Each `Filter` object contains a description of the filter. Note that it is not an exhaustive list of the full media query language, but an inportant subset useful for top-level API. - `filter`: This represents the filter name used for the filter, which can be used to construct complex media queries with. - `filterType`: This is either `string`, `integer`, or `boolean`, and describes the type of values used for the filter. - `key`: This provides the endpoint where the possible range of values for the filter can be retrieved (e.g. for a \"Genre\" filter, it returns a list of all the genres in the library). This will include a `type` argument that matches the metadata type of the Type element. - `title`: The title for the filter. - Each `Sort` object contains a description of the sort field. - `defaultDirection`: Can be either `asc` or `desc`, and specifies the default direction for the sort field (e.g. titles default to alphabetically ascending). - `descKey` and `key`: Contains the parameters passed to the `sort=...` media query for each direction of the sort. - `title`: The title of the field. * @summary Get Library Details * @param {any} sectionId the Id of the library to query * @param {any} [includeDetails] Whether or not to include details for a section (types, filters, and sorts). Only exists for backwards compatibility, media providers other than the server libraries have it on always. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getLibraryDetails: (sectionId: any, includeDetails?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig) => Promise; + getLibraryDetails: (sectionId: any, includeDetails?: any, axiosOptions?: AxiosRequestConfig) => Promise; /** * This endpoint will return a list of library items filtered by the filter and type provided * @summary Get Library Items * @param {any} sectionId the Id of the library to query * @param {any} [type] item type * @param {any} [filter] the filter parameter - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getLibraryItems: (sectionId: any, type?: any, filter?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig) => Promise; + getLibraryItems: (sectionId: any, type?: any, filter?: any, axiosOptions?: AxiosRequestConfig) => Promise; /** * This endpoint will return the on deck content. * @summary Get On Deck - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getOnDeck: (xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig) => Promise; + getOnDeck: (axiosOptions?: AxiosRequestConfig) => Promise; /** * This endpoint Refreshes the library. * @summary Refresh Library * @param {any} sectionId the Id of the library to refresh - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - refreshLibrary: (sectionId: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig) => Promise; + refreshLibrary: (sectionId: any, axiosOptions?: AxiosRequestConfig) => Promise; }; /** * LibraryApi - functional programming interface @@ -2162,110 +1325,61 @@ export declare const LibraryApiFp: (configuration?: Configuration) => { * @param {any} sectionId the Id of the library to query * @param {any} type item type * @param {any} [filter] the filter parameter - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getCommonLibraryItems(sectionId: any, type: any, filter?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; + getCommonLibraryItems(sectionId: any, type: any, filter?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * This endpoint will return a list of the latest library items filtered by the filter and type provided * @summary Get Latest Library Items * @param {any} sectionId the Id of the library to query * @param {any} type item type * @param {any} [filter] the filter parameter - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getLatestLibraryItems(sectionId: any, type: any, filter?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; + getLatestLibraryItems(sectionId: any, type: any, filter?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * A library section (commonly referred to as just a library) is a collection of media. Libraries are typed, and depending on their type provide either a flat or a hierarchical view of the media. For example, a music library has an artist > albums > tracks structure, whereas a movie library is flat. Libraries have features beyond just being a collection of media; for starters, they include information about supported types, filters and sorts. This allows a client to provide a rich interface around the media (e.g. allow sorting movies by release year). * @summary Get All Libraries - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getLibraries(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; + getLibraries(axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns details for the library. This can be thought of as an interstitial endpoint because it contains information about the library, rather than content itself. These details are: - A list of `Directory` objects: These used to be used by clients to build a menuing system. There are four flavors of directory found here: - Primary: (e.g. all, On Deck) These are still used in some clients to provide \"shortcuts\" to subsets of media. However, with the exception of On Deck, all of them can be created by media queries, and the desire is to allow these to be customized by users. - Secondary: These are marked with `secondary=\"1\"` and were used by old clients to provide nested menus allowing for primative (but structured) navigation. - Special: There is a By Folder entry which allows browsing the media by the underlying filesystem structure, and there\'s a completely obsolete entry marked `search=\"1\"` which used to be used to allow clients to build search dialogs on the fly. - A list of `Type` objects: These represent the types of things found in this library, and for each one, a list of `Filter` and `Sort` objects. These can be used to build rich controls around a grid of media to allow filtering and organizing. Note that these filters and sorts are optional, and without them, the client won\'t render any filtering controls. The `Type` object contains: - `key`: This provides the root endpoint returning the actual media list for the type. - `type`: This is the metadata type for the type (if a standard Plex type). - `title`: The title for for the content of this type (e.g. \"Movies\"). - Each `Filter` object contains a description of the filter. Note that it is not an exhaustive list of the full media query language, but an inportant subset useful for top-level API. - `filter`: This represents the filter name used for the filter, which can be used to construct complex media queries with. - `filterType`: This is either `string`, `integer`, or `boolean`, and describes the type of values used for the filter. - `key`: This provides the endpoint where the possible range of values for the filter can be retrieved (e.g. for a \"Genre\" filter, it returns a list of all the genres in the library). This will include a `type` argument that matches the metadata type of the Type element. - `title`: The title for the filter. - Each `Sort` object contains a description of the sort field. - `defaultDirection`: Can be either `asc` or `desc`, and specifies the default direction for the sort field (e.g. titles default to alphabetically ascending). - `descKey` and `key`: Contains the parameters passed to the `sort=...` media query for each direction of the sort. - `title`: The title of the field. * @summary Get Library Details * @param {any} sectionId the Id of the library to query * @param {any} [includeDetails] Whether or not to include details for a section (types, filters, and sorts). Only exists for backwards compatibility, media providers other than the server libraries have it on always. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getLibraryDetails(sectionId: any, includeDetails?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; + getLibraryDetails(sectionId: any, includeDetails?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * This endpoint will return a list of library items filtered by the filter and type provided * @summary Get Library Items * @param {any} sectionId the Id of the library to query * @param {any} [type] item type * @param {any} [filter] the filter parameter - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getLibraryItems(sectionId: any, type?: any, filter?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; + getLibraryItems(sectionId: any, type?: any, filter?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * This endpoint will return the on deck content. * @summary Get On Deck - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getOnDeck(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; + getOnDeck(axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * This endpoint Refreshes the library. * @summary Refresh Library * @param {any} sectionId the Id of the library to refresh - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - refreshLibrary(sectionId: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; + refreshLibrary(sectionId: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * LibraryApi - factory interface @@ -2278,110 +1392,61 @@ export declare const LibraryApiFactory: (configuration?: Configuration, basePath * @param {any} sectionId the Id of the library to query * @param {any} type item type * @param {any} [filter] the filter parameter - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getCommonLibraryItems(sectionId: any, type: any, filter?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise; + getCommonLibraryItems(sectionId: any, type: any, filter?: any, axiosOptions?: any): AxiosPromise; /** * This endpoint will return a list of the latest library items filtered by the filter and type provided * @summary Get Latest Library Items * @param {any} sectionId the Id of the library to query * @param {any} type item type * @param {any} [filter] the filter parameter - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getLatestLibraryItems(sectionId: any, type: any, filter?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise; + getLatestLibraryItems(sectionId: any, type: any, filter?: any, axiosOptions?: any): AxiosPromise; /** * A library section (commonly referred to as just a library) is a collection of media. Libraries are typed, and depending on their type provide either a flat or a hierarchical view of the media. For example, a music library has an artist > albums > tracks structure, whereas a movie library is flat. Libraries have features beyond just being a collection of media; for starters, they include information about supported types, filters and sorts. This allows a client to provide a rich interface around the media (e.g. allow sorting movies by release year). * @summary Get All Libraries - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getLibraries(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise; + getLibraries(axiosOptions?: any): AxiosPromise; /** * Returns details for the library. This can be thought of as an interstitial endpoint because it contains information about the library, rather than content itself. These details are: - A list of `Directory` objects: These used to be used by clients to build a menuing system. There are four flavors of directory found here: - Primary: (e.g. all, On Deck) These are still used in some clients to provide \"shortcuts\" to subsets of media. However, with the exception of On Deck, all of them can be created by media queries, and the desire is to allow these to be customized by users. - Secondary: These are marked with `secondary=\"1\"` and were used by old clients to provide nested menus allowing for primative (but structured) navigation. - Special: There is a By Folder entry which allows browsing the media by the underlying filesystem structure, and there\'s a completely obsolete entry marked `search=\"1\"` which used to be used to allow clients to build search dialogs on the fly. - A list of `Type` objects: These represent the types of things found in this library, and for each one, a list of `Filter` and `Sort` objects. These can be used to build rich controls around a grid of media to allow filtering and organizing. Note that these filters and sorts are optional, and without them, the client won\'t render any filtering controls. The `Type` object contains: - `key`: This provides the root endpoint returning the actual media list for the type. - `type`: This is the metadata type for the type (if a standard Plex type). - `title`: The title for for the content of this type (e.g. \"Movies\"). - Each `Filter` object contains a description of the filter. Note that it is not an exhaustive list of the full media query language, but an inportant subset useful for top-level API. - `filter`: This represents the filter name used for the filter, which can be used to construct complex media queries with. - `filterType`: This is either `string`, `integer`, or `boolean`, and describes the type of values used for the filter. - `key`: This provides the endpoint where the possible range of values for the filter can be retrieved (e.g. for a \"Genre\" filter, it returns a list of all the genres in the library). This will include a `type` argument that matches the metadata type of the Type element. - `title`: The title for the filter. - Each `Sort` object contains a description of the sort field. - `defaultDirection`: Can be either `asc` or `desc`, and specifies the default direction for the sort field (e.g. titles default to alphabetically ascending). - `descKey` and `key`: Contains the parameters passed to the `sort=...` media query for each direction of the sort. - `title`: The title of the field. * @summary Get Library Details * @param {any} sectionId the Id of the library to query * @param {any} [includeDetails] Whether or not to include details for a section (types, filters, and sorts). Only exists for backwards compatibility, media providers other than the server libraries have it on always. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getLibraryDetails(sectionId: any, includeDetails?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise; + getLibraryDetails(sectionId: any, includeDetails?: any, axiosOptions?: any): AxiosPromise; /** * This endpoint will return a list of library items filtered by the filter and type provided * @summary Get Library Items * @param {any} sectionId the Id of the library to query * @param {any} [type] item type * @param {any} [filter] the filter parameter - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getLibraryItems(sectionId: any, type?: any, filter?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise; + getLibraryItems(sectionId: any, type?: any, filter?: any, axiosOptions?: any): AxiosPromise; /** * This endpoint will return the on deck content. * @summary Get On Deck - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getOnDeck(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise; + getOnDeck(axiosOptions?: any): AxiosPromise; /** * This endpoint Refreshes the library. * @summary Refresh Library * @param {any} sectionId the Id of the library to refresh - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - refreshLibrary(sectionId: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise; + refreshLibrary(sectionId: any, axiosOptions?: any): AxiosPromise; }; /** * Request parameters for getCommonLibraryItems operation in LibraryApi. @@ -2407,48 +1472,6 @@ export interface LibraryApiGetCommonLibraryItemsRequest { * @memberof LibraryApiGetCommonLibraryItems */ readonly filter?: any; - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof LibraryApiGetCommonLibraryItems - */ - readonly xPlexDeviceName?: any; - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof LibraryApiGetCommonLibraryItems - */ - readonly xPlexDevice?: any; - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof LibraryApiGetCommonLibraryItems - */ - readonly xPlexPlatformVersion?: any; - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof LibraryApiGetCommonLibraryItems - */ - readonly xPlexPlatform?: any; - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof LibraryApiGetCommonLibraryItems - */ - readonly xPlexProduct?: any; - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof LibraryApiGetCommonLibraryItems - */ - readonly xPlexProvides?: any; - /** - * Your application version number - * @type {any} - * @memberof LibraryApiGetCommonLibraryItems - */ - readonly xPlexVersion?: any; } /** * Request parameters for getLatestLibraryItems operation in LibraryApi. @@ -2474,97 +1497,6 @@ export interface LibraryApiGetLatestLibraryItemsRequest { * @memberof LibraryApiGetLatestLibraryItems */ readonly filter?: any; - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof LibraryApiGetLatestLibraryItems - */ - readonly xPlexDeviceName?: any; - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof LibraryApiGetLatestLibraryItems - */ - readonly xPlexDevice?: any; - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof LibraryApiGetLatestLibraryItems - */ - readonly xPlexPlatformVersion?: any; - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof LibraryApiGetLatestLibraryItems - */ - readonly xPlexPlatform?: any; - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof LibraryApiGetLatestLibraryItems - */ - readonly xPlexProduct?: any; - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof LibraryApiGetLatestLibraryItems - */ - readonly xPlexProvides?: any; - /** - * Your application version number - * @type {any} - * @memberof LibraryApiGetLatestLibraryItems - */ - readonly xPlexVersion?: any; -} -/** - * Request parameters for getLibraries operation in LibraryApi. - * @export - * @interface LibraryApiGetLibrariesRequest - */ -export interface LibraryApiGetLibrariesRequest { - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof LibraryApiGetLibraries - */ - readonly xPlexDeviceName?: any; - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof LibraryApiGetLibraries - */ - readonly xPlexDevice?: any; - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof LibraryApiGetLibraries - */ - readonly xPlexPlatformVersion?: any; - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof LibraryApiGetLibraries - */ - readonly xPlexPlatform?: any; - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof LibraryApiGetLibraries - */ - readonly xPlexProduct?: any; - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof LibraryApiGetLibraries - */ - readonly xPlexProvides?: any; - /** - * Your application version number - * @type {any} - * @memberof LibraryApiGetLibraries - */ - readonly xPlexVersion?: any; } /** * Request parameters for getLibraryDetails operation in LibraryApi. @@ -2584,48 +1516,6 @@ export interface LibraryApiGetLibraryDetailsRequest { * @memberof LibraryApiGetLibraryDetails */ readonly includeDetails?: any; - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof LibraryApiGetLibraryDetails - */ - readonly xPlexDeviceName?: any; - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof LibraryApiGetLibraryDetails - */ - readonly xPlexDevice?: any; - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof LibraryApiGetLibraryDetails - */ - readonly xPlexPlatformVersion?: any; - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof LibraryApiGetLibraryDetails - */ - readonly xPlexPlatform?: any; - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof LibraryApiGetLibraryDetails - */ - readonly xPlexProduct?: any; - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof LibraryApiGetLibraryDetails - */ - readonly xPlexProvides?: any; - /** - * Your application version number - * @type {any} - * @memberof LibraryApiGetLibraryDetails - */ - readonly xPlexVersion?: any; } /** * Request parameters for getLibraryItems operation in LibraryApi. @@ -2651,97 +1541,6 @@ export interface LibraryApiGetLibraryItemsRequest { * @memberof LibraryApiGetLibraryItems */ readonly filter?: any; - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof LibraryApiGetLibraryItems - */ - readonly xPlexDeviceName?: any; - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof LibraryApiGetLibraryItems - */ - readonly xPlexDevice?: any; - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof LibraryApiGetLibraryItems - */ - readonly xPlexPlatformVersion?: any; - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof LibraryApiGetLibraryItems - */ - readonly xPlexPlatform?: any; - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof LibraryApiGetLibraryItems - */ - readonly xPlexProduct?: any; - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof LibraryApiGetLibraryItems - */ - readonly xPlexProvides?: any; - /** - * Your application version number - * @type {any} - * @memberof LibraryApiGetLibraryItems - */ - readonly xPlexVersion?: any; -} -/** - * Request parameters for getOnDeck operation in LibraryApi. - * @export - * @interface LibraryApiGetOnDeckRequest - */ -export interface LibraryApiGetOnDeckRequest { - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof LibraryApiGetOnDeck - */ - readonly xPlexDeviceName?: any; - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof LibraryApiGetOnDeck - */ - readonly xPlexDevice?: any; - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof LibraryApiGetOnDeck - */ - readonly xPlexPlatformVersion?: any; - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof LibraryApiGetOnDeck - */ - readonly xPlexPlatform?: any; - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof LibraryApiGetOnDeck - */ - readonly xPlexProduct?: any; - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof LibraryApiGetOnDeck - */ - readonly xPlexProvides?: any; - /** - * Your application version number - * @type {any} - * @memberof LibraryApiGetOnDeck - */ - readonly xPlexVersion?: any; } /** * Request parameters for refreshLibrary operation in LibraryApi. @@ -2755,48 +1554,6 @@ export interface LibraryApiRefreshLibraryRequest { * @memberof LibraryApiRefreshLibrary */ readonly sectionId: any; - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof LibraryApiRefreshLibrary - */ - readonly xPlexDeviceName?: any; - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof LibraryApiRefreshLibrary - */ - readonly xPlexDevice?: any; - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof LibraryApiRefreshLibrary - */ - readonly xPlexPlatformVersion?: any; - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof LibraryApiRefreshLibrary - */ - readonly xPlexPlatform?: any; - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof LibraryApiRefreshLibrary - */ - readonly xPlexProduct?: any; - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof LibraryApiRefreshLibrary - */ - readonly xPlexProvides?: any; - /** - * Your application version number - * @type {any} - * @memberof LibraryApiRefreshLibrary - */ - readonly xPlexVersion?: any; } /** * LibraryApi - object-oriented interface @@ -2826,12 +1583,11 @@ export declare class LibraryApi extends BaseAPI { /** * A library section (commonly referred to as just a library) is a collection of media. Libraries are typed, and depending on their type provide either a flat or a hierarchical view of the media. For example, a music library has an artist > albums > tracks structure, whereas a movie library is flat. Libraries have features beyond just being a collection of media; for starters, they include information about supported types, filters and sorts. This allows a client to provide a rich interface around the media (e.g. allow sorting movies by release year). * @summary Get All Libraries - * @param {LibraryApiGetLibrariesRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof LibraryApi */ - getLibraries(requestParameters?: LibraryApiGetLibrariesRequest, axiosOptions?: AxiosRequestConfig): Promise>; + getLibraries(axiosOptions?: AxiosRequestConfig): Promise>; /** * Returns details for the library. This can be thought of as an interstitial endpoint because it contains information about the library, rather than content itself. These details are: - A list of `Directory` objects: These used to be used by clients to build a menuing system. There are four flavors of directory found here: - Primary: (e.g. all, On Deck) These are still used in some clients to provide \"shortcuts\" to subsets of media. However, with the exception of On Deck, all of them can be created by media queries, and the desire is to allow these to be customized by users. - Secondary: These are marked with `secondary=\"1\"` and were used by old clients to provide nested menus allowing for primative (but structured) navigation. - Special: There is a By Folder entry which allows browsing the media by the underlying filesystem structure, and there\'s a completely obsolete entry marked `search=\"1\"` which used to be used to allow clients to build search dialogs on the fly. - A list of `Type` objects: These represent the types of things found in this library, and for each one, a list of `Filter` and `Sort` objects. These can be used to build rich controls around a grid of media to allow filtering and organizing. Note that these filters and sorts are optional, and without them, the client won\'t render any filtering controls. The `Type` object contains: - `key`: This provides the root endpoint returning the actual media list for the type. - `type`: This is the metadata type for the type (if a standard Plex type). - `title`: The title for for the content of this type (e.g. \"Movies\"). - Each `Filter` object contains a description of the filter. Note that it is not an exhaustive list of the full media query language, but an inportant subset useful for top-level API. - `filter`: This represents the filter name used for the filter, which can be used to construct complex media queries with. - `filterType`: This is either `string`, `integer`, or `boolean`, and describes the type of values used for the filter. - `key`: This provides the endpoint where the possible range of values for the filter can be retrieved (e.g. for a \"Genre\" filter, it returns a list of all the genres in the library). This will include a `type` argument that matches the metadata type of the Type element. - `title`: The title for the filter. - Each `Sort` object contains a description of the sort field. - `defaultDirection`: Can be either `asc` or `desc`, and specifies the default direction for the sort field (e.g. titles default to alphabetically ascending). - `descKey` and `key`: Contains the parameters passed to the `sort=...` media query for each direction of the sort. - `title`: The title of the field. * @summary Get Library Details @@ -2853,12 +1609,11 @@ export declare class LibraryApi extends BaseAPI { /** * This endpoint will return the on deck content. * @summary Get On Deck - * @param {LibraryApiGetOnDeckRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof LibraryApi */ - getOnDeck(requestParameters?: LibraryApiGetOnDeckRequest, axiosOptions?: AxiosRequestConfig): Promise>; + getOnDeck(axiosOptions?: AxiosRequestConfig): Promise>; /** * This endpoint Refreshes the library. * @summary Refresh Library @@ -2877,48 +1632,27 @@ export declare const LogApiAxiosParamCreator: (configuration?: Configuration) => /** * This endpoint will enable all Plex Media Serverlogs to be sent to the Papertrail networked logging site for a period of time. * @summary Enabling Papertrail - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - enablePaperTrail: (xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig) => Promise; + enablePaperTrail: (axiosOptions?: AxiosRequestConfig) => Promise; /** * This endpoint will write a single-line log message, including a level and source to the main Plex Media Server log. * @summary Logging a single line message. * @param {any} level An integer log level to write to the PMS log with. 0: Error 1: Warning 2: Info 3: Debug 4: Verbose * @param {any} message The text of the message to write to the log. * @param {any} source a string indicating the source of the message. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - logLine: (level: any, message: any, source: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig) => Promise; + logLine: (level: any, message: any, source: any, axiosOptions?: AxiosRequestConfig) => Promise; /** * This endpoint will write multiple lines to the main Plex Media Server log in a single request. It takes a set of query strings as would normally sent to the above GET endpoint as a linefeed-separated block of POST data. The parameters for each query string match as above. * @summary Logging a multi-line message - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - logMultiLine: (xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig) => Promise; + logMultiLine: (axiosOptions?: AxiosRequestConfig) => Promise; }; /** * LogApi - functional programming interface @@ -2928,48 +1662,27 @@ export declare const LogApiFp: (configuration?: Configuration) => { /** * This endpoint will enable all Plex Media Serverlogs to be sent to the Papertrail networked logging site for a period of time. * @summary Enabling Papertrail - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - enablePaperTrail(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; + enablePaperTrail(axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * This endpoint will write a single-line log message, including a level and source to the main Plex Media Server log. * @summary Logging a single line message. * @param {any} level An integer log level to write to the PMS log with. 0: Error 1: Warning 2: Info 3: Debug 4: Verbose * @param {any} message The text of the message to write to the log. * @param {any} source a string indicating the source of the message. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - logLine(level: any, message: any, source: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; + logLine(level: any, message: any, source: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * This endpoint will write multiple lines to the main Plex Media Server log in a single request. It takes a set of query strings as would normally sent to the above GET endpoint as a linefeed-separated block of POST data. The parameters for each query string match as above. * @summary Logging a multi-line message - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - logMultiLine(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; + logMultiLine(axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * LogApi - factory interface @@ -2979,98 +1692,28 @@ export declare const LogApiFactory: (configuration?: Configuration, basePath?: s /** * This endpoint will enable all Plex Media Serverlogs to be sent to the Papertrail networked logging site for a period of time. * @summary Enabling Papertrail - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - enablePaperTrail(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise; + enablePaperTrail(axiosOptions?: any): AxiosPromise; /** * This endpoint will write a single-line log message, including a level and source to the main Plex Media Server log. * @summary Logging a single line message. * @param {any} level An integer log level to write to the PMS log with. 0: Error 1: Warning 2: Info 3: Debug 4: Verbose * @param {any} message The text of the message to write to the log. * @param {any} source a string indicating the source of the message. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - logLine(level: any, message: any, source: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise; + logLine(level: any, message: any, source: any, axiosOptions?: any): AxiosPromise; /** * This endpoint will write multiple lines to the main Plex Media Server log in a single request. It takes a set of query strings as would normally sent to the above GET endpoint as a linefeed-separated block of POST data. The parameters for each query string match as above. * @summary Logging a multi-line message - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - logMultiLine(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise; + logMultiLine(axiosOptions?: any): AxiosPromise; }; -/** - * Request parameters for enablePaperTrail operation in LogApi. - * @export - * @interface LogApiEnablePaperTrailRequest - */ -export interface LogApiEnablePaperTrailRequest { - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof LogApiEnablePaperTrail - */ - readonly xPlexDeviceName?: any; - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof LogApiEnablePaperTrail - */ - readonly xPlexDevice?: any; - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof LogApiEnablePaperTrail - */ - readonly xPlexPlatformVersion?: any; - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof LogApiEnablePaperTrail - */ - readonly xPlexPlatform?: any; - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof LogApiEnablePaperTrail - */ - readonly xPlexProduct?: any; - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof LogApiEnablePaperTrail - */ - readonly xPlexProvides?: any; - /** - * Your application version number - * @type {any} - * @memberof LogApiEnablePaperTrail - */ - readonly xPlexVersion?: any; -} /** * Request parameters for logLine operation in LogApi. * @export @@ -3095,97 +1738,6 @@ export interface LogApiLogLineRequest { * @memberof LogApiLogLine */ readonly source: any; - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof LogApiLogLine - */ - readonly xPlexDeviceName?: any; - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof LogApiLogLine - */ - readonly xPlexDevice?: any; - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof LogApiLogLine - */ - readonly xPlexPlatformVersion?: any; - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof LogApiLogLine - */ - readonly xPlexPlatform?: any; - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof LogApiLogLine - */ - readonly xPlexProduct?: any; - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof LogApiLogLine - */ - readonly xPlexProvides?: any; - /** - * Your application version number - * @type {any} - * @memberof LogApiLogLine - */ - readonly xPlexVersion?: any; -} -/** - * Request parameters for logMultiLine operation in LogApi. - * @export - * @interface LogApiLogMultiLineRequest - */ -export interface LogApiLogMultiLineRequest { - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof LogApiLogMultiLine - */ - readonly xPlexDeviceName?: any; - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof LogApiLogMultiLine - */ - readonly xPlexDevice?: any; - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof LogApiLogMultiLine - */ - readonly xPlexPlatformVersion?: any; - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof LogApiLogMultiLine - */ - readonly xPlexPlatform?: any; - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof LogApiLogMultiLine - */ - readonly xPlexProduct?: any; - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof LogApiLogMultiLine - */ - readonly xPlexProvides?: any; - /** - * Your application version number - * @type {any} - * @memberof LogApiLogMultiLine - */ - readonly xPlexVersion?: any; } /** * LogApi - object-oriented interface @@ -3197,12 +1749,11 @@ export declare class LogApi extends BaseAPI { /** * This endpoint will enable all Plex Media Serverlogs to be sent to the Papertrail networked logging site for a period of time. * @summary Enabling Papertrail - * @param {LogApiEnablePaperTrailRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof LogApi */ - enablePaperTrail(requestParameters?: LogApiEnablePaperTrailRequest, axiosOptions?: AxiosRequestConfig): Promise>; + enablePaperTrail(axiosOptions?: AxiosRequestConfig): Promise>; /** * This endpoint will write a single-line log message, including a level and source to the main Plex Media Server log. * @summary Logging a single line message. @@ -3215,12 +1766,11 @@ export declare class LogApi extends BaseAPI { /** * This endpoint will write multiple lines to the main Plex Media Server log in a single request. It takes a set of query strings as would normally sent to the above GET endpoint as a linefeed-separated block of POST data. The parameters for each query string match as above. * @summary Logging a multi-line message - * @param {LogApiLogMultiLineRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof LogApi */ - logMultiLine(requestParameters?: LogApiLogMultiLineRequest, axiosOptions?: AxiosRequestConfig): Promise>; + logMultiLine(axiosOptions?: AxiosRequestConfig): Promise>; } /** * PlaylistsApi - axios parameter creator @@ -3233,32 +1783,18 @@ export declare const PlaylistsApiAxiosParamCreator: (configuration?: Configurati * @param {any} playlistID the ID of the playlist * @param {any} uri the content URI for the playlist * @param {any} playQueueID the play queue to add to a playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - addPlaylistContents: (playlistID: any, uri: any, playQueueID: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig) => Promise; + addPlaylistContents: (playlistID: any, uri: any, playQueueID: any, axiosOptions?: AxiosRequestConfig) => Promise; /** * Clears a playlist, only works with dumb playlists. Returns the playlist. * @summary Delete Playlist Contents * @param {any} playlistID the ID of the playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - clearPlaylistContents: (playlistID: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig) => Promise; + clearPlaylistContents: (playlistID: any, axiosOptions?: AxiosRequestConfig) => Promise; /** * Create a new playlist. By default the playlist is blank. To create a playlist along with a first item, pass: - `uri` - The content URI for what we\'re playing (e.g. `library://...`). - `playQueueID` - To create a playlist from an existing play queue. * @summary Create a Playlist @@ -3267,79 +1803,44 @@ export declare const PlaylistsApiAxiosParamCreator: (configuration?: Configurati * @param {any} smart whether the playlist is smart or not * @param {any} [uri] the content URI for the playlist * @param {any} [playQueueID] the play queue to copy to a playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - createPlaylist: (title: any, type: any, smart: any, uri?: any, playQueueID?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig) => Promise; + createPlaylist: (title: any, type: any, smart: any, uri?: any, playQueueID?: any, axiosOptions?: AxiosRequestConfig) => Promise; /** * This endpoint will delete a playlist * @summary Deletes a Playlist * @param {any} playlistID the ID of the playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - deletePlaylist: (playlistID: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig) => Promise; + deletePlaylist: (playlistID: any, axiosOptions?: AxiosRequestConfig) => Promise; /** * Gets detailed metadata for a playlist. A playlist for many purposes (rating, editing metadata, tagging), can be treated like a regular metadata item: Smart playlist details contain the `content` attribute. This is the content URI for the generator. This can then be parsed by a client to provide smart playlist editing. * @summary Retrieve Playlist * @param {any} playlistID the ID of the playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getPlaylist: (playlistID: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig) => Promise; + getPlaylist: (playlistID: any, axiosOptions?: AxiosRequestConfig) => Promise; /** * Gets the contents of a playlist. Should be paged by clients via standard mechanisms. By default leaves are returned (e.g. episodes, movies). In order to return other types you can use the `type` parameter. For example, you could use this to display a list of recently added albums vis a smart playlist. Note that for dumb playlists, items have a `playlistItemID` attribute which is used for deleting or moving items. * @summary Retrieve Playlist Contents * @param {any} playlistID the ID of the playlist * @param {any} type the metadata type of the item to return - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getPlaylistContents: (playlistID: any, type: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig) => Promise; + getPlaylistContents: (playlistID: any, type: any, axiosOptions?: AxiosRequestConfig) => Promise; /** * * @summary Get All Playlists * @param {any} [playlistType] limit to a type of playlist. * @param {any} [smart] type of playlists to return (default is all). - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getPlaylists: (playlistType?: any, smart?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig) => Promise; + getPlaylists: (playlistType?: any, smart?: any, axiosOptions?: AxiosRequestConfig) => Promise; /** * From PMS version 1.9.1 clients can also edit playlist metadata using this endpoint as they would via `PUT /library/metadata/{playlistID}` * @summary Update a Playlist @@ -3353,17 +1854,10 @@ export declare const PlaylistsApiAxiosParamCreator: (configuration?: Configurati * @summary Upload Playlist * @param {any} path absolute path to a directory on the server where m3u files are stored, or the absolute path to a playlist file on the server. If the `path` argument is a directory, that path will be scanned for playlist files to be processed. Each file in that directory creates a separate playlist, with a name based on the filename of the file that created it. The GUID of each playlist is based on the filename. If the `path` argument is a file, that file will be used to create a new playlist, with the name based on the filename of the file that created it. The GUID of each playlist is based on the filename. * @param {any} force force overwriting of duplicate playlists. By default, a playlist file uploaded with the same path will overwrite the existing playlist. The `force` argument is used to disable overwriting. If the `force` argument is set to 0, a new playlist will be created suffixed with the date and time that the duplicate was uploaded. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - uploadPlaylist: (path: any, force: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig) => Promise; + uploadPlaylist: (path: any, force: any, axiosOptions?: AxiosRequestConfig) => Promise; }; /** * PlaylistsApi - functional programming interface @@ -3376,32 +1870,18 @@ export declare const PlaylistsApiFp: (configuration?: Configuration) => { * @param {any} playlistID the ID of the playlist * @param {any} uri the content URI for the playlist * @param {any} playQueueID the play queue to add to a playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - addPlaylistContents(playlistID: any, uri: any, playQueueID: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; + addPlaylistContents(playlistID: any, uri: any, playQueueID: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Clears a playlist, only works with dumb playlists. Returns the playlist. * @summary Delete Playlist Contents * @param {any} playlistID the ID of the playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - clearPlaylistContents(playlistID: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; + clearPlaylistContents(playlistID: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Create a new playlist. By default the playlist is blank. To create a playlist along with a first item, pass: - `uri` - The content URI for what we\'re playing (e.g. `library://...`). - `playQueueID` - To create a playlist from an existing play queue. * @summary Create a Playlist @@ -3410,79 +1890,44 @@ export declare const PlaylistsApiFp: (configuration?: Configuration) => { * @param {any} smart whether the playlist is smart or not * @param {any} [uri] the content URI for the playlist * @param {any} [playQueueID] the play queue to copy to a playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - createPlaylist(title: any, type: any, smart: any, uri?: any, playQueueID?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; + createPlaylist(title: any, type: any, smart: any, uri?: any, playQueueID?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * This endpoint will delete a playlist * @summary Deletes a Playlist * @param {any} playlistID the ID of the playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - deletePlaylist(playlistID: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; + deletePlaylist(playlistID: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Gets detailed metadata for a playlist. A playlist for many purposes (rating, editing metadata, tagging), can be treated like a regular metadata item: Smart playlist details contain the `content` attribute. This is the content URI for the generator. This can then be parsed by a client to provide smart playlist editing. * @summary Retrieve Playlist * @param {any} playlistID the ID of the playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getPlaylist(playlistID: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; + getPlaylist(playlistID: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Gets the contents of a playlist. Should be paged by clients via standard mechanisms. By default leaves are returned (e.g. episodes, movies). In order to return other types you can use the `type` parameter. For example, you could use this to display a list of recently added albums vis a smart playlist. Note that for dumb playlists, items have a `playlistItemID` attribute which is used for deleting or moving items. * @summary Retrieve Playlist Contents * @param {any} playlistID the ID of the playlist * @param {any} type the metadata type of the item to return - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getPlaylistContents(playlistID: any, type: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; + getPlaylistContents(playlistID: any, type: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary Get All Playlists * @param {any} [playlistType] limit to a type of playlist. * @param {any} [smart] type of playlists to return (default is all). - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getPlaylists(playlistType?: any, smart?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; + getPlaylists(playlistType?: any, smart?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * From PMS version 1.9.1 clients can also edit playlist metadata using this endpoint as they would via `PUT /library/metadata/{playlistID}` * @summary Update a Playlist @@ -3496,17 +1941,10 @@ export declare const PlaylistsApiFp: (configuration?: Configuration) => { * @summary Upload Playlist * @param {any} path absolute path to a directory on the server where m3u files are stored, or the absolute path to a playlist file on the server. If the `path` argument is a directory, that path will be scanned for playlist files to be processed. Each file in that directory creates a separate playlist, with a name based on the filename of the file that created it. The GUID of each playlist is based on the filename. If the `path` argument is a file, that file will be used to create a new playlist, with the name based on the filename of the file that created it. The GUID of each playlist is based on the filename. * @param {any} force force overwriting of duplicate playlists. By default, a playlist file uploaded with the same path will overwrite the existing playlist. The `force` argument is used to disable overwriting. If the `force` argument is set to 0, a new playlist will be created suffixed with the date and time that the duplicate was uploaded. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - uploadPlaylist(path: any, force: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; + uploadPlaylist(path: any, force: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * PlaylistsApi - factory interface @@ -3519,32 +1957,18 @@ export declare const PlaylistsApiFactory: (configuration?: Configuration, basePa * @param {any} playlistID the ID of the playlist * @param {any} uri the content URI for the playlist * @param {any} playQueueID the play queue to add to a playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - addPlaylistContents(playlistID: any, uri: any, playQueueID: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise; + addPlaylistContents(playlistID: any, uri: any, playQueueID: any, axiosOptions?: any): AxiosPromise; /** * Clears a playlist, only works with dumb playlists. Returns the playlist. * @summary Delete Playlist Contents * @param {any} playlistID the ID of the playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - clearPlaylistContents(playlistID: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise; + clearPlaylistContents(playlistID: any, axiosOptions?: any): AxiosPromise; /** * Create a new playlist. By default the playlist is blank. To create a playlist along with a first item, pass: - `uri` - The content URI for what we\'re playing (e.g. `library://...`). - `playQueueID` - To create a playlist from an existing play queue. * @summary Create a Playlist @@ -3553,79 +1977,44 @@ export declare const PlaylistsApiFactory: (configuration?: Configuration, basePa * @param {any} smart whether the playlist is smart or not * @param {any} [uri] the content URI for the playlist * @param {any} [playQueueID] the play queue to copy to a playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - createPlaylist(title: any, type: any, smart: any, uri?: any, playQueueID?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise; + createPlaylist(title: any, type: any, smart: any, uri?: any, playQueueID?: any, axiosOptions?: any): AxiosPromise; /** * This endpoint will delete a playlist * @summary Deletes a Playlist * @param {any} playlistID the ID of the playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - deletePlaylist(playlistID: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise; + deletePlaylist(playlistID: any, axiosOptions?: any): AxiosPromise; /** * Gets detailed metadata for a playlist. A playlist for many purposes (rating, editing metadata, tagging), can be treated like a regular metadata item: Smart playlist details contain the `content` attribute. This is the content URI for the generator. This can then be parsed by a client to provide smart playlist editing. * @summary Retrieve Playlist * @param {any} playlistID the ID of the playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getPlaylist(playlistID: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise; + getPlaylist(playlistID: any, axiosOptions?: any): AxiosPromise; /** * Gets the contents of a playlist. Should be paged by clients via standard mechanisms. By default leaves are returned (e.g. episodes, movies). In order to return other types you can use the `type` parameter. For example, you could use this to display a list of recently added albums vis a smart playlist. Note that for dumb playlists, items have a `playlistItemID` attribute which is used for deleting or moving items. * @summary Retrieve Playlist Contents * @param {any} playlistID the ID of the playlist * @param {any} type the metadata type of the item to return - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getPlaylistContents(playlistID: any, type: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise; + getPlaylistContents(playlistID: any, type: any, axiosOptions?: any): AxiosPromise; /** * * @summary Get All Playlists * @param {any} [playlistType] limit to a type of playlist. * @param {any} [smart] type of playlists to return (default is all). - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getPlaylists(playlistType?: any, smart?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise; + getPlaylists(playlistType?: any, smart?: any, axiosOptions?: any): AxiosPromise; /** * From PMS version 1.9.1 clients can also edit playlist metadata using this endpoint as they would via `PUT /library/metadata/{playlistID}` * @summary Update a Playlist @@ -3639,17 +2028,10 @@ export declare const PlaylistsApiFactory: (configuration?: Configuration, basePa * @summary Upload Playlist * @param {any} path absolute path to a directory on the server where m3u files are stored, or the absolute path to a playlist file on the server. If the `path` argument is a directory, that path will be scanned for playlist files to be processed. Each file in that directory creates a separate playlist, with a name based on the filename of the file that created it. The GUID of each playlist is based on the filename. If the `path` argument is a file, that file will be used to create a new playlist, with the name based on the filename of the file that created it. The GUID of each playlist is based on the filename. * @param {any} force force overwriting of duplicate playlists. By default, a playlist file uploaded with the same path will overwrite the existing playlist. The `force` argument is used to disable overwriting. If the `force` argument is set to 0, a new playlist will be created suffixed with the date and time that the duplicate was uploaded. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - uploadPlaylist(path: any, force: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise; + uploadPlaylist(path: any, force: any, axiosOptions?: any): AxiosPromise; }; /** * Request parameters for addPlaylistContents operation in PlaylistsApi. @@ -3675,48 +2057,6 @@ export interface PlaylistsApiAddPlaylistContentsRequest { * @memberof PlaylistsApiAddPlaylistContents */ readonly playQueueID: any; - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof PlaylistsApiAddPlaylistContents - */ - readonly xPlexDeviceName?: any; - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof PlaylistsApiAddPlaylistContents - */ - readonly xPlexDevice?: any; - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof PlaylistsApiAddPlaylistContents - */ - readonly xPlexPlatformVersion?: any; - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof PlaylistsApiAddPlaylistContents - */ - readonly xPlexPlatform?: any; - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof PlaylistsApiAddPlaylistContents - */ - readonly xPlexProduct?: any; - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof PlaylistsApiAddPlaylistContents - */ - readonly xPlexProvides?: any; - /** - * Your application version number - * @type {any} - * @memberof PlaylistsApiAddPlaylistContents - */ - readonly xPlexVersion?: any; } /** * Request parameters for clearPlaylistContents operation in PlaylistsApi. @@ -3730,48 +2070,6 @@ export interface PlaylistsApiClearPlaylistContentsRequest { * @memberof PlaylistsApiClearPlaylistContents */ readonly playlistID: any; - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof PlaylistsApiClearPlaylistContents - */ - readonly xPlexDeviceName?: any; - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof PlaylistsApiClearPlaylistContents - */ - readonly xPlexDevice?: any; - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof PlaylistsApiClearPlaylistContents - */ - readonly xPlexPlatformVersion?: any; - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof PlaylistsApiClearPlaylistContents - */ - readonly xPlexPlatform?: any; - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof PlaylistsApiClearPlaylistContents - */ - readonly xPlexProduct?: any; - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof PlaylistsApiClearPlaylistContents - */ - readonly xPlexProvides?: any; - /** - * Your application version number - * @type {any} - * @memberof PlaylistsApiClearPlaylistContents - */ - readonly xPlexVersion?: any; } /** * Request parameters for createPlaylist operation in PlaylistsApi. @@ -3809,48 +2107,6 @@ export interface PlaylistsApiCreatePlaylistRequest { * @memberof PlaylistsApiCreatePlaylist */ readonly playQueueID?: any; - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof PlaylistsApiCreatePlaylist - */ - readonly xPlexDeviceName?: any; - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof PlaylistsApiCreatePlaylist - */ - readonly xPlexDevice?: any; - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof PlaylistsApiCreatePlaylist - */ - readonly xPlexPlatformVersion?: any; - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof PlaylistsApiCreatePlaylist - */ - readonly xPlexPlatform?: any; - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof PlaylistsApiCreatePlaylist - */ - readonly xPlexProduct?: any; - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof PlaylistsApiCreatePlaylist - */ - readonly xPlexProvides?: any; - /** - * Your application version number - * @type {any} - * @memberof PlaylistsApiCreatePlaylist - */ - readonly xPlexVersion?: any; } /** * Request parameters for deletePlaylist operation in PlaylistsApi. @@ -3864,48 +2120,6 @@ export interface PlaylistsApiDeletePlaylistRequest { * @memberof PlaylistsApiDeletePlaylist */ readonly playlistID: any; - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof PlaylistsApiDeletePlaylist - */ - readonly xPlexDeviceName?: any; - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof PlaylistsApiDeletePlaylist - */ - readonly xPlexDevice?: any; - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof PlaylistsApiDeletePlaylist - */ - readonly xPlexPlatformVersion?: any; - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof PlaylistsApiDeletePlaylist - */ - readonly xPlexPlatform?: any; - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof PlaylistsApiDeletePlaylist - */ - readonly xPlexProduct?: any; - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof PlaylistsApiDeletePlaylist - */ - readonly xPlexProvides?: any; - /** - * Your application version number - * @type {any} - * @memberof PlaylistsApiDeletePlaylist - */ - readonly xPlexVersion?: any; } /** * Request parameters for getPlaylist operation in PlaylistsApi. @@ -3919,48 +2133,6 @@ export interface PlaylistsApiGetPlaylistRequest { * @memberof PlaylistsApiGetPlaylist */ readonly playlistID: any; - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof PlaylistsApiGetPlaylist - */ - readonly xPlexDeviceName?: any; - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof PlaylistsApiGetPlaylist - */ - readonly xPlexDevice?: any; - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof PlaylistsApiGetPlaylist - */ - readonly xPlexPlatformVersion?: any; - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof PlaylistsApiGetPlaylist - */ - readonly xPlexPlatform?: any; - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof PlaylistsApiGetPlaylist - */ - readonly xPlexProduct?: any; - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof PlaylistsApiGetPlaylist - */ - readonly xPlexProvides?: any; - /** - * Your application version number - * @type {any} - * @memberof PlaylistsApiGetPlaylist - */ - readonly xPlexVersion?: any; } /** * Request parameters for getPlaylistContents operation in PlaylistsApi. @@ -3980,48 +2152,6 @@ export interface PlaylistsApiGetPlaylistContentsRequest { * @memberof PlaylistsApiGetPlaylistContents */ readonly type: any; - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof PlaylistsApiGetPlaylistContents - */ - readonly xPlexDeviceName?: any; - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof PlaylistsApiGetPlaylistContents - */ - readonly xPlexDevice?: any; - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof PlaylistsApiGetPlaylistContents - */ - readonly xPlexPlatformVersion?: any; - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof PlaylistsApiGetPlaylistContents - */ - readonly xPlexPlatform?: any; - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof PlaylistsApiGetPlaylistContents - */ - readonly xPlexProduct?: any; - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof PlaylistsApiGetPlaylistContents - */ - readonly xPlexProvides?: any; - /** - * Your application version number - * @type {any} - * @memberof PlaylistsApiGetPlaylistContents - */ - readonly xPlexVersion?: any; } /** * Request parameters for getPlaylists operation in PlaylistsApi. @@ -4041,48 +2171,6 @@ export interface PlaylistsApiGetPlaylistsRequest { * @memberof PlaylistsApiGetPlaylists */ readonly smart?: any; - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof PlaylistsApiGetPlaylists - */ - readonly xPlexDeviceName?: any; - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof PlaylistsApiGetPlaylists - */ - readonly xPlexDevice?: any; - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof PlaylistsApiGetPlaylists - */ - readonly xPlexPlatformVersion?: any; - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof PlaylistsApiGetPlaylists - */ - readonly xPlexPlatform?: any; - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof PlaylistsApiGetPlaylists - */ - readonly xPlexProduct?: any; - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof PlaylistsApiGetPlaylists - */ - readonly xPlexProvides?: any; - /** - * Your application version number - * @type {any} - * @memberof PlaylistsApiGetPlaylists - */ - readonly xPlexVersion?: any; } /** * Request parameters for updatePlaylist operation in PlaylistsApi. @@ -4115,48 +2203,6 @@ export interface PlaylistsApiUploadPlaylistRequest { * @memberof PlaylistsApiUploadPlaylist */ readonly force: any; - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof PlaylistsApiUploadPlaylist - */ - readonly xPlexDeviceName?: any; - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof PlaylistsApiUploadPlaylist - */ - readonly xPlexDevice?: any; - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof PlaylistsApiUploadPlaylist - */ - readonly xPlexPlatformVersion?: any; - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof PlaylistsApiUploadPlaylist - */ - readonly xPlexPlatform?: any; - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof PlaylistsApiUploadPlaylist - */ - readonly xPlexProduct?: any; - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof PlaylistsApiUploadPlaylist - */ - readonly xPlexProvides?: any; - /** - * Your application version number - * @type {any} - * @memberof PlaylistsApiUploadPlaylist - */ - readonly xPlexVersion?: any; } /** * PlaylistsApi - object-oriented interface @@ -4258,34 +2304,20 @@ export declare const SearchApiAxiosParamCreator: (configuration?: Configuration) * @param {any} query The query term * @param {any} [sectionId] This gives context to the search, and can result in re-ordering of search result hubs * @param {any} [limit] The number of items to return per hub - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - performSearch: (query: any, sectionId?: any, limit?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig) => Promise; + performSearch: (query: any, sectionId?: any, limit?: any, axiosOptions?: AxiosRequestConfig) => Promise; /** * This endpoint performs a search specifically tailored towards voice or other imprecise input which may work badly with the substring and spell-checking heuristics used by the `/hubs/search` endpoint. It uses a [Levenshtein distance](https://en.wikipedia.org/wiki/Levenshtein_distance) heuristic to search titles, and as such is much slower than the other search endpoint. Whenever possible, clients should limit the search to the appropriate type. Results, as well as their containing per-type hubs, contain a `distance` attribute which can be used to judge result quality. * @summary Perform a voice search * @param {any} query The query term * @param {any} [sectionId] This gives context to the search, and can result in re-ordering of search result hubs * @param {any} [limit] The number of items to return per hub - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - performVoiceSearch: (query: any, sectionId?: any, limit?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig) => Promise; + performVoiceSearch: (query: any, sectionId?: any, limit?: any, axiosOptions?: AxiosRequestConfig) => Promise; }; /** * SearchApi - functional programming interface @@ -4298,34 +2330,20 @@ export declare const SearchApiFp: (configuration?: Configuration) => { * @param {any} query The query term * @param {any} [sectionId] This gives context to the search, and can result in re-ordering of search result hubs * @param {any} [limit] The number of items to return per hub - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - performSearch(query: any, sectionId?: any, limit?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; + performSearch(query: any, sectionId?: any, limit?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * This endpoint performs a search specifically tailored towards voice or other imprecise input which may work badly with the substring and spell-checking heuristics used by the `/hubs/search` endpoint. It uses a [Levenshtein distance](https://en.wikipedia.org/wiki/Levenshtein_distance) heuristic to search titles, and as such is much slower than the other search endpoint. Whenever possible, clients should limit the search to the appropriate type. Results, as well as their containing per-type hubs, contain a `distance` attribute which can be used to judge result quality. * @summary Perform a voice search * @param {any} query The query term * @param {any} [sectionId] This gives context to the search, and can result in re-ordering of search result hubs * @param {any} [limit] The number of items to return per hub - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - performVoiceSearch(query: any, sectionId?: any, limit?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; + performVoiceSearch(query: any, sectionId?: any, limit?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * SearchApi - factory interface @@ -4338,34 +2356,20 @@ export declare const SearchApiFactory: (configuration?: Configuration, basePath? * @param {any} query The query term * @param {any} [sectionId] This gives context to the search, and can result in re-ordering of search result hubs * @param {any} [limit] The number of items to return per hub - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - performSearch(query: any, sectionId?: any, limit?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise; + performSearch(query: any, sectionId?: any, limit?: any, axiosOptions?: any): AxiosPromise; /** * This endpoint performs a search specifically tailored towards voice or other imprecise input which may work badly with the substring and spell-checking heuristics used by the `/hubs/search` endpoint. It uses a [Levenshtein distance](https://en.wikipedia.org/wiki/Levenshtein_distance) heuristic to search titles, and as such is much slower than the other search endpoint. Whenever possible, clients should limit the search to the appropriate type. Results, as well as their containing per-type hubs, contain a `distance` attribute which can be used to judge result quality. * @summary Perform a voice search * @param {any} query The query term * @param {any} [sectionId] This gives context to the search, and can result in re-ordering of search result hubs * @param {any} [limit] The number of items to return per hub - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - performVoiceSearch(query: any, sectionId?: any, limit?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise; + performVoiceSearch(query: any, sectionId?: any, limit?: any, axiosOptions?: any): AxiosPromise; }; /** * Request parameters for performSearch operation in SearchApi. @@ -4391,48 +2395,6 @@ export interface SearchApiPerformSearchRequest { * @memberof SearchApiPerformSearch */ readonly limit?: any; - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof SearchApiPerformSearch - */ - readonly xPlexDeviceName?: any; - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof SearchApiPerformSearch - */ - readonly xPlexDevice?: any; - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof SearchApiPerformSearch - */ - readonly xPlexPlatformVersion?: any; - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof SearchApiPerformSearch - */ - readonly xPlexPlatform?: any; - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof SearchApiPerformSearch - */ - readonly xPlexProduct?: any; - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof SearchApiPerformSearch - */ - readonly xPlexProvides?: any; - /** - * Your application version number - * @type {any} - * @memberof SearchApiPerformSearch - */ - readonly xPlexVersion?: any; } /** * Request parameters for performVoiceSearch operation in SearchApi. @@ -4458,48 +2420,6 @@ export interface SearchApiPerformVoiceSearchRequest { * @memberof SearchApiPerformVoiceSearch */ readonly limit?: any; - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof SearchApiPerformVoiceSearch - */ - readonly xPlexDeviceName?: any; - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof SearchApiPerformVoiceSearch - */ - readonly xPlexDevice?: any; - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof SearchApiPerformVoiceSearch - */ - readonly xPlexPlatformVersion?: any; - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof SearchApiPerformVoiceSearch - */ - readonly xPlexPlatform?: any; - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof SearchApiPerformVoiceSearch - */ - readonly xPlexProduct?: any; - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof SearchApiPerformVoiceSearch - */ - readonly xPlexProvides?: any; - /** - * Your application version number - * @type {any} - * @memberof SearchApiPerformVoiceSearch - */ - readonly xPlexVersion?: any; } /** * SearchApi - object-oriented interface @@ -4536,33 +2456,19 @@ export declare const SecurityApiAxiosParamCreator: (configuration?: Configuratio * If a caller requires connection details and a transient token for a source that is known to the server, for example a cloud media provider or shared PMS, then this endpoint can be called. This endpoint is only accessible with either an admin token or a valid transient token generated from an admin token. Note: requires Plex Media Server >= 1.15.4. * @summary Get Source Connection Information * @param {any} source The source identifier with an included prefix. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getSourceConnectionInformation: (source: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig) => Promise; + getSourceConnectionInformation: (source: any, axiosOptions?: AxiosRequestConfig) => Promise; /** * This endpoint provides the caller with a temporary token with the same access level as the caller\'s token. These tokens are valid for up to 48 hours and are destroyed if the server instance is restarted. * @summary Get a Transient Token. * @param {any} type `delegation` - This is the only supported `type` parameter. * @param {any} scope `all` - This is the only supported `scope` parameter. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getTransientToken: (type: any, scope: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig) => Promise; + getTransientToken: (type: any, scope: any, axiosOptions?: AxiosRequestConfig) => Promise; }; /** * SecurityApi - functional programming interface @@ -4573,33 +2479,19 @@ export declare const SecurityApiFp: (configuration?: Configuration) => { * If a caller requires connection details and a transient token for a source that is known to the server, for example a cloud media provider or shared PMS, then this endpoint can be called. This endpoint is only accessible with either an admin token or a valid transient token generated from an admin token. Note: requires Plex Media Server >= 1.15.4. * @summary Get Source Connection Information * @param {any} source The source identifier with an included prefix. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getSourceConnectionInformation(source: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; + getSourceConnectionInformation(source: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * This endpoint provides the caller with a temporary token with the same access level as the caller\'s token. These tokens are valid for up to 48 hours and are destroyed if the server instance is restarted. * @summary Get a Transient Token. * @param {any} type `delegation` - This is the only supported `type` parameter. * @param {any} scope `all` - This is the only supported `scope` parameter. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getTransientToken(type: any, scope: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; + getTransientToken(type: any, scope: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * SecurityApi - factory interface @@ -4610,33 +2502,19 @@ export declare const SecurityApiFactory: (configuration?: Configuration, basePat * If a caller requires connection details and a transient token for a source that is known to the server, for example a cloud media provider or shared PMS, then this endpoint can be called. This endpoint is only accessible with either an admin token or a valid transient token generated from an admin token. Note: requires Plex Media Server >= 1.15.4. * @summary Get Source Connection Information * @param {any} source The source identifier with an included prefix. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getSourceConnectionInformation(source: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise; + getSourceConnectionInformation(source: any, axiosOptions?: any): AxiosPromise; /** * This endpoint provides the caller with a temporary token with the same access level as the caller\'s token. These tokens are valid for up to 48 hours and are destroyed if the server instance is restarted. * @summary Get a Transient Token. * @param {any} type `delegation` - This is the only supported `type` parameter. * @param {any} scope `all` - This is the only supported `scope` parameter. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getTransientToken(type: any, scope: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise; + getTransientToken(type: any, scope: any, axiosOptions?: any): AxiosPromise; }; /** * Request parameters for getSourceConnectionInformation operation in SecurityApi. @@ -4650,48 +2528,6 @@ export interface SecurityApiGetSourceConnectionInformationRequest { * @memberof SecurityApiGetSourceConnectionInformation */ readonly source: any; - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof SecurityApiGetSourceConnectionInformation - */ - readonly xPlexDeviceName?: any; - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof SecurityApiGetSourceConnectionInformation - */ - readonly xPlexDevice?: any; - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof SecurityApiGetSourceConnectionInformation - */ - readonly xPlexPlatformVersion?: any; - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof SecurityApiGetSourceConnectionInformation - */ - readonly xPlexPlatform?: any; - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof SecurityApiGetSourceConnectionInformation - */ - readonly xPlexProduct?: any; - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof SecurityApiGetSourceConnectionInformation - */ - readonly xPlexProvides?: any; - /** - * Your application version number - * @type {any} - * @memberof SecurityApiGetSourceConnectionInformation - */ - readonly xPlexVersion?: any; } /** * Request parameters for getTransientToken operation in SecurityApi. @@ -4711,48 +2547,6 @@ export interface SecurityApiGetTransientTokenRequest { * @memberof SecurityApiGetTransientToken */ readonly scope: any; - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof SecurityApiGetTransientToken - */ - readonly xPlexDeviceName?: any; - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof SecurityApiGetTransientToken - */ - readonly xPlexDevice?: any; - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof SecurityApiGetTransientToken - */ - readonly xPlexPlatformVersion?: any; - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof SecurityApiGetTransientToken - */ - readonly xPlexPlatform?: any; - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof SecurityApiGetTransientToken - */ - readonly xPlexProduct?: any; - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof SecurityApiGetTransientToken - */ - readonly xPlexProvides?: any; - /** - * Your application version number - * @type {any} - * @memberof SecurityApiGetTransientToken - */ - readonly xPlexVersion?: any; } /** * SecurityApi - object-oriented interface @@ -4788,31 +2582,17 @@ export declare const ServerApiAxiosParamCreator: (configuration?: Configuration) /** * Server Capabilities * @summary Server Capabilities - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getServerCapabilities: (xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig) => Promise; + getServerCapabilities: (axiosOptions?: AxiosRequestConfig) => Promise; /** * Get Server Preferences * @summary Get Server Preferences - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getServerPreferences: (xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig) => Promise; + getServerPreferences: (axiosOptions?: AxiosRequestConfig) => Promise; }; /** * ServerApi - functional programming interface @@ -4822,31 +2602,17 @@ export declare const ServerApiFp: (configuration?: Configuration) => { /** * Server Capabilities * @summary Server Capabilities - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getServerCapabilities(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; + getServerCapabilities(axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Get Server Preferences * @summary Get Server Preferences - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getServerPreferences(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; + getServerPreferences(axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * ServerApi - factory interface @@ -4856,130 +2622,18 @@ export declare const ServerApiFactory: (configuration?: Configuration, basePath? /** * Server Capabilities * @summary Server Capabilities - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getServerCapabilities(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise; + getServerCapabilities(axiosOptions?: any): AxiosPromise; /** * Get Server Preferences * @summary Get Server Preferences - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getServerPreferences(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise; + getServerPreferences(axiosOptions?: any): AxiosPromise; }; -/** - * Request parameters for getServerCapabilities operation in ServerApi. - * @export - * @interface ServerApiGetServerCapabilitiesRequest - */ -export interface ServerApiGetServerCapabilitiesRequest { - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof ServerApiGetServerCapabilities - */ - readonly xPlexDeviceName?: any; - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof ServerApiGetServerCapabilities - */ - readonly xPlexDevice?: any; - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof ServerApiGetServerCapabilities - */ - readonly xPlexPlatformVersion?: any; - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof ServerApiGetServerCapabilities - */ - readonly xPlexPlatform?: any; - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof ServerApiGetServerCapabilities - */ - readonly xPlexProduct?: any; - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof ServerApiGetServerCapabilities - */ - readonly xPlexProvides?: any; - /** - * Your application version number - * @type {any} - * @memberof ServerApiGetServerCapabilities - */ - readonly xPlexVersion?: any; -} -/** - * Request parameters for getServerPreferences operation in ServerApi. - * @export - * @interface ServerApiGetServerPreferencesRequest - */ -export interface ServerApiGetServerPreferencesRequest { - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof ServerApiGetServerPreferences - */ - readonly xPlexDeviceName?: any; - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof ServerApiGetServerPreferences - */ - readonly xPlexDevice?: any; - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof ServerApiGetServerPreferences - */ - readonly xPlexPlatformVersion?: any; - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof ServerApiGetServerPreferences - */ - readonly xPlexPlatform?: any; - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof ServerApiGetServerPreferences - */ - readonly xPlexProduct?: any; - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof ServerApiGetServerPreferences - */ - readonly xPlexProvides?: any; - /** - * Your application version number - * @type {any} - * @memberof ServerApiGetServerPreferences - */ - readonly xPlexVersion?: any; -} /** * ServerApi - object-oriented interface * @export @@ -4990,21 +2644,19 @@ export declare class ServerApi extends BaseAPI { /** * Server Capabilities * @summary Server Capabilities - * @param {ServerApiGetServerCapabilitiesRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof ServerApi */ - getServerCapabilities(requestParameters?: ServerApiGetServerCapabilitiesRequest, axiosOptions?: AxiosRequestConfig): Promise>; + getServerCapabilities(axiosOptions?: AxiosRequestConfig): Promise>; /** * Get Server Preferences * @summary Get Server Preferences - * @param {ServerApiGetServerPreferencesRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof ServerApi */ - getServerPreferences(requestParameters?: ServerApiGetServerPreferencesRequest, axiosOptions?: AxiosRequestConfig): Promise>; + getServerPreferences(axiosOptions?: AxiosRequestConfig): Promise>; } /** * SessionsApi - axios parameter creator @@ -5014,31 +2666,17 @@ export declare const SessionsApiAxiosParamCreator: (configuration?: Configuratio /** * This will Retrieve a listing of all history views. * @summary Get Session History - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getSessionHistory: (xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig) => Promise; + getSessionHistory: (axiosOptions?: AxiosRequestConfig) => Promise; /** * This will retrieve the \"Now Playing\" Information of the PMS. * @summary Get Active Sessions - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getSessions: (xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig) => Promise; + getSessions: (axiosOptions?: AxiosRequestConfig) => Promise; }; /** * SessionsApi - functional programming interface @@ -5048,31 +2686,17 @@ export declare const SessionsApiFp: (configuration?: Configuration) => { /** * This will Retrieve a listing of all history views. * @summary Get Session History - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getSessionHistory(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; + getSessionHistory(axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * This will retrieve the \"Now Playing\" Information of the PMS. * @summary Get Active Sessions - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getSessions(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; + getSessions(axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * SessionsApi - factory interface @@ -5082,130 +2706,18 @@ export declare const SessionsApiFactory: (configuration?: Configuration, basePat /** * This will Retrieve a listing of all history views. * @summary Get Session History - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getSessionHistory(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise; + getSessionHistory(axiosOptions?: any): AxiosPromise; /** * This will retrieve the \"Now Playing\" Information of the PMS. * @summary Get Active Sessions - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getSessions(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise; + getSessions(axiosOptions?: any): AxiosPromise; }; -/** - * Request parameters for getSessionHistory operation in SessionsApi. - * @export - * @interface SessionsApiGetSessionHistoryRequest - */ -export interface SessionsApiGetSessionHistoryRequest { - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof SessionsApiGetSessionHistory - */ - readonly xPlexDeviceName?: any; - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof SessionsApiGetSessionHistory - */ - readonly xPlexDevice?: any; - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof SessionsApiGetSessionHistory - */ - readonly xPlexPlatformVersion?: any; - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof SessionsApiGetSessionHistory - */ - readonly xPlexPlatform?: any; - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof SessionsApiGetSessionHistory - */ - readonly xPlexProduct?: any; - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof SessionsApiGetSessionHistory - */ - readonly xPlexProvides?: any; - /** - * Your application version number - * @type {any} - * @memberof SessionsApiGetSessionHistory - */ - readonly xPlexVersion?: any; -} -/** - * Request parameters for getSessions operation in SessionsApi. - * @export - * @interface SessionsApiGetSessionsRequest - */ -export interface SessionsApiGetSessionsRequest { - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof SessionsApiGetSessions - */ - readonly xPlexDeviceName?: any; - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof SessionsApiGetSessions - */ - readonly xPlexDevice?: any; - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof SessionsApiGetSessions - */ - readonly xPlexPlatformVersion?: any; - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof SessionsApiGetSessions - */ - readonly xPlexPlatform?: any; - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof SessionsApiGetSessions - */ - readonly xPlexProduct?: any; - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof SessionsApiGetSessions - */ - readonly xPlexProvides?: any; - /** - * Your application version number - * @type {any} - * @memberof SessionsApiGetSessions - */ - readonly xPlexVersion?: any; -} /** * SessionsApi - object-oriented interface * @export @@ -5216,21 +2728,19 @@ export declare class SessionsApi extends BaseAPI { /** * This will Retrieve a listing of all history views. * @summary Get Session History - * @param {SessionsApiGetSessionHistoryRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof SessionsApi */ - getSessionHistory(requestParameters?: SessionsApiGetSessionHistoryRequest, axiosOptions?: AxiosRequestConfig): Promise>; + getSessionHistory(axiosOptions?: AxiosRequestConfig): Promise>; /** * This will retrieve the \"Now Playing\" Information of the PMS. * @summary Get Active Sessions - * @param {SessionsApiGetSessionsRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof SessionsApi */ - getSessions(requestParameters?: SessionsApiGetSessionsRequest, axiosOptions?: AxiosRequestConfig): Promise>; + getSessions(axiosOptions?: AxiosRequestConfig): Promise>; } /** * UpdaterApi - axios parameter creator @@ -5242,46 +2752,25 @@ export declare const UpdaterApiAxiosParamCreator: (configuration?: Configuration * @summary Apply Updates * @param {any} [tonight] Indicate that you want the update to run during the next Butler execution. Omitting this or setting it to false indicates that the update should install * @param {any} [skip] Indicate that the latest version should be marked as skipped. The <Release> entry for this version will have the `state` set to `skipped`. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - applyUpdates: (tonight?: any, skip?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig) => Promise; + applyUpdates: (tonight?: any, skip?: any, axiosOptions?: AxiosRequestConfig) => Promise; /** * Checking for updates * @summary Checking for updates * @param {any} [download] Indicate that you want to start download any updates found. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - checkForUpdates: (download?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig) => Promise; + checkForUpdates: (download?: any, axiosOptions?: AxiosRequestConfig) => Promise; /** * Querying status of updates * @summary Querying status of updates - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - queryUpdateStatus: (xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig) => Promise; + queryUpdateStatus: (axiosOptions?: AxiosRequestConfig) => Promise; }; /** * UpdaterApi - functional programming interface @@ -5293,46 +2782,25 @@ export declare const UpdaterApiFp: (configuration?: Configuration) => { * @summary Apply Updates * @param {any} [tonight] Indicate that you want the update to run during the next Butler execution. Omitting this or setting it to false indicates that the update should install * @param {any} [skip] Indicate that the latest version should be marked as skipped. The <Release> entry for this version will have the `state` set to `skipped`. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - applyUpdates(tonight?: any, skip?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; + applyUpdates(tonight?: any, skip?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Checking for updates * @summary Checking for updates * @param {any} [download] Indicate that you want to start download any updates found. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - checkForUpdates(download?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; + checkForUpdates(download?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Querying status of updates * @summary Querying status of updates - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - queryUpdateStatus(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; + queryUpdateStatus(axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * UpdaterApi - factory interface @@ -5344,46 +2812,25 @@ export declare const UpdaterApiFactory: (configuration?: Configuration, basePath * @summary Apply Updates * @param {any} [tonight] Indicate that you want the update to run during the next Butler execution. Omitting this or setting it to false indicates that the update should install * @param {any} [skip] Indicate that the latest version should be marked as skipped. The <Release> entry for this version will have the `state` set to `skipped`. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - applyUpdates(tonight?: any, skip?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise; + applyUpdates(tonight?: any, skip?: any, axiosOptions?: any): AxiosPromise; /** * Checking for updates * @summary Checking for updates * @param {any} [download] Indicate that you want to start download any updates found. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - checkForUpdates(download?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise; + checkForUpdates(download?: any, axiosOptions?: any): AxiosPromise; /** * Querying status of updates * @summary Querying status of updates - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - queryUpdateStatus(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise; + queryUpdateStatus(axiosOptions?: any): AxiosPromise; }; /** * Request parameters for applyUpdates operation in UpdaterApi. @@ -5403,48 +2850,6 @@ export interface UpdaterApiApplyUpdatesRequest { * @memberof UpdaterApiApplyUpdates */ readonly skip?: any; - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof UpdaterApiApplyUpdates - */ - readonly xPlexDeviceName?: any; - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof UpdaterApiApplyUpdates - */ - readonly xPlexDevice?: any; - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof UpdaterApiApplyUpdates - */ - readonly xPlexPlatformVersion?: any; - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof UpdaterApiApplyUpdates - */ - readonly xPlexPlatform?: any; - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof UpdaterApiApplyUpdates - */ - readonly xPlexProduct?: any; - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof UpdaterApiApplyUpdates - */ - readonly xPlexProvides?: any; - /** - * Your application version number - * @type {any} - * @memberof UpdaterApiApplyUpdates - */ - readonly xPlexVersion?: any; } /** * Request parameters for checkForUpdates operation in UpdaterApi. @@ -5458,97 +2863,6 @@ export interface UpdaterApiCheckForUpdatesRequest { * @memberof UpdaterApiCheckForUpdates */ readonly download?: any; - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof UpdaterApiCheckForUpdates - */ - readonly xPlexDeviceName?: any; - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof UpdaterApiCheckForUpdates - */ - readonly xPlexDevice?: any; - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof UpdaterApiCheckForUpdates - */ - readonly xPlexPlatformVersion?: any; - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof UpdaterApiCheckForUpdates - */ - readonly xPlexPlatform?: any; - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof UpdaterApiCheckForUpdates - */ - readonly xPlexProduct?: any; - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof UpdaterApiCheckForUpdates - */ - readonly xPlexProvides?: any; - /** - * Your application version number - * @type {any} - * @memberof UpdaterApiCheckForUpdates - */ - readonly xPlexVersion?: any; -} -/** - * Request parameters for queryUpdateStatus operation in UpdaterApi. - * @export - * @interface UpdaterApiQueryUpdateStatusRequest - */ -export interface UpdaterApiQueryUpdateStatusRequest { - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof UpdaterApiQueryUpdateStatus - */ - readonly xPlexDeviceName?: any; - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof UpdaterApiQueryUpdateStatus - */ - readonly xPlexDevice?: any; - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof UpdaterApiQueryUpdateStatus - */ - readonly xPlexPlatformVersion?: any; - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof UpdaterApiQueryUpdateStatus - */ - readonly xPlexPlatform?: any; - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof UpdaterApiQueryUpdateStatus - */ - readonly xPlexProduct?: any; - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof UpdaterApiQueryUpdateStatus - */ - readonly xPlexProvides?: any; - /** - * Your application version number - * @type {any} - * @memberof UpdaterApiQueryUpdateStatus - */ - readonly xPlexVersion?: any; } /** * UpdaterApi - object-oriented interface @@ -5578,12 +2892,11 @@ export declare class UpdaterApi extends BaseAPI { /** * Querying status of updates * @summary Querying status of updates - * @param {UpdaterApiQueryUpdateStatusRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof UpdaterApi */ - queryUpdateStatus(requestParameters?: UpdaterApiQueryUpdateStatusRequest, axiosOptions?: AxiosRequestConfig): Promise>; + queryUpdateStatus(axiosOptions?: AxiosRequestConfig): Promise>; } /** * UserApi - axios parameter creator @@ -5593,17 +2906,10 @@ export declare const UserApiAxiosParamCreator: (configuration?: Configuration) = /** * Get Logged in User * @summary Get Logged in User - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getUserDetails: (xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig) => Promise; + getUserDetails: (axiosOptions?: AxiosRequestConfig) => Promise; }; /** * UserApi - functional programming interface @@ -5613,17 +2919,10 @@ export declare const UserApiFp: (configuration?: Configuration) => { /** * Get Logged in User * @summary Get Logged in User - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getUserDetails(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; + getUserDetails(axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * UserApi - factory interface @@ -5633,67 +2932,11 @@ export declare const UserApiFactory: (configuration?: Configuration, basePath?: /** * Get Logged in User * @summary Get Logged in User - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getUserDetails(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise; + getUserDetails(axiosOptions?: any): AxiosPromise; }; -/** - * Request parameters for getUserDetails operation in UserApi. - * @export - * @interface UserApiGetUserDetailsRequest - */ -export interface UserApiGetUserDetailsRequest { - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof UserApiGetUserDetails - */ - readonly xPlexDeviceName?: any; - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof UserApiGetUserDetails - */ - readonly xPlexDevice?: any; - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof UserApiGetUserDetails - */ - readonly xPlexPlatformVersion?: any; - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof UserApiGetUserDetails - */ - readonly xPlexPlatform?: any; - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof UserApiGetUserDetails - */ - readonly xPlexProduct?: any; - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof UserApiGetUserDetails - */ - readonly xPlexProvides?: any; - /** - * Your application version number - * @type {any} - * @memberof UserApiGetUserDetails - */ - readonly xPlexVersion?: any; -} /** * UserApi - object-oriented interface * @export @@ -5704,10 +2947,9 @@ export declare class UserApi extends BaseAPI { /** * Get Logged in User * @summary Get Logged in User - * @param {UserApiGetUserDetailsRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof UserApi */ - getUserDetails(requestParameters?: UserApiGetUserDetailsRequest, axiosOptions?: AxiosRequestConfig): Promise>; + getUserDetails(axiosOptions?: AxiosRequestConfig): Promise>; } diff --git a/dist/sdk-output/api.js b/dist/sdk-output/api.js index a14d4556..b9ef2194 100644 --- a/dist/sdk-output/api.js +++ b/dist/sdk-output/api.js @@ -94,17 +94,10 @@ var ActivitiesApiAxiosParamCreator = function (configuration) { * Cancel Server Activities * @summary Cancel Server Activities * @param {any} activityUUID The UUID of the activity to cancel. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - cancelServerActivities: function (activityUUID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + cancelServerActivities: function (activityUUID, axiosOptions) { if (axiosOptions === void 0) { axiosOptions = {}; } return __awaiter(_this, void 0, void 0, function () { var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions; @@ -122,39 +115,32 @@ var ActivitiesApiAxiosParamCreator = function (configuration) { localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), axiosOptions); localVarHeaderParameter = {}; localVarQueryParameter = {}; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required ]; case 1: - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required _a.sent(); - // authentication PlexToken required - return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + // authentication DeviceName required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + // authentication Host required + ]; case 2: - // authentication PlexToken required + // authentication DeviceName required + _a.sent(); + // authentication Host required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Host", configuration) + // authentication Token required + ]; + case 3: + // authentication Host required + _a.sent(); + // authentication Token required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + case 4: + // authentication Token required _a.sent(); - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers); @@ -169,17 +155,10 @@ var ActivitiesApiAxiosParamCreator = function (configuration) { /** * Get Server Activities * @summary Get Server Activities - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getServerActivities: function (xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getServerActivities: function (axiosOptions) { if (axiosOptions === void 0) { axiosOptions = {}; } return __awaiter(_this, void 0, void 0, function () { var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions; @@ -194,39 +173,32 @@ var ActivitiesApiAxiosParamCreator = function (configuration) { localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions); localVarHeaderParameter = {}; localVarQueryParameter = {}; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required ]; case 1: - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required _a.sent(); - // authentication PlexToken required - return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + // authentication DeviceName required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + // authentication Host required + ]; case 2: - // authentication PlexToken required + // authentication DeviceName required + _a.sent(); + // authentication Host required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Host", configuration) + // authentication Token required + ]; + case 3: + // authentication Host required + _a.sent(); + // authentication Token required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + case 4: + // authentication Token required _a.sent(); - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers); @@ -252,22 +224,15 @@ var ActivitiesApiFp = function (configuration) { * Cancel Server Activities * @summary Cancel Server Activities * @param {any} activityUUID The UUID of the activity to cancel. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - cancelServerActivities: function (activityUUID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + cancelServerActivities: function (activityUUID, axiosOptions) { return __awaiter(this, void 0, void 0, function () { var localVarAxiosArgs; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, localVarAxiosParamCreator.cancelServerActivities(activityUUID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions)]; + case 0: return [4 /*yield*/, localVarAxiosParamCreator.cancelServerActivities(activityUUID, axiosOptions)]; case 1: localVarAxiosArgs = _a.sent(); return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; @@ -278,22 +243,15 @@ var ActivitiesApiFp = function (configuration) { /** * Get Server Activities * @summary Get Server Activities - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getServerActivities: function (xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getServerActivities: function (axiosOptions) { return __awaiter(this, void 0, void 0, function () { var localVarAxiosArgs; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, localVarAxiosParamCreator.getServerActivities(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions)]; + case 0: return [4 /*yield*/, localVarAxiosParamCreator.getServerActivities(axiosOptions)]; case 1: localVarAxiosArgs = _a.sent(); return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; @@ -315,34 +273,20 @@ var ActivitiesApiFactory = function (configuration, basePath, axios) { * Cancel Server Activities * @summary Cancel Server Activities * @param {any} activityUUID The UUID of the activity to cancel. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - cancelServerActivities: function (activityUUID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { - return localVarFp.cancelServerActivities(activityUUID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then(function (request) { return request(axios, basePath); }); + cancelServerActivities: function (activityUUID, axiosOptions) { + return localVarFp.cancelServerActivities(activityUUID, axiosOptions).then(function (request) { return request(axios, basePath); }); }, /** * Get Server Activities * @summary Get Server Activities - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getServerActivities: function (xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { - return localVarFp.getServerActivities(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then(function (request) { return request(axios, basePath); }); + getServerActivities: function (axiosOptions) { + return localVarFp.getServerActivities(axiosOptions).then(function (request) { return request(axios, basePath); }); }, }; }; @@ -368,20 +312,18 @@ var ActivitiesApi = /** @class */ (function (_super) { */ ActivitiesApi.prototype.cancelServerActivities = function (requestParameters, axiosOptions) { var _this = this; - return (0, exports.ActivitiesApiFp)(this.configuration).cancelServerActivities(requestParameters.activityUUID, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); + return (0, exports.ActivitiesApiFp)(this.configuration).cancelServerActivities(requestParameters.activityUUID, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); }; /** * Get Server Activities * @summary Get Server Activities - * @param {ActivitiesApiGetServerActivitiesRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof ActivitiesApi */ - ActivitiesApi.prototype.getServerActivities = function (requestParameters, axiosOptions) { + ActivitiesApi.prototype.getServerActivities = function (axiosOptions) { var _this = this; - if (requestParameters === void 0) { requestParameters = {}; } - return (0, exports.ActivitiesApiFp)(this.configuration).getServerActivities(requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); + return (0, exports.ActivitiesApiFp)(this.configuration).getServerActivities(axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); }; return ActivitiesApi; }(base_1.BaseAPI)); @@ -397,60 +339,61 @@ var AuthenticationApiAxiosParamCreator = function (configuration) { * Retrieve a Pin from Plex.tv for authentication flows * @summary Get a Pin * @param {any} [strong] Determines the kind of code returned by the API call Strong codes are used for Pin authentication flows Non-Strong codes are used for `Plex.tv/link` - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getPin: function (strong, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getPin: function (strong, axiosOptions) { if (axiosOptions === void 0) { axiosOptions = {}; } return __awaiter(_this, void 0, void 0, function () { var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions; return __generator(this, function (_a) { - localVarPath = "/pins"; - localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL); - if (configuration) { - baseOptions = configuration.baseOptions; + switch (_a.label) { + case 0: + localVarPath = "/pins"; + localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL); + if (configuration) { + baseOptions = configuration.baseOptions; + } + localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions); + localVarHeaderParameter = {}; + localVarQueryParameter = {}; + // authentication ClientIdentifier required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) + // authentication DeviceName required + ]; + case 1: + // authentication ClientIdentifier required + _a.sent(); + // authentication DeviceName required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + // authentication Host required + ]; + case 2: + // authentication DeviceName required + _a.sent(); + // authentication Host required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Host", configuration) + // authentication Token required + ]; + case 3: + // authentication Host required + _a.sent(); + // authentication Token required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + case 4: + // authentication Token required + _a.sent(); + if (strong !== undefined) { + localVarQueryParameter['strong'] = strong; + } + (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); + headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers); + return [2 /*return*/, { + url: (0, common_1.toPathString)(localVarUrlObj), + axiosOptions: localVarRequestOptions, + }]; } - localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions); - localVarHeaderParameter = {}; - localVarQueryParameter = {}; - if (strong !== undefined) { - localVarQueryParameter['strong'] = strong; - } - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } - (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); - headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; - localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers); - return [2 /*return*/, { - url: (0, common_1.toPathString)(localVarUrlObj), - axiosOptions: localVarRequestOptions, - }]; }); }); }, @@ -458,60 +401,61 @@ var AuthenticationApiAxiosParamCreator = function (configuration) { * Retrieve an Access Token from Plex.tv after the Pin has already been authenticated * @summary Get Access Token * @param {any} pinID The PinID to retrieve an access token for - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getToken: function (pinID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getToken: function (pinID, axiosOptions) { if (axiosOptions === void 0) { axiosOptions = {}; } return __awaiter(_this, void 0, void 0, function () { var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions; return __generator(this, function (_a) { - // verify required parameter 'pinID' is not null or undefined - (0, common_1.assertParamExists)('getToken', 'pinID', pinID); - localVarPath = "/pins/{pinID}" - .replace("{".concat("pinID", "}"), encodeURIComponent(String(pinID))); - localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL); - if (configuration) { - baseOptions = configuration.baseOptions; + switch (_a.label) { + case 0: + // verify required parameter 'pinID' is not null or undefined + (0, common_1.assertParamExists)('getToken', 'pinID', pinID); + localVarPath = "/pins/{pinID}" + .replace("{".concat("pinID", "}"), encodeURIComponent(String(pinID))); + localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL); + if (configuration) { + baseOptions = configuration.baseOptions; + } + localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions); + localVarHeaderParameter = {}; + localVarQueryParameter = {}; + // authentication ClientIdentifier required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) + // authentication DeviceName required + ]; + case 1: + // authentication ClientIdentifier required + _a.sent(); + // authentication DeviceName required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + // authentication Host required + ]; + case 2: + // authentication DeviceName required + _a.sent(); + // authentication Host required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Host", configuration) + // authentication Token required + ]; + case 3: + // authentication Host required + _a.sent(); + // authentication Token required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + case 4: + // authentication Token required + _a.sent(); + (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); + headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers); + return [2 /*return*/, { + url: (0, common_1.toPathString)(localVarUrlObj), + axiosOptions: localVarRequestOptions, + }]; } - localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions); - localVarHeaderParameter = {}; - localVarQueryParameter = {}; - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } - (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); - headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; - localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers); - return [2 /*return*/, { - url: (0, common_1.toPathString)(localVarUrlObj), - axiosOptions: localVarRequestOptions, - }]; }); }); }, @@ -529,22 +473,15 @@ var AuthenticationApiFp = function (configuration) { * Retrieve a Pin from Plex.tv for authentication flows * @summary Get a Pin * @param {any} [strong] Determines the kind of code returned by the API call Strong codes are used for Pin authentication flows Non-Strong codes are used for `Plex.tv/link` - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getPin: function (strong, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getPin: function (strong, axiosOptions) { return __awaiter(this, void 0, void 0, function () { var localVarAxiosArgs; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPin(strong, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions)]; + case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPin(strong, axiosOptions)]; case 1: localVarAxiosArgs = _a.sent(); return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; @@ -556,22 +493,15 @@ var AuthenticationApiFp = function (configuration) { * Retrieve an Access Token from Plex.tv after the Pin has already been authenticated * @summary Get Access Token * @param {any} pinID The PinID to retrieve an access token for - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getToken: function (pinID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getToken: function (pinID, axiosOptions) { return __awaiter(this, void 0, void 0, function () { var localVarAxiosArgs; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, localVarAxiosParamCreator.getToken(pinID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions)]; + case 0: return [4 /*yield*/, localVarAxiosParamCreator.getToken(pinID, axiosOptions)]; case 1: localVarAxiosArgs = _a.sent(); return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; @@ -593,35 +523,21 @@ var AuthenticationApiFactory = function (configuration, basePath, axios) { * Retrieve a Pin from Plex.tv for authentication flows * @summary Get a Pin * @param {any} [strong] Determines the kind of code returned by the API call Strong codes are used for Pin authentication flows Non-Strong codes are used for `Plex.tv/link` - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getPin: function (strong, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { - return localVarFp.getPin(strong, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then(function (request) { return request(axios, basePath); }); + getPin: function (strong, axiosOptions) { + return localVarFp.getPin(strong, axiosOptions).then(function (request) { return request(axios, basePath); }); }, /** * Retrieve an Access Token from Plex.tv after the Pin has already been authenticated * @summary Get Access Token * @param {any} pinID The PinID to retrieve an access token for - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getToken: function (pinID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { - return localVarFp.getToken(pinID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then(function (request) { return request(axios, basePath); }); + getToken: function (pinID, axiosOptions) { + return localVarFp.getToken(pinID, axiosOptions).then(function (request) { return request(axios, basePath); }); }, }; }; @@ -648,7 +564,7 @@ var AuthenticationApi = /** @class */ (function (_super) { AuthenticationApi.prototype.getPin = function (requestParameters, axiosOptions) { var _this = this; if (requestParameters === void 0) { requestParameters = {}; } - return (0, exports.AuthenticationApiFp)(this.configuration).getPin(requestParameters.strong, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); + return (0, exports.AuthenticationApiFp)(this.configuration).getPin(requestParameters.strong, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); }; /** * Retrieve an Access Token from Plex.tv after the Pin has already been authenticated @@ -660,7 +576,7 @@ var AuthenticationApi = /** @class */ (function (_super) { */ AuthenticationApi.prototype.getToken = function (requestParameters, axiosOptions) { var _this = this; - return (0, exports.AuthenticationApiFp)(this.configuration).getToken(requestParameters.pinID, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); + return (0, exports.AuthenticationApiFp)(this.configuration).getToken(requestParameters.pinID, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); }; return AuthenticationApi; }(base_1.BaseAPI)); @@ -675,17 +591,10 @@ var ButlerApiAxiosParamCreator = function (configuration) { /** * This endpoint will attempt to start all Butler tasks that are enabled in the settings. Butler tasks normally run automatically during a time window configured on the server\'s Settings page but can be manually started using this endpoint. Tasks will run with the following criteria: 1. Any tasks not scheduled to run on the current day will be skipped. 2. If a task is configured to run at a random time during the configured window and we are outside that window, the task will start immediately. 3. If a task is configured to run at a random time during the configured window and we are within that window, the task will be scheduled at a random time within the window. 4. If we are outside the configured window, the task will start immediately. * @summary Start all Butler tasks - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - startAllTasks: function (xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + startAllTasks: function (axiosOptions) { if (axiosOptions === void 0) { axiosOptions = {}; } return __awaiter(_this, void 0, void 0, function () { var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions; @@ -700,39 +609,32 @@ var ButlerApiAxiosParamCreator = function (configuration) { localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions); localVarHeaderParameter = {}; localVarQueryParameter = {}; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required ]; case 1: - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required _a.sent(); - // authentication PlexToken required - return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + // authentication DeviceName required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + // authentication Host required + ]; case 2: - // authentication PlexToken required + // authentication DeviceName required + _a.sent(); + // authentication Host required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Host", configuration) + // authentication Token required + ]; + case 3: + // authentication Host required + _a.sent(); + // authentication Token required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + case 4: + // authentication Token required _a.sent(); - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers); @@ -748,17 +650,10 @@ var ButlerApiAxiosParamCreator = function (configuration) { * This endpoint will attempt to start a single Butler task that is enabled in the settings. Butler tasks normally run automatically during a time window configured on the server\'s Settings page but can be manually started using this endpoint. Tasks will run with the following criteria: 1. Any tasks not scheduled to run on the current day will be skipped. 2. If a task is configured to run at a random time during the configured window and we are outside that window, the task will start immediately. 3. If a task is configured to run at a random time during the configured window and we are within that window, the task will be scheduled at a random time within the window. 4. If we are outside the configured window, the task will start immediately. * @summary Start a single Butler task * @param {any} taskName the name of the task to be started. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - startTask: function (taskName, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + startTask: function (taskName, axiosOptions) { if (axiosOptions === void 0) { axiosOptions = {}; } return __awaiter(_this, void 0, void 0, function () { var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions; @@ -776,39 +671,32 @@ var ButlerApiAxiosParamCreator = function (configuration) { localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions); localVarHeaderParameter = {}; localVarQueryParameter = {}; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required ]; case 1: - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required _a.sent(); - // authentication PlexToken required - return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + // authentication DeviceName required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + // authentication Host required + ]; case 2: - // authentication PlexToken required + // authentication DeviceName required + _a.sent(); + // authentication Host required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Host", configuration) + // authentication Token required + ]; + case 3: + // authentication Host required + _a.sent(); + // authentication Token required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + case 4: + // authentication Token required _a.sent(); - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers); @@ -841,17 +729,31 @@ var ButlerApiAxiosParamCreator = function (configuration) { localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), axiosOptions); localVarHeaderParameter = {}; localVarQueryParameter = {}; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required ]; case 1: - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required _a.sent(); - // authentication PlexToken required - return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + // authentication DeviceName required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + // authentication Host required + ]; case 2: - // authentication PlexToken required + // authentication DeviceName required + _a.sent(); + // authentication Host required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Host", configuration) + // authentication Token required + ]; + case 3: + // authentication Host required + _a.sent(); + // authentication Token required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + case 4: + // authentication Token required _a.sent(); (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -868,17 +770,10 @@ var ButlerApiAxiosParamCreator = function (configuration) { * This endpoint will stop a currently running task by name, or remove it from the list of scheduled tasks if it exists. See the section above for a list of task names for this endpoint. * @summary Stop a single Butler task * @param {any} taskName The name of the task to be started. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - stopTask: function (taskName, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + stopTask: function (taskName, axiosOptions) { if (axiosOptions === void 0) { axiosOptions = {}; } return __awaiter(_this, void 0, void 0, function () { var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions; @@ -896,39 +791,32 @@ var ButlerApiAxiosParamCreator = function (configuration) { localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), axiosOptions); localVarHeaderParameter = {}; localVarQueryParameter = {}; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required ]; case 1: - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required _a.sent(); - // authentication PlexToken required - return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + // authentication DeviceName required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + // authentication Host required + ]; case 2: - // authentication PlexToken required + // authentication DeviceName required + _a.sent(); + // authentication Host required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Host", configuration) + // authentication Token required + ]; + case 3: + // authentication Host required + _a.sent(); + // authentication Token required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + case 4: + // authentication Token required _a.sent(); - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers); @@ -953,22 +841,15 @@ var ButlerApiFp = function (configuration) { /** * This endpoint will attempt to start all Butler tasks that are enabled in the settings. Butler tasks normally run automatically during a time window configured on the server\'s Settings page but can be manually started using this endpoint. Tasks will run with the following criteria: 1. Any tasks not scheduled to run on the current day will be skipped. 2. If a task is configured to run at a random time during the configured window and we are outside that window, the task will start immediately. 3. If a task is configured to run at a random time during the configured window and we are within that window, the task will be scheduled at a random time within the window. 4. If we are outside the configured window, the task will start immediately. * @summary Start all Butler tasks - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - startAllTasks: function (xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + startAllTasks: function (axiosOptions) { return __awaiter(this, void 0, void 0, function () { var localVarAxiosArgs; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, localVarAxiosParamCreator.startAllTasks(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions)]; + case 0: return [4 /*yield*/, localVarAxiosParamCreator.startAllTasks(axiosOptions)]; case 1: localVarAxiosArgs = _a.sent(); return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; @@ -980,22 +861,15 @@ var ButlerApiFp = function (configuration) { * This endpoint will attempt to start a single Butler task that is enabled in the settings. Butler tasks normally run automatically during a time window configured on the server\'s Settings page but can be manually started using this endpoint. Tasks will run with the following criteria: 1. Any tasks not scheduled to run on the current day will be skipped. 2. If a task is configured to run at a random time during the configured window and we are outside that window, the task will start immediately. 3. If a task is configured to run at a random time during the configured window and we are within that window, the task will be scheduled at a random time within the window. 4. If we are outside the configured window, the task will start immediately. * @summary Start a single Butler task * @param {any} taskName the name of the task to be started. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - startTask: function (taskName, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + startTask: function (taskName, axiosOptions) { return __awaiter(this, void 0, void 0, function () { var localVarAxiosArgs; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, localVarAxiosParamCreator.startTask(taskName, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions)]; + case 0: return [4 /*yield*/, localVarAxiosParamCreator.startTask(taskName, axiosOptions)]; case 1: localVarAxiosArgs = _a.sent(); return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; @@ -1026,22 +900,15 @@ var ButlerApiFp = function (configuration) { * This endpoint will stop a currently running task by name, or remove it from the list of scheduled tasks if it exists. See the section above for a list of task names for this endpoint. * @summary Stop a single Butler task * @param {any} taskName The name of the task to be started. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - stopTask: function (taskName, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + stopTask: function (taskName, axiosOptions) { return __awaiter(this, void 0, void 0, function () { var localVarAxiosArgs; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, localVarAxiosParamCreator.stopTask(taskName, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions)]; + case 0: return [4 /*yield*/, localVarAxiosParamCreator.stopTask(taskName, axiosOptions)]; case 1: localVarAxiosArgs = _a.sent(); return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; @@ -1062,35 +929,21 @@ var ButlerApiFactory = function (configuration, basePath, axios) { /** * This endpoint will attempt to start all Butler tasks that are enabled in the settings. Butler tasks normally run automatically during a time window configured on the server\'s Settings page but can be manually started using this endpoint. Tasks will run with the following criteria: 1. Any tasks not scheduled to run on the current day will be skipped. 2. If a task is configured to run at a random time during the configured window and we are outside that window, the task will start immediately. 3. If a task is configured to run at a random time during the configured window and we are within that window, the task will be scheduled at a random time within the window. 4. If we are outside the configured window, the task will start immediately. * @summary Start all Butler tasks - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - startAllTasks: function (xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { - return localVarFp.startAllTasks(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then(function (request) { return request(axios, basePath); }); + startAllTasks: function (axiosOptions) { + return localVarFp.startAllTasks(axiosOptions).then(function (request) { return request(axios, basePath); }); }, /** * This endpoint will attempt to start a single Butler task that is enabled in the settings. Butler tasks normally run automatically during a time window configured on the server\'s Settings page but can be manually started using this endpoint. Tasks will run with the following criteria: 1. Any tasks not scheduled to run on the current day will be skipped. 2. If a task is configured to run at a random time during the configured window and we are outside that window, the task will start immediately. 3. If a task is configured to run at a random time during the configured window and we are within that window, the task will be scheduled at a random time within the window. 4. If we are outside the configured window, the task will start immediately. * @summary Start a single Butler task * @param {any} taskName the name of the task to be started. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - startTask: function (taskName, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { - return localVarFp.startTask(taskName, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then(function (request) { return request(axios, basePath); }); + startTask: function (taskName, axiosOptions) { + return localVarFp.startTask(taskName, axiosOptions).then(function (request) { return request(axios, basePath); }); }, /** * This endpoint will stop all currently running tasks and remove any scheduled tasks from the queue. @@ -1105,18 +958,11 @@ var ButlerApiFactory = function (configuration, basePath, axios) { * This endpoint will stop a currently running task by name, or remove it from the list of scheduled tasks if it exists. See the section above for a list of task names for this endpoint. * @summary Stop a single Butler task * @param {any} taskName The name of the task to be started. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - stopTask: function (taskName, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { - return localVarFp.stopTask(taskName, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then(function (request) { return request(axios, basePath); }); + stopTask: function (taskName, axiosOptions) { + return localVarFp.stopTask(taskName, axiosOptions).then(function (request) { return request(axios, basePath); }); }, }; }; @@ -1135,15 +981,13 @@ var ButlerApi = /** @class */ (function (_super) { /** * This endpoint will attempt to start all Butler tasks that are enabled in the settings. Butler tasks normally run automatically during a time window configured on the server\'s Settings page but can be manually started using this endpoint. Tasks will run with the following criteria: 1. Any tasks not scheduled to run on the current day will be skipped. 2. If a task is configured to run at a random time during the configured window and we are outside that window, the task will start immediately. 3. If a task is configured to run at a random time during the configured window and we are within that window, the task will be scheduled at a random time within the window. 4. If we are outside the configured window, the task will start immediately. * @summary Start all Butler tasks - * @param {ButlerApiStartAllTasksRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof ButlerApi */ - ButlerApi.prototype.startAllTasks = function (requestParameters, axiosOptions) { + ButlerApi.prototype.startAllTasks = function (axiosOptions) { var _this = this; - if (requestParameters === void 0) { requestParameters = {}; } - return (0, exports.ButlerApiFp)(this.configuration).startAllTasks(requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); + return (0, exports.ButlerApiFp)(this.configuration).startAllTasks(axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); }; /** * This endpoint will attempt to start a single Butler task that is enabled in the settings. Butler tasks normally run automatically during a time window configured on the server\'s Settings page but can be manually started using this endpoint. Tasks will run with the following criteria: 1. Any tasks not scheduled to run on the current day will be skipped. 2. If a task is configured to run at a random time during the configured window and we are outside that window, the task will start immediately. 3. If a task is configured to run at a random time during the configured window and we are within that window, the task will be scheduled at a random time within the window. 4. If we are outside the configured window, the task will start immediately. @@ -1155,7 +999,7 @@ var ButlerApi = /** @class */ (function (_super) { */ ButlerApi.prototype.startTask = function (requestParameters, axiosOptions) { var _this = this; - return (0, exports.ButlerApiFp)(this.configuration).startTask(requestParameters.taskName, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); + return (0, exports.ButlerApiFp)(this.configuration).startTask(requestParameters.taskName, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); }; /** * This endpoint will stop all currently running tasks and remove any scheduled tasks from the queue. @@ -1178,7 +1022,7 @@ var ButlerApi = /** @class */ (function (_super) { */ ButlerApi.prototype.stopTask = function (requestParameters, axiosOptions) { var _this = this; - return (0, exports.ButlerApiFp)(this.configuration).stopTask(requestParameters.taskName, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); + return (0, exports.ButlerApiFp)(this.configuration).stopTask(requestParameters.taskName, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); }; return ButlerApi; }(base_1.BaseAPI)); @@ -1193,17 +1037,10 @@ var DevicesApiAxiosParamCreator = function (configuration) { /** * Get Available Clients * @summary Get Available Clients - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getAvailableClients: function (xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getAvailableClients: function (axiosOptions) { if (axiosOptions === void 0) { axiosOptions = {}; } return __awaiter(_this, void 0, void 0, function () { var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions; @@ -1218,39 +1055,32 @@ var DevicesApiAxiosParamCreator = function (configuration) { localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions); localVarHeaderParameter = {}; localVarQueryParameter = {}; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required ]; case 1: - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required _a.sent(); - // authentication PlexToken required - return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + // authentication DeviceName required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + // authentication Host required + ]; case 2: - // authentication PlexToken required + // authentication DeviceName required + _a.sent(); + // authentication Host required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Host", configuration) + // authentication Token required + ]; + case 3: + // authentication Host required + _a.sent(); + // authentication Token required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + case 4: + // authentication Token required _a.sent(); - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers); @@ -1265,17 +1095,10 @@ var DevicesApiAxiosParamCreator = function (configuration) { /** * Get Devices * @summary Get Devices - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getDevices: function (xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getDevices: function (axiosOptions) { if (axiosOptions === void 0) { axiosOptions = {}; } return __awaiter(_this, void 0, void 0, function () { var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions; @@ -1290,39 +1113,32 @@ var DevicesApiAxiosParamCreator = function (configuration) { localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions); localVarHeaderParameter = {}; localVarQueryParameter = {}; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required ]; case 1: - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required _a.sent(); - // authentication PlexToken required - return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + // authentication DeviceName required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + // authentication Host required + ]; case 2: - // authentication PlexToken required + // authentication DeviceName required + _a.sent(); + // authentication Host required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Host", configuration) + // authentication Token required + ]; + case 3: + // authentication Host required + _a.sent(); + // authentication Token required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + case 4: + // authentication Token required _a.sent(); - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers); @@ -1347,22 +1163,15 @@ var DevicesApiFp = function (configuration) { /** * Get Available Clients * @summary Get Available Clients - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getAvailableClients: function (xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getAvailableClients: function (axiosOptions) { return __awaiter(this, void 0, void 0, function () { var localVarAxiosArgs; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, localVarAxiosParamCreator.getAvailableClients(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions)]; + case 0: return [4 /*yield*/, localVarAxiosParamCreator.getAvailableClients(axiosOptions)]; case 1: localVarAxiosArgs = _a.sent(); return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; @@ -1373,22 +1182,15 @@ var DevicesApiFp = function (configuration) { /** * Get Devices * @summary Get Devices - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getDevices: function (xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getDevices: function (axiosOptions) { return __awaiter(this, void 0, void 0, function () { var localVarAxiosArgs; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, localVarAxiosParamCreator.getDevices(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions)]; + case 0: return [4 /*yield*/, localVarAxiosParamCreator.getDevices(axiosOptions)]; case 1: localVarAxiosArgs = _a.sent(); return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; @@ -1409,34 +1211,20 @@ var DevicesApiFactory = function (configuration, basePath, axios) { /** * Get Available Clients * @summary Get Available Clients - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getAvailableClients: function (xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { - return localVarFp.getAvailableClients(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then(function (request) { return request(axios, basePath); }); + getAvailableClients: function (axiosOptions) { + return localVarFp.getAvailableClients(axiosOptions).then(function (request) { return request(axios, basePath); }); }, /** * Get Devices * @summary Get Devices - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getDevices: function (xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { - return localVarFp.getDevices(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then(function (request) { return request(axios, basePath); }); + getDevices: function (axiosOptions) { + return localVarFp.getDevices(axiosOptions).then(function (request) { return request(axios, basePath); }); }, }; }; @@ -1455,28 +1243,24 @@ var DevicesApi = /** @class */ (function (_super) { /** * Get Available Clients * @summary Get Available Clients - * @param {DevicesApiGetAvailableClientsRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof DevicesApi */ - DevicesApi.prototype.getAvailableClients = function (requestParameters, axiosOptions) { + DevicesApi.prototype.getAvailableClients = function (axiosOptions) { var _this = this; - if (requestParameters === void 0) { requestParameters = {}; } - return (0, exports.DevicesApiFp)(this.configuration).getAvailableClients(requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); + return (0, exports.DevicesApiFp)(this.configuration).getAvailableClients(axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); }; /** * Get Devices * @summary Get Devices - * @param {DevicesApiGetDevicesRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof DevicesApi */ - DevicesApi.prototype.getDevices = function (requestParameters, axiosOptions) { + DevicesApi.prototype.getDevices = function (axiosOptions) { var _this = this; - if (requestParameters === void 0) { requestParameters = {}; } - return (0, exports.DevicesApiFp)(this.configuration).getDevices(requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); + return (0, exports.DevicesApiFp)(this.configuration).getDevices(axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); }; return DevicesApi; }(base_1.BaseAPI)); @@ -1493,17 +1277,10 @@ var HashesApiAxiosParamCreator = function (configuration) { * @summary Get Hash Value * @param {any} url This is the path to the local file, must be prefixed by `file://` * @param {any} [type] Item type - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getFileHash: function (url, type, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getFileHash: function (url, type, axiosOptions) { if (axiosOptions === void 0) { axiosOptions = {}; } return __awaiter(_this, void 0, void 0, function () { var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions; @@ -1520,17 +1297,31 @@ var HashesApiAxiosParamCreator = function (configuration) { localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions); localVarHeaderParameter = {}; localVarQueryParameter = {}; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required ]; case 1: - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required _a.sent(); - // authentication PlexToken required - return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + // authentication DeviceName required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + // authentication Host required + ]; case 2: - // authentication PlexToken required + // authentication DeviceName required + _a.sent(); + // authentication Host required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Host", configuration) + // authentication Token required + ]; + case 3: + // authentication Host required + _a.sent(); + // authentication Token required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + case 4: + // authentication Token required _a.sent(); if (url !== undefined) { localVarQueryParameter['url'] = url; @@ -1538,27 +1329,6 @@ var HashesApiAxiosParamCreator = function (configuration) { if (type !== undefined) { localVarQueryParameter['type'] = type; } - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers); @@ -1585,22 +1355,15 @@ var HashesApiFp = function (configuration) { * @summary Get Hash Value * @param {any} url This is the path to the local file, must be prefixed by `file://` * @param {any} [type] Item type - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getFileHash: function (url, type, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getFileHash: function (url, type, axiosOptions) { return __awaiter(this, void 0, void 0, function () { var localVarAxiosArgs; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, localVarAxiosParamCreator.getFileHash(url, type, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions)]; + case 0: return [4 /*yield*/, localVarAxiosParamCreator.getFileHash(url, type, axiosOptions)]; case 1: localVarAxiosArgs = _a.sent(); return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; @@ -1623,18 +1386,11 @@ var HashesApiFactory = function (configuration, basePath, axios) { * @summary Get Hash Value * @param {any} url This is the path to the local file, must be prefixed by `file://` * @param {any} [type] Item type - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getFileHash: function (url, type, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { - return localVarFp.getFileHash(url, type, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then(function (request) { return request(axios, basePath); }); + getFileHash: function (url, type, axiosOptions) { + return localVarFp.getFileHash(url, type, axiosOptions).then(function (request) { return request(axios, basePath); }); }, }; }; @@ -1660,7 +1416,7 @@ var HashesApi = /** @class */ (function (_super) { */ HashesApi.prototype.getFileHash = function (requestParameters, axiosOptions) { var _this = this; - return (0, exports.HashesApiFp)(this.configuration).getFileHash(requestParameters.url, requestParameters.type, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); + return (0, exports.HashesApiFp)(this.configuration).getFileHash(requestParameters.url, requestParameters.type, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); }; return HashesApi; }(base_1.BaseAPI)); @@ -1677,17 +1433,10 @@ var HubsApiAxiosParamCreator = function (configuration) { * @summary Get Global Hubs * @param {any} [count] The number of items to return with each hub. * @param {any} [onlyTransient] Only return hubs which are \"transient\", meaning those which are prone to changing after media playback or addition (e.g. On Deck, or Recently Added). - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getGlobalHubs: function (count, onlyTransient, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getGlobalHubs: function (count, onlyTransient, axiosOptions) { if (axiosOptions === void 0) { axiosOptions = {}; } return __awaiter(_this, void 0, void 0, function () { var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions; @@ -1702,17 +1451,31 @@ var HubsApiAxiosParamCreator = function (configuration) { localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions); localVarHeaderParameter = {}; localVarQueryParameter = {}; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required ]; case 1: - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required _a.sent(); - // authentication PlexToken required - return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + // authentication DeviceName required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + // authentication Host required + ]; case 2: - // authentication PlexToken required + // authentication DeviceName required + _a.sent(); + // authentication Host required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Host", configuration) + // authentication Token required + ]; + case 3: + // authentication Host required + _a.sent(); + // authentication Token required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + case 4: + // authentication Token required _a.sent(); if (count !== undefined) { localVarQueryParameter['count'] = count; @@ -1720,27 +1483,6 @@ var HubsApiAxiosParamCreator = function (configuration) { if (onlyTransient !== undefined) { localVarQueryParameter['onlyTransient'] = onlyTransient; } - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers); @@ -1758,17 +1500,10 @@ var HubsApiAxiosParamCreator = function (configuration) { * @param {any} sectionId the Id of the library to query * @param {any} [count] The number of items to return with each hub. * @param {any} [onlyTransient] Only return hubs which are \"transient\", meaning those which are prone to changing after media playback or addition (e.g. On Deck, or Recently Added). - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getLibraryHubs: function (sectionId, count, onlyTransient, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getLibraryHubs: function (sectionId, count, onlyTransient, axiosOptions) { if (axiosOptions === void 0) { axiosOptions = {}; } return __awaiter(_this, void 0, void 0, function () { var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions; @@ -1786,17 +1521,31 @@ var HubsApiAxiosParamCreator = function (configuration) { localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions); localVarHeaderParameter = {}; localVarQueryParameter = {}; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required ]; case 1: - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required _a.sent(); - // authentication PlexToken required - return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + // authentication DeviceName required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + // authentication Host required + ]; case 2: - // authentication PlexToken required + // authentication DeviceName required + _a.sent(); + // authentication Host required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Host", configuration) + // authentication Token required + ]; + case 3: + // authentication Host required + _a.sent(); + // authentication Token required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + case 4: + // authentication Token required _a.sent(); if (count !== undefined) { localVarQueryParameter['count'] = count; @@ -1804,27 +1553,6 @@ var HubsApiAxiosParamCreator = function (configuration) { if (onlyTransient !== undefined) { localVarQueryParameter['onlyTransient'] = onlyTransient; } - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers); @@ -1851,22 +1579,15 @@ var HubsApiFp = function (configuration) { * @summary Get Global Hubs * @param {any} [count] The number of items to return with each hub. * @param {any} [onlyTransient] Only return hubs which are \"transient\", meaning those which are prone to changing after media playback or addition (e.g. On Deck, or Recently Added). - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getGlobalHubs: function (count, onlyTransient, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getGlobalHubs: function (count, onlyTransient, axiosOptions) { return __awaiter(this, void 0, void 0, function () { var localVarAxiosArgs; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGlobalHubs(count, onlyTransient, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions)]; + case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGlobalHubs(count, onlyTransient, axiosOptions)]; case 1: localVarAxiosArgs = _a.sent(); return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; @@ -1880,22 +1601,15 @@ var HubsApiFp = function (configuration) { * @param {any} sectionId the Id of the library to query * @param {any} [count] The number of items to return with each hub. * @param {any} [onlyTransient] Only return hubs which are \"transient\", meaning those which are prone to changing after media playback or addition (e.g. On Deck, or Recently Added). - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getLibraryHubs: function (sectionId, count, onlyTransient, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getLibraryHubs: function (sectionId, count, onlyTransient, axiosOptions) { return __awaiter(this, void 0, void 0, function () { var localVarAxiosArgs; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, localVarAxiosParamCreator.getLibraryHubs(sectionId, count, onlyTransient, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions)]; + case 0: return [4 /*yield*/, localVarAxiosParamCreator.getLibraryHubs(sectionId, count, onlyTransient, axiosOptions)]; case 1: localVarAxiosArgs = _a.sent(); return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; @@ -1918,18 +1632,11 @@ var HubsApiFactory = function (configuration, basePath, axios) { * @summary Get Global Hubs * @param {any} [count] The number of items to return with each hub. * @param {any} [onlyTransient] Only return hubs which are \"transient\", meaning those which are prone to changing after media playback or addition (e.g. On Deck, or Recently Added). - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getGlobalHubs: function (count, onlyTransient, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { - return localVarFp.getGlobalHubs(count, onlyTransient, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then(function (request) { return request(axios, basePath); }); + getGlobalHubs: function (count, onlyTransient, axiosOptions) { + return localVarFp.getGlobalHubs(count, onlyTransient, axiosOptions).then(function (request) { return request(axios, basePath); }); }, /** * This endpoint will return a list of library specific hubs @@ -1937,18 +1644,11 @@ var HubsApiFactory = function (configuration, basePath, axios) { * @param {any} sectionId the Id of the library to query * @param {any} [count] The number of items to return with each hub. * @param {any} [onlyTransient] Only return hubs which are \"transient\", meaning those which are prone to changing after media playback or addition (e.g. On Deck, or Recently Added). - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getLibraryHubs: function (sectionId, count, onlyTransient, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { - return localVarFp.getLibraryHubs(sectionId, count, onlyTransient, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then(function (request) { return request(axios, basePath); }); + getLibraryHubs: function (sectionId, count, onlyTransient, axiosOptions) { + return localVarFp.getLibraryHubs(sectionId, count, onlyTransient, axiosOptions).then(function (request) { return request(axios, basePath); }); }, }; }; @@ -1975,7 +1675,7 @@ var HubsApi = /** @class */ (function (_super) { HubsApi.prototype.getGlobalHubs = function (requestParameters, axiosOptions) { var _this = this; if (requestParameters === void 0) { requestParameters = {}; } - return (0, exports.HubsApiFp)(this.configuration).getGlobalHubs(requestParameters.count, requestParameters.onlyTransient, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); + return (0, exports.HubsApiFp)(this.configuration).getGlobalHubs(requestParameters.count, requestParameters.onlyTransient, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); }; /** * This endpoint will return a list of library specific hubs @@ -1987,7 +1687,7 @@ var HubsApi = /** @class */ (function (_super) { */ HubsApi.prototype.getLibraryHubs = function (requestParameters, axiosOptions) { var _this = this; - return (0, exports.HubsApiFp)(this.configuration).getLibraryHubs(requestParameters.sectionId, requestParameters.count, requestParameters.onlyTransient, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); + return (0, exports.HubsApiFp)(this.configuration).getLibraryHubs(requestParameters.sectionId, requestParameters.count, requestParameters.onlyTransient, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); }; return HubsApi; }(base_1.BaseAPI)); @@ -2005,17 +1705,10 @@ var LibraryApiAxiosParamCreator = function (configuration) { * @param {any} sectionId the Id of the library to query * @param {any} type item type * @param {any} [filter] the filter parameter - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getCommonLibraryItems: function (sectionId, type, filter, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getCommonLibraryItems: function (sectionId, type, filter, axiosOptions) { if (axiosOptions === void 0) { axiosOptions = {}; } return __awaiter(_this, void 0, void 0, function () { var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions; @@ -2035,17 +1728,31 @@ var LibraryApiAxiosParamCreator = function (configuration) { localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions); localVarHeaderParameter = {}; localVarQueryParameter = {}; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required ]; case 1: - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required _a.sent(); - // authentication PlexToken required - return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + // authentication DeviceName required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + // authentication Host required + ]; case 2: - // authentication PlexToken required + // authentication DeviceName required + _a.sent(); + // authentication Host required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Host", configuration) + // authentication Token required + ]; + case 3: + // authentication Host required + _a.sent(); + // authentication Token required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + case 4: + // authentication Token required _a.sent(); if (type !== undefined) { localVarQueryParameter['type'] = type; @@ -2053,27 +1760,6 @@ var LibraryApiAxiosParamCreator = function (configuration) { if (filter !== undefined) { localVarQueryParameter['filter'] = filter; } - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers); @@ -2091,17 +1777,10 @@ var LibraryApiAxiosParamCreator = function (configuration) { * @param {any} sectionId the Id of the library to query * @param {any} type item type * @param {any} [filter] the filter parameter - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getLatestLibraryItems: function (sectionId, type, filter, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getLatestLibraryItems: function (sectionId, type, filter, axiosOptions) { if (axiosOptions === void 0) { axiosOptions = {}; } return __awaiter(_this, void 0, void 0, function () { var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions; @@ -2121,17 +1800,31 @@ var LibraryApiAxiosParamCreator = function (configuration) { localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions); localVarHeaderParameter = {}; localVarQueryParameter = {}; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required ]; case 1: - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required _a.sent(); - // authentication PlexToken required - return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + // authentication DeviceName required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + // authentication Host required + ]; case 2: - // authentication PlexToken required + // authentication DeviceName required + _a.sent(); + // authentication Host required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Host", configuration) + // authentication Token required + ]; + case 3: + // authentication Host required + _a.sent(); + // authentication Token required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + case 4: + // authentication Token required _a.sent(); if (type !== undefined) { localVarQueryParameter['type'] = type; @@ -2139,27 +1832,6 @@ var LibraryApiAxiosParamCreator = function (configuration) { if (filter !== undefined) { localVarQueryParameter['filter'] = filter; } - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers); @@ -2174,17 +1846,10 @@ var LibraryApiAxiosParamCreator = function (configuration) { /** * A library section (commonly referred to as just a library) is a collection of media. Libraries are typed, and depending on their type provide either a flat or a hierarchical view of the media. For example, a music library has an artist > albums > tracks structure, whereas a movie library is flat. Libraries have features beyond just being a collection of media; for starters, they include information about supported types, filters and sorts. This allows a client to provide a rich interface around the media (e.g. allow sorting movies by release year). * @summary Get All Libraries - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getLibraries: function (xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getLibraries: function (axiosOptions) { if (axiosOptions === void 0) { axiosOptions = {}; } return __awaiter(_this, void 0, void 0, function () { var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions; @@ -2199,39 +1864,32 @@ var LibraryApiAxiosParamCreator = function (configuration) { localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions); localVarHeaderParameter = {}; localVarQueryParameter = {}; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required ]; case 1: - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required _a.sent(); - // authentication PlexToken required - return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + // authentication DeviceName required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + // authentication Host required + ]; case 2: - // authentication PlexToken required + // authentication DeviceName required + _a.sent(); + // authentication Host required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Host", configuration) + // authentication Token required + ]; + case 3: + // authentication Host required + _a.sent(); + // authentication Token required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + case 4: + // authentication Token required _a.sent(); - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers); @@ -2248,17 +1906,10 @@ var LibraryApiAxiosParamCreator = function (configuration) { * @summary Get Library Details * @param {any} sectionId the Id of the library to query * @param {any} [includeDetails] Whether or not to include details for a section (types, filters, and sorts). Only exists for backwards compatibility, media providers other than the server libraries have it on always. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getLibraryDetails: function (sectionId, includeDetails, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getLibraryDetails: function (sectionId, includeDetails, axiosOptions) { if (axiosOptions === void 0) { axiosOptions = {}; } return __awaiter(_this, void 0, void 0, function () { var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions; @@ -2276,42 +1927,35 @@ var LibraryApiAxiosParamCreator = function (configuration) { localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions); localVarHeaderParameter = {}; localVarQueryParameter = {}; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required ]; case 1: - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required _a.sent(); - // authentication PlexToken required - return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + // authentication DeviceName required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + // authentication Host required + ]; case 2: - // authentication PlexToken required + // authentication DeviceName required + _a.sent(); + // authentication Host required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Host", configuration) + // authentication Token required + ]; + case 3: + // authentication Host required + _a.sent(); + // authentication Token required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + case 4: + // authentication Token required _a.sent(); if (includeDetails !== undefined) { localVarQueryParameter['includeDetails'] = includeDetails; } - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers); @@ -2329,17 +1973,10 @@ var LibraryApiAxiosParamCreator = function (configuration) { * @param {any} sectionId the Id of the library to query * @param {any} [type] item type * @param {any} [filter] the filter parameter - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getLibraryItems: function (sectionId, type, filter, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getLibraryItems: function (sectionId, type, filter, axiosOptions) { if (axiosOptions === void 0) { axiosOptions = {}; } return __awaiter(_this, void 0, void 0, function () { var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions; @@ -2357,17 +1994,31 @@ var LibraryApiAxiosParamCreator = function (configuration) { localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions); localVarHeaderParameter = {}; localVarQueryParameter = {}; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required ]; case 1: - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required _a.sent(); - // authentication PlexToken required - return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + // authentication DeviceName required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + // authentication Host required + ]; case 2: - // authentication PlexToken required + // authentication DeviceName required + _a.sent(); + // authentication Host required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Host", configuration) + // authentication Token required + ]; + case 3: + // authentication Host required + _a.sent(); + // authentication Token required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + case 4: + // authentication Token required _a.sent(); if (type !== undefined) { localVarQueryParameter['type'] = type; @@ -2375,27 +2026,6 @@ var LibraryApiAxiosParamCreator = function (configuration) { if (filter !== undefined) { localVarQueryParameter['filter'] = filter; } - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers); @@ -2410,17 +2040,10 @@ var LibraryApiAxiosParamCreator = function (configuration) { /** * This endpoint will return the on deck content. * @summary Get On Deck - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getOnDeck: function (xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getOnDeck: function (axiosOptions) { if (axiosOptions === void 0) { axiosOptions = {}; } return __awaiter(_this, void 0, void 0, function () { var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions; @@ -2435,39 +2058,32 @@ var LibraryApiAxiosParamCreator = function (configuration) { localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions); localVarHeaderParameter = {}; localVarQueryParameter = {}; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required ]; case 1: - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required _a.sent(); - // authentication PlexToken required - return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + // authentication DeviceName required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + // authentication Host required + ]; case 2: - // authentication PlexToken required + // authentication DeviceName required + _a.sent(); + // authentication Host required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Host", configuration) + // authentication Token required + ]; + case 3: + // authentication Host required + _a.sent(); + // authentication Token required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + case 4: + // authentication Token required _a.sent(); - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers); @@ -2483,17 +2099,10 @@ var LibraryApiAxiosParamCreator = function (configuration) { * This endpoint Refreshes the library. * @summary Refresh Library * @param {any} sectionId the Id of the library to refresh - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - refreshLibrary: function (sectionId, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + refreshLibrary: function (sectionId, axiosOptions) { if (axiosOptions === void 0) { axiosOptions = {}; } return __awaiter(_this, void 0, void 0, function () { var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions; @@ -2511,39 +2120,32 @@ var LibraryApiAxiosParamCreator = function (configuration) { localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions); localVarHeaderParameter = {}; localVarQueryParameter = {}; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required ]; case 1: - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required _a.sent(); - // authentication PlexToken required - return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + // authentication DeviceName required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + // authentication Host required + ]; case 2: - // authentication PlexToken required + // authentication DeviceName required + _a.sent(); + // authentication Host required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Host", configuration) + // authentication Token required + ]; + case 3: + // authentication Host required + _a.sent(); + // authentication Token required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + case 4: + // authentication Token required _a.sent(); - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers); @@ -2571,22 +2173,15 @@ var LibraryApiFp = function (configuration) { * @param {any} sectionId the Id of the library to query * @param {any} type item type * @param {any} [filter] the filter parameter - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getCommonLibraryItems: function (sectionId, type, filter, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getCommonLibraryItems: function (sectionId, type, filter, axiosOptions) { return __awaiter(this, void 0, void 0, function () { var localVarAxiosArgs; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, localVarAxiosParamCreator.getCommonLibraryItems(sectionId, type, filter, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions)]; + case 0: return [4 /*yield*/, localVarAxiosParamCreator.getCommonLibraryItems(sectionId, type, filter, axiosOptions)]; case 1: localVarAxiosArgs = _a.sent(); return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; @@ -2600,22 +2195,15 @@ var LibraryApiFp = function (configuration) { * @param {any} sectionId the Id of the library to query * @param {any} type item type * @param {any} [filter] the filter parameter - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getLatestLibraryItems: function (sectionId, type, filter, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getLatestLibraryItems: function (sectionId, type, filter, axiosOptions) { return __awaiter(this, void 0, void 0, function () { var localVarAxiosArgs; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, localVarAxiosParamCreator.getLatestLibraryItems(sectionId, type, filter, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions)]; + case 0: return [4 /*yield*/, localVarAxiosParamCreator.getLatestLibraryItems(sectionId, type, filter, axiosOptions)]; case 1: localVarAxiosArgs = _a.sent(); return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; @@ -2626,22 +2214,15 @@ var LibraryApiFp = function (configuration) { /** * A library section (commonly referred to as just a library) is a collection of media. Libraries are typed, and depending on their type provide either a flat or a hierarchical view of the media. For example, a music library has an artist > albums > tracks structure, whereas a movie library is flat. Libraries have features beyond just being a collection of media; for starters, they include information about supported types, filters and sorts. This allows a client to provide a rich interface around the media (e.g. allow sorting movies by release year). * @summary Get All Libraries - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getLibraries: function (xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getLibraries: function (axiosOptions) { return __awaiter(this, void 0, void 0, function () { var localVarAxiosArgs; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, localVarAxiosParamCreator.getLibraries(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions)]; + case 0: return [4 /*yield*/, localVarAxiosParamCreator.getLibraries(axiosOptions)]; case 1: localVarAxiosArgs = _a.sent(); return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; @@ -2654,22 +2235,15 @@ var LibraryApiFp = function (configuration) { * @summary Get Library Details * @param {any} sectionId the Id of the library to query * @param {any} [includeDetails] Whether or not to include details for a section (types, filters, and sorts). Only exists for backwards compatibility, media providers other than the server libraries have it on always. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getLibraryDetails: function (sectionId, includeDetails, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getLibraryDetails: function (sectionId, includeDetails, axiosOptions) { return __awaiter(this, void 0, void 0, function () { var localVarAxiosArgs; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, localVarAxiosParamCreator.getLibraryDetails(sectionId, includeDetails, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions)]; + case 0: return [4 /*yield*/, localVarAxiosParamCreator.getLibraryDetails(sectionId, includeDetails, axiosOptions)]; case 1: localVarAxiosArgs = _a.sent(); return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; @@ -2683,22 +2257,15 @@ var LibraryApiFp = function (configuration) { * @param {any} sectionId the Id of the library to query * @param {any} [type] item type * @param {any} [filter] the filter parameter - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getLibraryItems: function (sectionId, type, filter, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getLibraryItems: function (sectionId, type, filter, axiosOptions) { return __awaiter(this, void 0, void 0, function () { var localVarAxiosArgs; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, localVarAxiosParamCreator.getLibraryItems(sectionId, type, filter, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions)]; + case 0: return [4 /*yield*/, localVarAxiosParamCreator.getLibraryItems(sectionId, type, filter, axiosOptions)]; case 1: localVarAxiosArgs = _a.sent(); return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; @@ -2709,22 +2276,15 @@ var LibraryApiFp = function (configuration) { /** * This endpoint will return the on deck content. * @summary Get On Deck - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getOnDeck: function (xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getOnDeck: function (axiosOptions) { return __awaiter(this, void 0, void 0, function () { var localVarAxiosArgs; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, localVarAxiosParamCreator.getOnDeck(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions)]; + case 0: return [4 /*yield*/, localVarAxiosParamCreator.getOnDeck(axiosOptions)]; case 1: localVarAxiosArgs = _a.sent(); return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; @@ -2736,22 +2296,15 @@ var LibraryApiFp = function (configuration) { * This endpoint Refreshes the library. * @summary Refresh Library * @param {any} sectionId the Id of the library to refresh - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - refreshLibrary: function (sectionId, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + refreshLibrary: function (sectionId, axiosOptions) { return __awaiter(this, void 0, void 0, function () { var localVarAxiosArgs; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, localVarAxiosParamCreator.refreshLibrary(sectionId, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions)]; + case 0: return [4 /*yield*/, localVarAxiosParamCreator.refreshLibrary(sectionId, axiosOptions)]; case 1: localVarAxiosArgs = _a.sent(); return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; @@ -2775,18 +2328,11 @@ var LibraryApiFactory = function (configuration, basePath, axios) { * @param {any} sectionId the Id of the library to query * @param {any} type item type * @param {any} [filter] the filter parameter - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getCommonLibraryItems: function (sectionId, type, filter, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { - return localVarFp.getCommonLibraryItems(sectionId, type, filter, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then(function (request) { return request(axios, basePath); }); + getCommonLibraryItems: function (sectionId, type, filter, axiosOptions) { + return localVarFp.getCommonLibraryItems(sectionId, type, filter, axiosOptions).then(function (request) { return request(axios, basePath); }); }, /** * This endpoint will return a list of the latest library items filtered by the filter and type provided @@ -2794,52 +2340,31 @@ var LibraryApiFactory = function (configuration, basePath, axios) { * @param {any} sectionId the Id of the library to query * @param {any} type item type * @param {any} [filter] the filter parameter - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getLatestLibraryItems: function (sectionId, type, filter, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { - return localVarFp.getLatestLibraryItems(sectionId, type, filter, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then(function (request) { return request(axios, basePath); }); + getLatestLibraryItems: function (sectionId, type, filter, axiosOptions) { + return localVarFp.getLatestLibraryItems(sectionId, type, filter, axiosOptions).then(function (request) { return request(axios, basePath); }); }, /** * A library section (commonly referred to as just a library) is a collection of media. Libraries are typed, and depending on their type provide either a flat or a hierarchical view of the media. For example, a music library has an artist > albums > tracks structure, whereas a movie library is flat. Libraries have features beyond just being a collection of media; for starters, they include information about supported types, filters and sorts. This allows a client to provide a rich interface around the media (e.g. allow sorting movies by release year). * @summary Get All Libraries - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getLibraries: function (xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { - return localVarFp.getLibraries(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then(function (request) { return request(axios, basePath); }); + getLibraries: function (axiosOptions) { + return localVarFp.getLibraries(axiosOptions).then(function (request) { return request(axios, basePath); }); }, /** * Returns details for the library. This can be thought of as an interstitial endpoint because it contains information about the library, rather than content itself. These details are: - A list of `Directory` objects: These used to be used by clients to build a menuing system. There are four flavors of directory found here: - Primary: (e.g. all, On Deck) These are still used in some clients to provide \"shortcuts\" to subsets of media. However, with the exception of On Deck, all of them can be created by media queries, and the desire is to allow these to be customized by users. - Secondary: These are marked with `secondary=\"1\"` and were used by old clients to provide nested menus allowing for primative (but structured) navigation. - Special: There is a By Folder entry which allows browsing the media by the underlying filesystem structure, and there\'s a completely obsolete entry marked `search=\"1\"` which used to be used to allow clients to build search dialogs on the fly. - A list of `Type` objects: These represent the types of things found in this library, and for each one, a list of `Filter` and `Sort` objects. These can be used to build rich controls around a grid of media to allow filtering and organizing. Note that these filters and sorts are optional, and without them, the client won\'t render any filtering controls. The `Type` object contains: - `key`: This provides the root endpoint returning the actual media list for the type. - `type`: This is the metadata type for the type (if a standard Plex type). - `title`: The title for for the content of this type (e.g. \"Movies\"). - Each `Filter` object contains a description of the filter. Note that it is not an exhaustive list of the full media query language, but an inportant subset useful for top-level API. - `filter`: This represents the filter name used for the filter, which can be used to construct complex media queries with. - `filterType`: This is either `string`, `integer`, or `boolean`, and describes the type of values used for the filter. - `key`: This provides the endpoint where the possible range of values for the filter can be retrieved (e.g. for a \"Genre\" filter, it returns a list of all the genres in the library). This will include a `type` argument that matches the metadata type of the Type element. - `title`: The title for the filter. - Each `Sort` object contains a description of the sort field. - `defaultDirection`: Can be either `asc` or `desc`, and specifies the default direction for the sort field (e.g. titles default to alphabetically ascending). - `descKey` and `key`: Contains the parameters passed to the `sort=...` media query for each direction of the sort. - `title`: The title of the field. * @summary Get Library Details * @param {any} sectionId the Id of the library to query * @param {any} [includeDetails] Whether or not to include details for a section (types, filters, and sorts). Only exists for backwards compatibility, media providers other than the server libraries have it on always. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getLibraryDetails: function (sectionId, includeDetails, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { - return localVarFp.getLibraryDetails(sectionId, includeDetails, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then(function (request) { return request(axios, basePath); }); + getLibraryDetails: function (sectionId, includeDetails, axiosOptions) { + return localVarFp.getLibraryDetails(sectionId, includeDetails, axiosOptions).then(function (request) { return request(axios, basePath); }); }, /** * This endpoint will return a list of library items filtered by the filter and type provided @@ -2847,51 +2372,30 @@ var LibraryApiFactory = function (configuration, basePath, axios) { * @param {any} sectionId the Id of the library to query * @param {any} [type] item type * @param {any} [filter] the filter parameter - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getLibraryItems: function (sectionId, type, filter, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { - return localVarFp.getLibraryItems(sectionId, type, filter, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then(function (request) { return request(axios, basePath); }); + getLibraryItems: function (sectionId, type, filter, axiosOptions) { + return localVarFp.getLibraryItems(sectionId, type, filter, axiosOptions).then(function (request) { return request(axios, basePath); }); }, /** * This endpoint will return the on deck content. * @summary Get On Deck - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getOnDeck: function (xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { - return localVarFp.getOnDeck(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then(function (request) { return request(axios, basePath); }); + getOnDeck: function (axiosOptions) { + return localVarFp.getOnDeck(axiosOptions).then(function (request) { return request(axios, basePath); }); }, /** * This endpoint Refreshes the library. * @summary Refresh Library * @param {any} sectionId the Id of the library to refresh - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - refreshLibrary: function (sectionId, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { - return localVarFp.refreshLibrary(sectionId, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then(function (request) { return request(axios, basePath); }); + refreshLibrary: function (sectionId, axiosOptions) { + return localVarFp.refreshLibrary(sectionId, axiosOptions).then(function (request) { return request(axios, basePath); }); }, }; }; @@ -2917,7 +2421,7 @@ var LibraryApi = /** @class */ (function (_super) { */ LibraryApi.prototype.getCommonLibraryItems = function (requestParameters, axiosOptions) { var _this = this; - return (0, exports.LibraryApiFp)(this.configuration).getCommonLibraryItems(requestParameters.sectionId, requestParameters.type, requestParameters.filter, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); + return (0, exports.LibraryApiFp)(this.configuration).getCommonLibraryItems(requestParameters.sectionId, requestParameters.type, requestParameters.filter, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); }; /** * This endpoint will return a list of the latest library items filtered by the filter and type provided @@ -2929,20 +2433,18 @@ var LibraryApi = /** @class */ (function (_super) { */ LibraryApi.prototype.getLatestLibraryItems = function (requestParameters, axiosOptions) { var _this = this; - return (0, exports.LibraryApiFp)(this.configuration).getLatestLibraryItems(requestParameters.sectionId, requestParameters.type, requestParameters.filter, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); + return (0, exports.LibraryApiFp)(this.configuration).getLatestLibraryItems(requestParameters.sectionId, requestParameters.type, requestParameters.filter, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); }; /** * A library section (commonly referred to as just a library) is a collection of media. Libraries are typed, and depending on their type provide either a flat or a hierarchical view of the media. For example, a music library has an artist > albums > tracks structure, whereas a movie library is flat. Libraries have features beyond just being a collection of media; for starters, they include information about supported types, filters and sorts. This allows a client to provide a rich interface around the media (e.g. allow sorting movies by release year). * @summary Get All Libraries - * @param {LibraryApiGetLibrariesRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof LibraryApi */ - LibraryApi.prototype.getLibraries = function (requestParameters, axiosOptions) { + LibraryApi.prototype.getLibraries = function (axiosOptions) { var _this = this; - if (requestParameters === void 0) { requestParameters = {}; } - return (0, exports.LibraryApiFp)(this.configuration).getLibraries(requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); + return (0, exports.LibraryApiFp)(this.configuration).getLibraries(axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); }; /** * Returns details for the library. This can be thought of as an interstitial endpoint because it contains information about the library, rather than content itself. These details are: - A list of `Directory` objects: These used to be used by clients to build a menuing system. There are four flavors of directory found here: - Primary: (e.g. all, On Deck) These are still used in some clients to provide \"shortcuts\" to subsets of media. However, with the exception of On Deck, all of them can be created by media queries, and the desire is to allow these to be customized by users. - Secondary: These are marked with `secondary=\"1\"` and were used by old clients to provide nested menus allowing for primative (but structured) navigation. - Special: There is a By Folder entry which allows browsing the media by the underlying filesystem structure, and there\'s a completely obsolete entry marked `search=\"1\"` which used to be used to allow clients to build search dialogs on the fly. - A list of `Type` objects: These represent the types of things found in this library, and for each one, a list of `Filter` and `Sort` objects. These can be used to build rich controls around a grid of media to allow filtering and organizing. Note that these filters and sorts are optional, and without them, the client won\'t render any filtering controls. The `Type` object contains: - `key`: This provides the root endpoint returning the actual media list for the type. - `type`: This is the metadata type for the type (if a standard Plex type). - `title`: The title for for the content of this type (e.g. \"Movies\"). - Each `Filter` object contains a description of the filter. Note that it is not an exhaustive list of the full media query language, but an inportant subset useful for top-level API. - `filter`: This represents the filter name used for the filter, which can be used to construct complex media queries with. - `filterType`: This is either `string`, `integer`, or `boolean`, and describes the type of values used for the filter. - `key`: This provides the endpoint where the possible range of values for the filter can be retrieved (e.g. for a \"Genre\" filter, it returns a list of all the genres in the library). This will include a `type` argument that matches the metadata type of the Type element. - `title`: The title for the filter. - Each `Sort` object contains a description of the sort field. - `defaultDirection`: Can be either `asc` or `desc`, and specifies the default direction for the sort field (e.g. titles default to alphabetically ascending). - `descKey` and `key`: Contains the parameters passed to the `sort=...` media query for each direction of the sort. - `title`: The title of the field. @@ -2954,7 +2456,7 @@ var LibraryApi = /** @class */ (function (_super) { */ LibraryApi.prototype.getLibraryDetails = function (requestParameters, axiosOptions) { var _this = this; - return (0, exports.LibraryApiFp)(this.configuration).getLibraryDetails(requestParameters.sectionId, requestParameters.includeDetails, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); + return (0, exports.LibraryApiFp)(this.configuration).getLibraryDetails(requestParameters.sectionId, requestParameters.includeDetails, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); }; /** * This endpoint will return a list of library items filtered by the filter and type provided @@ -2966,20 +2468,18 @@ var LibraryApi = /** @class */ (function (_super) { */ LibraryApi.prototype.getLibraryItems = function (requestParameters, axiosOptions) { var _this = this; - return (0, exports.LibraryApiFp)(this.configuration).getLibraryItems(requestParameters.sectionId, requestParameters.type, requestParameters.filter, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); + return (0, exports.LibraryApiFp)(this.configuration).getLibraryItems(requestParameters.sectionId, requestParameters.type, requestParameters.filter, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); }; /** * This endpoint will return the on deck content. * @summary Get On Deck - * @param {LibraryApiGetOnDeckRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof LibraryApi */ - LibraryApi.prototype.getOnDeck = function (requestParameters, axiosOptions) { + LibraryApi.prototype.getOnDeck = function (axiosOptions) { var _this = this; - if (requestParameters === void 0) { requestParameters = {}; } - return (0, exports.LibraryApiFp)(this.configuration).getOnDeck(requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); + return (0, exports.LibraryApiFp)(this.configuration).getOnDeck(axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); }; /** * This endpoint Refreshes the library. @@ -2991,7 +2491,7 @@ var LibraryApi = /** @class */ (function (_super) { */ LibraryApi.prototype.refreshLibrary = function (requestParameters, axiosOptions) { var _this = this; - return (0, exports.LibraryApiFp)(this.configuration).refreshLibrary(requestParameters.sectionId, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); + return (0, exports.LibraryApiFp)(this.configuration).refreshLibrary(requestParameters.sectionId, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); }; return LibraryApi; }(base_1.BaseAPI)); @@ -3006,17 +2506,10 @@ var LogApiAxiosParamCreator = function (configuration) { /** * This endpoint will enable all Plex Media Serverlogs to be sent to the Papertrail networked logging site for a period of time. * @summary Enabling Papertrail - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - enablePaperTrail: function (xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + enablePaperTrail: function (axiosOptions) { if (axiosOptions === void 0) { axiosOptions = {}; } return __awaiter(_this, void 0, void 0, function () { var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions; @@ -3031,39 +2524,32 @@ var LogApiAxiosParamCreator = function (configuration) { localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions); localVarHeaderParameter = {}; localVarQueryParameter = {}; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required ]; case 1: - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required _a.sent(); - // authentication PlexToken required - return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + // authentication DeviceName required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + // authentication Host required + ]; case 2: - // authentication PlexToken required + // authentication DeviceName required + _a.sent(); + // authentication Host required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Host", configuration) + // authentication Token required + ]; + case 3: + // authentication Host required + _a.sent(); + // authentication Token required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + case 4: + // authentication Token required _a.sent(); - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers); @@ -3081,17 +2567,10 @@ var LogApiAxiosParamCreator = function (configuration) { * @param {any} level An integer log level to write to the PMS log with. 0: Error 1: Warning 2: Info 3: Debug 4: Verbose * @param {any} message The text of the message to write to the log. * @param {any} source a string indicating the source of the message. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - logLine: function (level, message, source, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + logLine: function (level, message, source, axiosOptions) { if (axiosOptions === void 0) { axiosOptions = {}; } return __awaiter(_this, void 0, void 0, function () { var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions; @@ -3112,17 +2591,31 @@ var LogApiAxiosParamCreator = function (configuration) { localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions); localVarHeaderParameter = {}; localVarQueryParameter = {}; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required ]; case 1: - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required _a.sent(); - // authentication PlexToken required - return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + // authentication DeviceName required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + // authentication Host required + ]; case 2: - // authentication PlexToken required + // authentication DeviceName required + _a.sent(); + // authentication Host required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Host", configuration) + // authentication Token required + ]; + case 3: + // authentication Host required + _a.sent(); + // authentication Token required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + case 4: + // authentication Token required _a.sent(); if (level !== undefined) { localVarQueryParameter['level'] = level; @@ -3133,27 +2626,6 @@ var LogApiAxiosParamCreator = function (configuration) { if (source !== undefined) { localVarQueryParameter['source'] = source; } - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers); @@ -3168,17 +2640,10 @@ var LogApiAxiosParamCreator = function (configuration) { /** * This endpoint will write multiple lines to the main Plex Media Server log in a single request. It takes a set of query strings as would normally sent to the above GET endpoint as a linefeed-separated block of POST data. The parameters for each query string match as above. * @summary Logging a multi-line message - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - logMultiLine: function (xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + logMultiLine: function (axiosOptions) { if (axiosOptions === void 0) { axiosOptions = {}; } return __awaiter(_this, void 0, void 0, function () { var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions; @@ -3193,39 +2658,32 @@ var LogApiAxiosParamCreator = function (configuration) { localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions); localVarHeaderParameter = {}; localVarQueryParameter = {}; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required ]; case 1: - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required _a.sent(); - // authentication PlexToken required - return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + // authentication DeviceName required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + // authentication Host required + ]; case 2: - // authentication PlexToken required + // authentication DeviceName required + _a.sent(); + // authentication Host required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Host", configuration) + // authentication Token required + ]; + case 3: + // authentication Host required + _a.sent(); + // authentication Token required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + case 4: + // authentication Token required _a.sent(); - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers); @@ -3250,22 +2708,15 @@ var LogApiFp = function (configuration) { /** * This endpoint will enable all Plex Media Serverlogs to be sent to the Papertrail networked logging site for a period of time. * @summary Enabling Papertrail - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - enablePaperTrail: function (xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + enablePaperTrail: function (axiosOptions) { return __awaiter(this, void 0, void 0, function () { var localVarAxiosArgs; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, localVarAxiosParamCreator.enablePaperTrail(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions)]; + case 0: return [4 /*yield*/, localVarAxiosParamCreator.enablePaperTrail(axiosOptions)]; case 1: localVarAxiosArgs = _a.sent(); return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; @@ -3279,22 +2730,15 @@ var LogApiFp = function (configuration) { * @param {any} level An integer log level to write to the PMS log with. 0: Error 1: Warning 2: Info 3: Debug 4: Verbose * @param {any} message The text of the message to write to the log. * @param {any} source a string indicating the source of the message. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - logLine: function (level, message, source, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + logLine: function (level, message, source, axiosOptions) { return __awaiter(this, void 0, void 0, function () { var localVarAxiosArgs; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, localVarAxiosParamCreator.logLine(level, message, source, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions)]; + case 0: return [4 /*yield*/, localVarAxiosParamCreator.logLine(level, message, source, axiosOptions)]; case 1: localVarAxiosArgs = _a.sent(); return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; @@ -3305,22 +2749,15 @@ var LogApiFp = function (configuration) { /** * This endpoint will write multiple lines to the main Plex Media Server log in a single request. It takes a set of query strings as would normally sent to the above GET endpoint as a linefeed-separated block of POST data. The parameters for each query string match as above. * @summary Logging a multi-line message - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - logMultiLine: function (xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + logMultiLine: function (axiosOptions) { return __awaiter(this, void 0, void 0, function () { var localVarAxiosArgs; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, localVarAxiosParamCreator.logMultiLine(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions)]; + case 0: return [4 /*yield*/, localVarAxiosParamCreator.logMultiLine(axiosOptions)]; case 1: localVarAxiosArgs = _a.sent(); return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; @@ -3341,18 +2778,11 @@ var LogApiFactory = function (configuration, basePath, axios) { /** * This endpoint will enable all Plex Media Serverlogs to be sent to the Papertrail networked logging site for a period of time. * @summary Enabling Papertrail - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - enablePaperTrail: function (xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { - return localVarFp.enablePaperTrail(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then(function (request) { return request(axios, basePath); }); + enablePaperTrail: function (axiosOptions) { + return localVarFp.enablePaperTrail(axiosOptions).then(function (request) { return request(axios, basePath); }); }, /** * This endpoint will write a single-line log message, including a level and source to the main Plex Media Server log. @@ -3360,34 +2790,20 @@ var LogApiFactory = function (configuration, basePath, axios) { * @param {any} level An integer log level to write to the PMS log with. 0: Error 1: Warning 2: Info 3: Debug 4: Verbose * @param {any} message The text of the message to write to the log. * @param {any} source a string indicating the source of the message. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - logLine: function (level, message, source, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { - return localVarFp.logLine(level, message, source, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then(function (request) { return request(axios, basePath); }); + logLine: function (level, message, source, axiosOptions) { + return localVarFp.logLine(level, message, source, axiosOptions).then(function (request) { return request(axios, basePath); }); }, /** * This endpoint will write multiple lines to the main Plex Media Server log in a single request. It takes a set of query strings as would normally sent to the above GET endpoint as a linefeed-separated block of POST data. The parameters for each query string match as above. * @summary Logging a multi-line message - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - logMultiLine: function (xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { - return localVarFp.logMultiLine(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then(function (request) { return request(axios, basePath); }); + logMultiLine: function (axiosOptions) { + return localVarFp.logMultiLine(axiosOptions).then(function (request) { return request(axios, basePath); }); }, }; }; @@ -3406,15 +2822,13 @@ var LogApi = /** @class */ (function (_super) { /** * This endpoint will enable all Plex Media Serverlogs to be sent to the Papertrail networked logging site for a period of time. * @summary Enabling Papertrail - * @param {LogApiEnablePaperTrailRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof LogApi */ - LogApi.prototype.enablePaperTrail = function (requestParameters, axiosOptions) { + LogApi.prototype.enablePaperTrail = function (axiosOptions) { var _this = this; - if (requestParameters === void 0) { requestParameters = {}; } - return (0, exports.LogApiFp)(this.configuration).enablePaperTrail(requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); + return (0, exports.LogApiFp)(this.configuration).enablePaperTrail(axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); }; /** * This endpoint will write a single-line log message, including a level and source to the main Plex Media Server log. @@ -3426,20 +2840,18 @@ var LogApi = /** @class */ (function (_super) { */ LogApi.prototype.logLine = function (requestParameters, axiosOptions) { var _this = this; - return (0, exports.LogApiFp)(this.configuration).logLine(requestParameters.level, requestParameters.message, requestParameters.source, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); + return (0, exports.LogApiFp)(this.configuration).logLine(requestParameters.level, requestParameters.message, requestParameters.source, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); }; /** * This endpoint will write multiple lines to the main Plex Media Server log in a single request. It takes a set of query strings as would normally sent to the above GET endpoint as a linefeed-separated block of POST data. The parameters for each query string match as above. * @summary Logging a multi-line message - * @param {LogApiLogMultiLineRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof LogApi */ - LogApi.prototype.logMultiLine = function (requestParameters, axiosOptions) { + LogApi.prototype.logMultiLine = function (axiosOptions) { var _this = this; - if (requestParameters === void 0) { requestParameters = {}; } - return (0, exports.LogApiFp)(this.configuration).logMultiLine(requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); + return (0, exports.LogApiFp)(this.configuration).logMultiLine(axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); }; return LogApi; }(base_1.BaseAPI)); @@ -3457,17 +2869,10 @@ var PlaylistsApiAxiosParamCreator = function (configuration) { * @param {any} playlistID the ID of the playlist * @param {any} uri the content URI for the playlist * @param {any} playQueueID the play queue to add to a playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - addPlaylistContents: function (playlistID, uri, playQueueID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + addPlaylistContents: function (playlistID, uri, playQueueID, axiosOptions) { if (axiosOptions === void 0) { axiosOptions = {}; } return __awaiter(_this, void 0, void 0, function () { var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions; @@ -3489,17 +2894,31 @@ var PlaylistsApiAxiosParamCreator = function (configuration) { localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), axiosOptions); localVarHeaderParameter = {}; localVarQueryParameter = {}; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required ]; case 1: - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required _a.sent(); - // authentication PlexToken required - return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + // authentication DeviceName required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + // authentication Host required + ]; case 2: - // authentication PlexToken required + // authentication DeviceName required + _a.sent(); + // authentication Host required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Host", configuration) + // authentication Token required + ]; + case 3: + // authentication Host required + _a.sent(); + // authentication Token required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + case 4: + // authentication Token required _a.sent(); if (uri !== undefined) { localVarQueryParameter['uri'] = uri; @@ -3507,27 +2926,6 @@ var PlaylistsApiAxiosParamCreator = function (configuration) { if (playQueueID !== undefined) { localVarQueryParameter['playQueueID'] = playQueueID; } - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers); @@ -3543,17 +2941,10 @@ var PlaylistsApiAxiosParamCreator = function (configuration) { * Clears a playlist, only works with dumb playlists. Returns the playlist. * @summary Delete Playlist Contents * @param {any} playlistID the ID of the playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - clearPlaylistContents: function (playlistID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + clearPlaylistContents: function (playlistID, axiosOptions) { if (axiosOptions === void 0) { axiosOptions = {}; } return __awaiter(_this, void 0, void 0, function () { var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions; @@ -3571,39 +2962,32 @@ var PlaylistsApiAxiosParamCreator = function (configuration) { localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), axiosOptions); localVarHeaderParameter = {}; localVarQueryParameter = {}; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required ]; case 1: - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required _a.sent(); - // authentication PlexToken required - return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + // authentication DeviceName required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + // authentication Host required + ]; case 2: - // authentication PlexToken required + // authentication DeviceName required + _a.sent(); + // authentication Host required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Host", configuration) + // authentication Token required + ]; + case 3: + // authentication Host required + _a.sent(); + // authentication Token required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + case 4: + // authentication Token required _a.sent(); - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers); @@ -3623,17 +3007,10 @@ var PlaylistsApiAxiosParamCreator = function (configuration) { * @param {any} smart whether the playlist is smart or not * @param {any} [uri] the content URI for the playlist * @param {any} [playQueueID] the play queue to copy to a playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - createPlaylist: function (title, type, smart, uri, playQueueID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + createPlaylist: function (title, type, smart, uri, playQueueID, axiosOptions) { if (axiosOptions === void 0) { axiosOptions = {}; } return __awaiter(_this, void 0, void 0, function () { var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions; @@ -3654,17 +3031,31 @@ var PlaylistsApiAxiosParamCreator = function (configuration) { localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions); localVarHeaderParameter = {}; localVarQueryParameter = {}; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required ]; case 1: - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required _a.sent(); - // authentication PlexToken required - return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + // authentication DeviceName required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + // authentication Host required + ]; case 2: - // authentication PlexToken required + // authentication DeviceName required + _a.sent(); + // authentication Host required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Host", configuration) + // authentication Token required + ]; + case 3: + // authentication Host required + _a.sent(); + // authentication Token required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + case 4: + // authentication Token required _a.sent(); if (title !== undefined) { localVarQueryParameter['title'] = title; @@ -3681,27 +3072,6 @@ var PlaylistsApiAxiosParamCreator = function (configuration) { if (playQueueID !== undefined) { localVarQueryParameter['playQueueID'] = playQueueID; } - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers); @@ -3717,17 +3087,10 @@ var PlaylistsApiAxiosParamCreator = function (configuration) { * This endpoint will delete a playlist * @summary Deletes a Playlist * @param {any} playlistID the ID of the playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - deletePlaylist: function (playlistID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + deletePlaylist: function (playlistID, axiosOptions) { if (axiosOptions === void 0) { axiosOptions = {}; } return __awaiter(_this, void 0, void 0, function () { var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions; @@ -3745,39 +3108,32 @@ var PlaylistsApiAxiosParamCreator = function (configuration) { localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), axiosOptions); localVarHeaderParameter = {}; localVarQueryParameter = {}; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required ]; case 1: - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required _a.sent(); - // authentication PlexToken required - return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + // authentication DeviceName required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + // authentication Host required + ]; case 2: - // authentication PlexToken required + // authentication DeviceName required + _a.sent(); + // authentication Host required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Host", configuration) + // authentication Token required + ]; + case 3: + // authentication Host required + _a.sent(); + // authentication Token required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + case 4: + // authentication Token required _a.sent(); - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers); @@ -3793,17 +3149,10 @@ var PlaylistsApiAxiosParamCreator = function (configuration) { * Gets detailed metadata for a playlist. A playlist for many purposes (rating, editing metadata, tagging), can be treated like a regular metadata item: Smart playlist details contain the `content` attribute. This is the content URI for the generator. This can then be parsed by a client to provide smart playlist editing. * @summary Retrieve Playlist * @param {any} playlistID the ID of the playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getPlaylist: function (playlistID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getPlaylist: function (playlistID, axiosOptions) { if (axiosOptions === void 0) { axiosOptions = {}; } return __awaiter(_this, void 0, void 0, function () { var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions; @@ -3821,39 +3170,32 @@ var PlaylistsApiAxiosParamCreator = function (configuration) { localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions); localVarHeaderParameter = {}; localVarQueryParameter = {}; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required ]; case 1: - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required _a.sent(); - // authentication PlexToken required - return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + // authentication DeviceName required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + // authentication Host required + ]; case 2: - // authentication PlexToken required + // authentication DeviceName required + _a.sent(); + // authentication Host required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Host", configuration) + // authentication Token required + ]; + case 3: + // authentication Host required + _a.sent(); + // authentication Token required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + case 4: + // authentication Token required _a.sent(); - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers); @@ -3870,17 +3212,10 @@ var PlaylistsApiAxiosParamCreator = function (configuration) { * @summary Retrieve Playlist Contents * @param {any} playlistID the ID of the playlist * @param {any} type the metadata type of the item to return - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getPlaylistContents: function (playlistID, type, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getPlaylistContents: function (playlistID, type, axiosOptions) { if (axiosOptions === void 0) { axiosOptions = {}; } return __awaiter(_this, void 0, void 0, function () { var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions; @@ -3900,42 +3235,35 @@ var PlaylistsApiAxiosParamCreator = function (configuration) { localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions); localVarHeaderParameter = {}; localVarQueryParameter = {}; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required ]; case 1: - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required _a.sent(); - // authentication PlexToken required - return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + // authentication DeviceName required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + // authentication Host required + ]; case 2: - // authentication PlexToken required + // authentication DeviceName required + _a.sent(); + // authentication Host required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Host", configuration) + // authentication Token required + ]; + case 3: + // authentication Host required + _a.sent(); + // authentication Token required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + case 4: + // authentication Token required _a.sent(); if (type !== undefined) { localVarQueryParameter['type'] = type; } - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers); @@ -3952,17 +3280,10 @@ var PlaylistsApiAxiosParamCreator = function (configuration) { * @summary Get All Playlists * @param {any} [playlistType] limit to a type of playlist. * @param {any} [smart] type of playlists to return (default is all). - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getPlaylists: function (playlistType, smart, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getPlaylists: function (playlistType, smart, axiosOptions) { if (axiosOptions === void 0) { axiosOptions = {}; } return __awaiter(_this, void 0, void 0, function () { var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions; @@ -3977,17 +3298,31 @@ var PlaylistsApiAxiosParamCreator = function (configuration) { localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions); localVarHeaderParameter = {}; localVarQueryParameter = {}; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required ]; case 1: - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required _a.sent(); - // authentication PlexToken required - return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + // authentication DeviceName required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + // authentication Host required + ]; case 2: - // authentication PlexToken required + // authentication DeviceName required + _a.sent(); + // authentication Host required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Host", configuration) + // authentication Token required + ]; + case 3: + // authentication Host required + _a.sent(); + // authentication Token required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + case 4: + // authentication Token required _a.sent(); if (playlistType !== undefined) { localVarQueryParameter['playlistType'] = playlistType; @@ -3995,27 +3330,6 @@ var PlaylistsApiAxiosParamCreator = function (configuration) { if (smart !== undefined) { localVarQueryParameter['smart'] = smart; } - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers); @@ -4052,17 +3366,31 @@ var PlaylistsApiAxiosParamCreator = function (configuration) { localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), axiosOptions); localVarHeaderParameter = {}; localVarQueryParameter = {}; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required ]; case 1: - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required _a.sent(); - // authentication PlexToken required - return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + // authentication DeviceName required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + // authentication Host required + ]; case 2: - // authentication PlexToken required + // authentication DeviceName required + _a.sent(); + // authentication Host required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Host", configuration) + // authentication Token required + ]; + case 3: + // authentication Host required + _a.sent(); + // authentication Token required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + case 4: + // authentication Token required _a.sent(); (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -4080,17 +3408,10 @@ var PlaylistsApiAxiosParamCreator = function (configuration) { * @summary Upload Playlist * @param {any} path absolute path to a directory on the server where m3u files are stored, or the absolute path to a playlist file on the server. If the `path` argument is a directory, that path will be scanned for playlist files to be processed. Each file in that directory creates a separate playlist, with a name based on the filename of the file that created it. The GUID of each playlist is based on the filename. If the `path` argument is a file, that file will be used to create a new playlist, with the name based on the filename of the file that created it. The GUID of each playlist is based on the filename. * @param {any} force force overwriting of duplicate playlists. By default, a playlist file uploaded with the same path will overwrite the existing playlist. The `force` argument is used to disable overwriting. If the `force` argument is set to 0, a new playlist will be created suffixed with the date and time that the duplicate was uploaded. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - uploadPlaylist: function (path, force, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + uploadPlaylist: function (path, force, axiosOptions) { if (axiosOptions === void 0) { axiosOptions = {}; } return __awaiter(_this, void 0, void 0, function () { var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions; @@ -4109,17 +3430,31 @@ var PlaylistsApiAxiosParamCreator = function (configuration) { localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions); localVarHeaderParameter = {}; localVarQueryParameter = {}; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required ]; case 1: - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required _a.sent(); - // authentication PlexToken required - return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + // authentication DeviceName required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + // authentication Host required + ]; case 2: - // authentication PlexToken required + // authentication DeviceName required + _a.sent(); + // authentication Host required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Host", configuration) + // authentication Token required + ]; + case 3: + // authentication Host required + _a.sent(); + // authentication Token required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + case 4: + // authentication Token required _a.sent(); if (path !== undefined) { localVarQueryParameter['path'] = path; @@ -4127,27 +3462,6 @@ var PlaylistsApiAxiosParamCreator = function (configuration) { if (force !== undefined) { localVarQueryParameter['force'] = force; } - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers); @@ -4175,22 +3489,15 @@ var PlaylistsApiFp = function (configuration) { * @param {any} playlistID the ID of the playlist * @param {any} uri the content URI for the playlist * @param {any} playQueueID the play queue to add to a playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - addPlaylistContents: function (playlistID, uri, playQueueID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + addPlaylistContents: function (playlistID, uri, playQueueID, axiosOptions) { return __awaiter(this, void 0, void 0, function () { var localVarAxiosArgs; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, localVarAxiosParamCreator.addPlaylistContents(playlistID, uri, playQueueID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions)]; + case 0: return [4 /*yield*/, localVarAxiosParamCreator.addPlaylistContents(playlistID, uri, playQueueID, axiosOptions)]; case 1: localVarAxiosArgs = _a.sent(); return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; @@ -4202,22 +3509,15 @@ var PlaylistsApiFp = function (configuration) { * Clears a playlist, only works with dumb playlists. Returns the playlist. * @summary Delete Playlist Contents * @param {any} playlistID the ID of the playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - clearPlaylistContents: function (playlistID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + clearPlaylistContents: function (playlistID, axiosOptions) { return __awaiter(this, void 0, void 0, function () { var localVarAxiosArgs; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, localVarAxiosParamCreator.clearPlaylistContents(playlistID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions)]; + case 0: return [4 /*yield*/, localVarAxiosParamCreator.clearPlaylistContents(playlistID, axiosOptions)]; case 1: localVarAxiosArgs = _a.sent(); return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; @@ -4233,22 +3533,15 @@ var PlaylistsApiFp = function (configuration) { * @param {any} smart whether the playlist is smart or not * @param {any} [uri] the content URI for the playlist * @param {any} [playQueueID] the play queue to copy to a playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - createPlaylist: function (title, type, smart, uri, playQueueID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + createPlaylist: function (title, type, smart, uri, playQueueID, axiosOptions) { return __awaiter(this, void 0, void 0, function () { var localVarAxiosArgs; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, localVarAxiosParamCreator.createPlaylist(title, type, smart, uri, playQueueID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions)]; + case 0: return [4 /*yield*/, localVarAxiosParamCreator.createPlaylist(title, type, smart, uri, playQueueID, axiosOptions)]; case 1: localVarAxiosArgs = _a.sent(); return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; @@ -4260,22 +3553,15 @@ var PlaylistsApiFp = function (configuration) { * This endpoint will delete a playlist * @summary Deletes a Playlist * @param {any} playlistID the ID of the playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - deletePlaylist: function (playlistID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + deletePlaylist: function (playlistID, axiosOptions) { return __awaiter(this, void 0, void 0, function () { var localVarAxiosArgs; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, localVarAxiosParamCreator.deletePlaylist(playlistID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions)]; + case 0: return [4 /*yield*/, localVarAxiosParamCreator.deletePlaylist(playlistID, axiosOptions)]; case 1: localVarAxiosArgs = _a.sent(); return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; @@ -4287,22 +3573,15 @@ var PlaylistsApiFp = function (configuration) { * Gets detailed metadata for a playlist. A playlist for many purposes (rating, editing metadata, tagging), can be treated like a regular metadata item: Smart playlist details contain the `content` attribute. This is the content URI for the generator. This can then be parsed by a client to provide smart playlist editing. * @summary Retrieve Playlist * @param {any} playlistID the ID of the playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getPlaylist: function (playlistID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getPlaylist: function (playlistID, axiosOptions) { return __awaiter(this, void 0, void 0, function () { var localVarAxiosArgs; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPlaylist(playlistID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions)]; + case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPlaylist(playlistID, axiosOptions)]; case 1: localVarAxiosArgs = _a.sent(); return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; @@ -4315,22 +3594,15 @@ var PlaylistsApiFp = function (configuration) { * @summary Retrieve Playlist Contents * @param {any} playlistID the ID of the playlist * @param {any} type the metadata type of the item to return - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getPlaylistContents: function (playlistID, type, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getPlaylistContents: function (playlistID, type, axiosOptions) { return __awaiter(this, void 0, void 0, function () { var localVarAxiosArgs; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPlaylistContents(playlistID, type, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions)]; + case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPlaylistContents(playlistID, type, axiosOptions)]; case 1: localVarAxiosArgs = _a.sent(); return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; @@ -4343,22 +3615,15 @@ var PlaylistsApiFp = function (configuration) { * @summary Get All Playlists * @param {any} [playlistType] limit to a type of playlist. * @param {any} [smart] type of playlists to return (default is all). - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getPlaylists: function (playlistType, smart, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getPlaylists: function (playlistType, smart, axiosOptions) { return __awaiter(this, void 0, void 0, function () { var localVarAxiosArgs; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPlaylists(playlistType, smart, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions)]; + case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPlaylists(playlistType, smart, axiosOptions)]; case 1: localVarAxiosArgs = _a.sent(); return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; @@ -4391,22 +3656,15 @@ var PlaylistsApiFp = function (configuration) { * @summary Upload Playlist * @param {any} path absolute path to a directory on the server where m3u files are stored, or the absolute path to a playlist file on the server. If the `path` argument is a directory, that path will be scanned for playlist files to be processed. Each file in that directory creates a separate playlist, with a name based on the filename of the file that created it. The GUID of each playlist is based on the filename. If the `path` argument is a file, that file will be used to create a new playlist, with the name based on the filename of the file that created it. The GUID of each playlist is based on the filename. * @param {any} force force overwriting of duplicate playlists. By default, a playlist file uploaded with the same path will overwrite the existing playlist. The `force` argument is used to disable overwriting. If the `force` argument is set to 0, a new playlist will be created suffixed with the date and time that the duplicate was uploaded. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - uploadPlaylist: function (path, force, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + uploadPlaylist: function (path, force, axiosOptions) { return __awaiter(this, void 0, void 0, function () { var localVarAxiosArgs; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, localVarAxiosParamCreator.uploadPlaylist(path, force, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions)]; + case 0: return [4 /*yield*/, localVarAxiosParamCreator.uploadPlaylist(path, force, axiosOptions)]; case 1: localVarAxiosArgs = _a.sent(); return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; @@ -4430,35 +3688,21 @@ var PlaylistsApiFactory = function (configuration, basePath, axios) { * @param {any} playlistID the ID of the playlist * @param {any} uri the content URI for the playlist * @param {any} playQueueID the play queue to add to a playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - addPlaylistContents: function (playlistID, uri, playQueueID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { - return localVarFp.addPlaylistContents(playlistID, uri, playQueueID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then(function (request) { return request(axios, basePath); }); + addPlaylistContents: function (playlistID, uri, playQueueID, axiosOptions) { + return localVarFp.addPlaylistContents(playlistID, uri, playQueueID, axiosOptions).then(function (request) { return request(axios, basePath); }); }, /** * Clears a playlist, only works with dumb playlists. Returns the playlist. * @summary Delete Playlist Contents * @param {any} playlistID the ID of the playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - clearPlaylistContents: function (playlistID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { - return localVarFp.clearPlaylistContents(playlistID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then(function (request) { return request(axios, basePath); }); + clearPlaylistContents: function (playlistID, axiosOptions) { + return localVarFp.clearPlaylistContents(playlistID, axiosOptions).then(function (request) { return request(axios, basePath); }); }, /** * Create a new playlist. By default the playlist is blank. To create a playlist along with a first item, pass: - `uri` - The content URI for what we\'re playing (e.g. `library://...`). - `playQueueID` - To create a playlist from an existing play queue. @@ -4468,88 +3712,53 @@ var PlaylistsApiFactory = function (configuration, basePath, axios) { * @param {any} smart whether the playlist is smart or not * @param {any} [uri] the content URI for the playlist * @param {any} [playQueueID] the play queue to copy to a playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - createPlaylist: function (title, type, smart, uri, playQueueID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { - return localVarFp.createPlaylist(title, type, smart, uri, playQueueID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then(function (request) { return request(axios, basePath); }); + createPlaylist: function (title, type, smart, uri, playQueueID, axiosOptions) { + return localVarFp.createPlaylist(title, type, smart, uri, playQueueID, axiosOptions).then(function (request) { return request(axios, basePath); }); }, /** * This endpoint will delete a playlist * @summary Deletes a Playlist * @param {any} playlistID the ID of the playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - deletePlaylist: function (playlistID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { - return localVarFp.deletePlaylist(playlistID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then(function (request) { return request(axios, basePath); }); + deletePlaylist: function (playlistID, axiosOptions) { + return localVarFp.deletePlaylist(playlistID, axiosOptions).then(function (request) { return request(axios, basePath); }); }, /** * Gets detailed metadata for a playlist. A playlist for many purposes (rating, editing metadata, tagging), can be treated like a regular metadata item: Smart playlist details contain the `content` attribute. This is the content URI for the generator. This can then be parsed by a client to provide smart playlist editing. * @summary Retrieve Playlist * @param {any} playlistID the ID of the playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getPlaylist: function (playlistID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { - return localVarFp.getPlaylist(playlistID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then(function (request) { return request(axios, basePath); }); + getPlaylist: function (playlistID, axiosOptions) { + return localVarFp.getPlaylist(playlistID, axiosOptions).then(function (request) { return request(axios, basePath); }); }, /** * Gets the contents of a playlist. Should be paged by clients via standard mechanisms. By default leaves are returned (e.g. episodes, movies). In order to return other types you can use the `type` parameter. For example, you could use this to display a list of recently added albums vis a smart playlist. Note that for dumb playlists, items have a `playlistItemID` attribute which is used for deleting or moving items. * @summary Retrieve Playlist Contents * @param {any} playlistID the ID of the playlist * @param {any} type the metadata type of the item to return - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getPlaylistContents: function (playlistID, type, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { - return localVarFp.getPlaylistContents(playlistID, type, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then(function (request) { return request(axios, basePath); }); + getPlaylistContents: function (playlistID, type, axiosOptions) { + return localVarFp.getPlaylistContents(playlistID, type, axiosOptions).then(function (request) { return request(axios, basePath); }); }, /** * * @summary Get All Playlists * @param {any} [playlistType] limit to a type of playlist. * @param {any} [smart] type of playlists to return (default is all). - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getPlaylists: function (playlistType, smart, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { - return localVarFp.getPlaylists(playlistType, smart, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then(function (request) { return request(axios, basePath); }); + getPlaylists: function (playlistType, smart, axiosOptions) { + return localVarFp.getPlaylists(playlistType, smart, axiosOptions).then(function (request) { return request(axios, basePath); }); }, /** * From PMS version 1.9.1 clients can also edit playlist metadata using this endpoint as they would via `PUT /library/metadata/{playlistID}` @@ -4566,18 +3775,11 @@ var PlaylistsApiFactory = function (configuration, basePath, axios) { * @summary Upload Playlist * @param {any} path absolute path to a directory on the server where m3u files are stored, or the absolute path to a playlist file on the server. If the `path` argument is a directory, that path will be scanned for playlist files to be processed. Each file in that directory creates a separate playlist, with a name based on the filename of the file that created it. The GUID of each playlist is based on the filename. If the `path` argument is a file, that file will be used to create a new playlist, with the name based on the filename of the file that created it. The GUID of each playlist is based on the filename. * @param {any} force force overwriting of duplicate playlists. By default, a playlist file uploaded with the same path will overwrite the existing playlist. The `force` argument is used to disable overwriting. If the `force` argument is set to 0, a new playlist will be created suffixed with the date and time that the duplicate was uploaded. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - uploadPlaylist: function (path, force, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { - return localVarFp.uploadPlaylist(path, force, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then(function (request) { return request(axios, basePath); }); + uploadPlaylist: function (path, force, axiosOptions) { + return localVarFp.uploadPlaylist(path, force, axiosOptions).then(function (request) { return request(axios, basePath); }); }, }; }; @@ -4603,7 +3805,7 @@ var PlaylistsApi = /** @class */ (function (_super) { */ PlaylistsApi.prototype.addPlaylistContents = function (requestParameters, axiosOptions) { var _this = this; - return (0, exports.PlaylistsApiFp)(this.configuration).addPlaylistContents(requestParameters.playlistID, requestParameters.uri, requestParameters.playQueueID, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); + return (0, exports.PlaylistsApiFp)(this.configuration).addPlaylistContents(requestParameters.playlistID, requestParameters.uri, requestParameters.playQueueID, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); }; /** * Clears a playlist, only works with dumb playlists. Returns the playlist. @@ -4615,7 +3817,7 @@ var PlaylistsApi = /** @class */ (function (_super) { */ PlaylistsApi.prototype.clearPlaylistContents = function (requestParameters, axiosOptions) { var _this = this; - return (0, exports.PlaylistsApiFp)(this.configuration).clearPlaylistContents(requestParameters.playlistID, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); + return (0, exports.PlaylistsApiFp)(this.configuration).clearPlaylistContents(requestParameters.playlistID, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); }; /** * Create a new playlist. By default the playlist is blank. To create a playlist along with a first item, pass: - `uri` - The content URI for what we\'re playing (e.g. `library://...`). - `playQueueID` - To create a playlist from an existing play queue. @@ -4627,7 +3829,7 @@ var PlaylistsApi = /** @class */ (function (_super) { */ PlaylistsApi.prototype.createPlaylist = function (requestParameters, axiosOptions) { var _this = this; - return (0, exports.PlaylistsApiFp)(this.configuration).createPlaylist(requestParameters.title, requestParameters.type, requestParameters.smart, requestParameters.uri, requestParameters.playQueueID, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); + return (0, exports.PlaylistsApiFp)(this.configuration).createPlaylist(requestParameters.title, requestParameters.type, requestParameters.smart, requestParameters.uri, requestParameters.playQueueID, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); }; /** * This endpoint will delete a playlist @@ -4639,7 +3841,7 @@ var PlaylistsApi = /** @class */ (function (_super) { */ PlaylistsApi.prototype.deletePlaylist = function (requestParameters, axiosOptions) { var _this = this; - return (0, exports.PlaylistsApiFp)(this.configuration).deletePlaylist(requestParameters.playlistID, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); + return (0, exports.PlaylistsApiFp)(this.configuration).deletePlaylist(requestParameters.playlistID, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); }; /** * Gets detailed metadata for a playlist. A playlist for many purposes (rating, editing metadata, tagging), can be treated like a regular metadata item: Smart playlist details contain the `content` attribute. This is the content URI for the generator. This can then be parsed by a client to provide smart playlist editing. @@ -4651,7 +3853,7 @@ var PlaylistsApi = /** @class */ (function (_super) { */ PlaylistsApi.prototype.getPlaylist = function (requestParameters, axiosOptions) { var _this = this; - return (0, exports.PlaylistsApiFp)(this.configuration).getPlaylist(requestParameters.playlistID, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); + return (0, exports.PlaylistsApiFp)(this.configuration).getPlaylist(requestParameters.playlistID, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); }; /** * Gets the contents of a playlist. Should be paged by clients via standard mechanisms. By default leaves are returned (e.g. episodes, movies). In order to return other types you can use the `type` parameter. For example, you could use this to display a list of recently added albums vis a smart playlist. Note that for dumb playlists, items have a `playlistItemID` attribute which is used for deleting or moving items. @@ -4663,7 +3865,7 @@ var PlaylistsApi = /** @class */ (function (_super) { */ PlaylistsApi.prototype.getPlaylistContents = function (requestParameters, axiosOptions) { var _this = this; - return (0, exports.PlaylistsApiFp)(this.configuration).getPlaylistContents(requestParameters.playlistID, requestParameters.type, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); + return (0, exports.PlaylistsApiFp)(this.configuration).getPlaylistContents(requestParameters.playlistID, requestParameters.type, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); }; /** * @@ -4676,7 +3878,7 @@ var PlaylistsApi = /** @class */ (function (_super) { PlaylistsApi.prototype.getPlaylists = function (requestParameters, axiosOptions) { var _this = this; if (requestParameters === void 0) { requestParameters = {}; } - return (0, exports.PlaylistsApiFp)(this.configuration).getPlaylists(requestParameters.playlistType, requestParameters.smart, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); + return (0, exports.PlaylistsApiFp)(this.configuration).getPlaylists(requestParameters.playlistType, requestParameters.smart, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); }; /** * From PMS version 1.9.1 clients can also edit playlist metadata using this endpoint as they would via `PUT /library/metadata/{playlistID}` @@ -4700,7 +3902,7 @@ var PlaylistsApi = /** @class */ (function (_super) { */ PlaylistsApi.prototype.uploadPlaylist = function (requestParameters, axiosOptions) { var _this = this; - return (0, exports.PlaylistsApiFp)(this.configuration).uploadPlaylist(requestParameters.path, requestParameters.force, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); + return (0, exports.PlaylistsApiFp)(this.configuration).uploadPlaylist(requestParameters.path, requestParameters.force, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); }; return PlaylistsApi; }(base_1.BaseAPI)); @@ -4718,17 +3920,10 @@ var SearchApiAxiosParamCreator = function (configuration) { * @param {any} query The query term * @param {any} [sectionId] This gives context to the search, and can result in re-ordering of search result hubs * @param {any} [limit] The number of items to return per hub - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - performSearch: function (query, sectionId, limit, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + performSearch: function (query, sectionId, limit, axiosOptions) { if (axiosOptions === void 0) { axiosOptions = {}; } return __awaiter(_this, void 0, void 0, function () { var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions; @@ -4745,17 +3940,31 @@ var SearchApiAxiosParamCreator = function (configuration) { localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions); localVarHeaderParameter = {}; localVarQueryParameter = {}; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required ]; case 1: - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required _a.sent(); - // authentication PlexToken required - return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + // authentication DeviceName required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + // authentication Host required + ]; case 2: - // authentication PlexToken required + // authentication DeviceName required + _a.sent(); + // authentication Host required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Host", configuration) + // authentication Token required + ]; + case 3: + // authentication Host required + _a.sent(); + // authentication Token required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + case 4: + // authentication Token required _a.sent(); if (query !== undefined) { localVarQueryParameter['query'] = query; @@ -4766,27 +3975,6 @@ var SearchApiAxiosParamCreator = function (configuration) { if (limit !== undefined) { localVarQueryParameter['limit'] = limit; } - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers); @@ -4804,17 +3992,10 @@ var SearchApiAxiosParamCreator = function (configuration) { * @param {any} query The query term * @param {any} [sectionId] This gives context to the search, and can result in re-ordering of search result hubs * @param {any} [limit] The number of items to return per hub - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - performVoiceSearch: function (query, sectionId, limit, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + performVoiceSearch: function (query, sectionId, limit, axiosOptions) { if (axiosOptions === void 0) { axiosOptions = {}; } return __awaiter(_this, void 0, void 0, function () { var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions; @@ -4831,17 +4012,31 @@ var SearchApiAxiosParamCreator = function (configuration) { localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions); localVarHeaderParameter = {}; localVarQueryParameter = {}; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required ]; case 1: - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required _a.sent(); - // authentication PlexToken required - return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + // authentication DeviceName required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + // authentication Host required + ]; case 2: - // authentication PlexToken required + // authentication DeviceName required + _a.sent(); + // authentication Host required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Host", configuration) + // authentication Token required + ]; + case 3: + // authentication Host required + _a.sent(); + // authentication Token required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + case 4: + // authentication Token required _a.sent(); if (query !== undefined) { localVarQueryParameter['query'] = query; @@ -4852,27 +4047,6 @@ var SearchApiAxiosParamCreator = function (configuration) { if (limit !== undefined) { localVarQueryParameter['limit'] = limit; } - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers); @@ -4900,22 +4074,15 @@ var SearchApiFp = function (configuration) { * @param {any} query The query term * @param {any} [sectionId] This gives context to the search, and can result in re-ordering of search result hubs * @param {any} [limit] The number of items to return per hub - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - performSearch: function (query, sectionId, limit, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + performSearch: function (query, sectionId, limit, axiosOptions) { return __awaiter(this, void 0, void 0, function () { var localVarAxiosArgs; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, localVarAxiosParamCreator.performSearch(query, sectionId, limit, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions)]; + case 0: return [4 /*yield*/, localVarAxiosParamCreator.performSearch(query, sectionId, limit, axiosOptions)]; case 1: localVarAxiosArgs = _a.sent(); return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; @@ -4929,22 +4096,15 @@ var SearchApiFp = function (configuration) { * @param {any} query The query term * @param {any} [sectionId] This gives context to the search, and can result in re-ordering of search result hubs * @param {any} [limit] The number of items to return per hub - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - performVoiceSearch: function (query, sectionId, limit, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + performVoiceSearch: function (query, sectionId, limit, axiosOptions) { return __awaiter(this, void 0, void 0, function () { var localVarAxiosArgs; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, localVarAxiosParamCreator.performVoiceSearch(query, sectionId, limit, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions)]; + case 0: return [4 /*yield*/, localVarAxiosParamCreator.performVoiceSearch(query, sectionId, limit, axiosOptions)]; case 1: localVarAxiosArgs = _a.sent(); return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; @@ -4968,18 +4128,11 @@ var SearchApiFactory = function (configuration, basePath, axios) { * @param {any} query The query term * @param {any} [sectionId] This gives context to the search, and can result in re-ordering of search result hubs * @param {any} [limit] The number of items to return per hub - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - performSearch: function (query, sectionId, limit, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { - return localVarFp.performSearch(query, sectionId, limit, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then(function (request) { return request(axios, basePath); }); + performSearch: function (query, sectionId, limit, axiosOptions) { + return localVarFp.performSearch(query, sectionId, limit, axiosOptions).then(function (request) { return request(axios, basePath); }); }, /** * This endpoint performs a search specifically tailored towards voice or other imprecise input which may work badly with the substring and spell-checking heuristics used by the `/hubs/search` endpoint. It uses a [Levenshtein distance](https://en.wikipedia.org/wiki/Levenshtein_distance) heuristic to search titles, and as such is much slower than the other search endpoint. Whenever possible, clients should limit the search to the appropriate type. Results, as well as their containing per-type hubs, contain a `distance` attribute which can be used to judge result quality. @@ -4987,18 +4140,11 @@ var SearchApiFactory = function (configuration, basePath, axios) { * @param {any} query The query term * @param {any} [sectionId] This gives context to the search, and can result in re-ordering of search result hubs * @param {any} [limit] The number of items to return per hub - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - performVoiceSearch: function (query, sectionId, limit, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { - return localVarFp.performVoiceSearch(query, sectionId, limit, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then(function (request) { return request(axios, basePath); }); + performVoiceSearch: function (query, sectionId, limit, axiosOptions) { + return localVarFp.performVoiceSearch(query, sectionId, limit, axiosOptions).then(function (request) { return request(axios, basePath); }); }, }; }; @@ -5024,7 +4170,7 @@ var SearchApi = /** @class */ (function (_super) { */ SearchApi.prototype.performSearch = function (requestParameters, axiosOptions) { var _this = this; - return (0, exports.SearchApiFp)(this.configuration).performSearch(requestParameters.query, requestParameters.sectionId, requestParameters.limit, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); + return (0, exports.SearchApiFp)(this.configuration).performSearch(requestParameters.query, requestParameters.sectionId, requestParameters.limit, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); }; /** * This endpoint performs a search specifically tailored towards voice or other imprecise input which may work badly with the substring and spell-checking heuristics used by the `/hubs/search` endpoint. It uses a [Levenshtein distance](https://en.wikipedia.org/wiki/Levenshtein_distance) heuristic to search titles, and as such is much slower than the other search endpoint. Whenever possible, clients should limit the search to the appropriate type. Results, as well as their containing per-type hubs, contain a `distance` attribute which can be used to judge result quality. @@ -5036,7 +4182,7 @@ var SearchApi = /** @class */ (function (_super) { */ SearchApi.prototype.performVoiceSearch = function (requestParameters, axiosOptions) { var _this = this; - return (0, exports.SearchApiFp)(this.configuration).performVoiceSearch(requestParameters.query, requestParameters.sectionId, requestParameters.limit, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); + return (0, exports.SearchApiFp)(this.configuration).performVoiceSearch(requestParameters.query, requestParameters.sectionId, requestParameters.limit, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); }; return SearchApi; }(base_1.BaseAPI)); @@ -5052,17 +4198,10 @@ var SecurityApiAxiosParamCreator = function (configuration) { * If a caller requires connection details and a transient token for a source that is known to the server, for example a cloud media provider or shared PMS, then this endpoint can be called. This endpoint is only accessible with either an admin token or a valid transient token generated from an admin token. Note: requires Plex Media Server >= 1.15.4. * @summary Get Source Connection Information * @param {any} source The source identifier with an included prefix. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getSourceConnectionInformation: function (source, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getSourceConnectionInformation: function (source, axiosOptions) { if (axiosOptions === void 0) { axiosOptions = {}; } return __awaiter(_this, void 0, void 0, function () { var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions; @@ -5079,42 +4218,35 @@ var SecurityApiAxiosParamCreator = function (configuration) { localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions); localVarHeaderParameter = {}; localVarQueryParameter = {}; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required ]; case 1: - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required _a.sent(); - // authentication PlexToken required - return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + // authentication DeviceName required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + // authentication Host required + ]; case 2: - // authentication PlexToken required + // authentication DeviceName required + _a.sent(); + // authentication Host required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Host", configuration) + // authentication Token required + ]; + case 3: + // authentication Host required + _a.sent(); + // authentication Token required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + case 4: + // authentication Token required _a.sent(); if (source !== undefined) { localVarQueryParameter['source'] = source; } - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers); @@ -5131,17 +4263,10 @@ var SecurityApiAxiosParamCreator = function (configuration) { * @summary Get a Transient Token. * @param {any} type `delegation` - This is the only supported `type` parameter. * @param {any} scope `all` - This is the only supported `scope` parameter. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getTransientToken: function (type, scope, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getTransientToken: function (type, scope, axiosOptions) { if (axiosOptions === void 0) { axiosOptions = {}; } return __awaiter(_this, void 0, void 0, function () { var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions; @@ -5160,17 +4285,31 @@ var SecurityApiAxiosParamCreator = function (configuration) { localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions); localVarHeaderParameter = {}; localVarQueryParameter = {}; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required ]; case 1: - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required _a.sent(); - // authentication PlexToken required - return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + // authentication DeviceName required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + // authentication Host required + ]; case 2: - // authentication PlexToken required + // authentication DeviceName required + _a.sent(); + // authentication Host required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Host", configuration) + // authentication Token required + ]; + case 3: + // authentication Host required + _a.sent(); + // authentication Token required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + case 4: + // authentication Token required _a.sent(); if (type !== undefined) { localVarQueryParameter['type'] = type; @@ -5178,27 +4317,6 @@ var SecurityApiAxiosParamCreator = function (configuration) { if (scope !== undefined) { localVarQueryParameter['scope'] = scope; } - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers); @@ -5224,22 +4342,15 @@ var SecurityApiFp = function (configuration) { * If a caller requires connection details and a transient token for a source that is known to the server, for example a cloud media provider or shared PMS, then this endpoint can be called. This endpoint is only accessible with either an admin token or a valid transient token generated from an admin token. Note: requires Plex Media Server >= 1.15.4. * @summary Get Source Connection Information * @param {any} source The source identifier with an included prefix. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getSourceConnectionInformation: function (source, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getSourceConnectionInformation: function (source, axiosOptions) { return __awaiter(this, void 0, void 0, function () { var localVarAxiosArgs; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, localVarAxiosParamCreator.getSourceConnectionInformation(source, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions)]; + case 0: return [4 /*yield*/, localVarAxiosParamCreator.getSourceConnectionInformation(source, axiosOptions)]; case 1: localVarAxiosArgs = _a.sent(); return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; @@ -5252,22 +4363,15 @@ var SecurityApiFp = function (configuration) { * @summary Get a Transient Token. * @param {any} type `delegation` - This is the only supported `type` parameter. * @param {any} scope `all` - This is the only supported `scope` parameter. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getTransientToken: function (type, scope, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getTransientToken: function (type, scope, axiosOptions) { return __awaiter(this, void 0, void 0, function () { var localVarAxiosArgs; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, localVarAxiosParamCreator.getTransientToken(type, scope, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions)]; + case 0: return [4 /*yield*/, localVarAxiosParamCreator.getTransientToken(type, scope, axiosOptions)]; case 1: localVarAxiosArgs = _a.sent(); return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; @@ -5289,36 +4393,22 @@ var SecurityApiFactory = function (configuration, basePath, axios) { * If a caller requires connection details and a transient token for a source that is known to the server, for example a cloud media provider or shared PMS, then this endpoint can be called. This endpoint is only accessible with either an admin token or a valid transient token generated from an admin token. Note: requires Plex Media Server >= 1.15.4. * @summary Get Source Connection Information * @param {any} source The source identifier with an included prefix. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getSourceConnectionInformation: function (source, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { - return localVarFp.getSourceConnectionInformation(source, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then(function (request) { return request(axios, basePath); }); + getSourceConnectionInformation: function (source, axiosOptions) { + return localVarFp.getSourceConnectionInformation(source, axiosOptions).then(function (request) { return request(axios, basePath); }); }, /** * This endpoint provides the caller with a temporary token with the same access level as the caller\'s token. These tokens are valid for up to 48 hours and are destroyed if the server instance is restarted. * @summary Get a Transient Token. * @param {any} type `delegation` - This is the only supported `type` parameter. * @param {any} scope `all` - This is the only supported `scope` parameter. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getTransientToken: function (type, scope, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { - return localVarFp.getTransientToken(type, scope, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then(function (request) { return request(axios, basePath); }); + getTransientToken: function (type, scope, axiosOptions) { + return localVarFp.getTransientToken(type, scope, axiosOptions).then(function (request) { return request(axios, basePath); }); }, }; }; @@ -5344,7 +4434,7 @@ var SecurityApi = /** @class */ (function (_super) { */ SecurityApi.prototype.getSourceConnectionInformation = function (requestParameters, axiosOptions) { var _this = this; - return (0, exports.SecurityApiFp)(this.configuration).getSourceConnectionInformation(requestParameters.source, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); + return (0, exports.SecurityApiFp)(this.configuration).getSourceConnectionInformation(requestParameters.source, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); }; /** * This endpoint provides the caller with a temporary token with the same access level as the caller\'s token. These tokens are valid for up to 48 hours and are destroyed if the server instance is restarted. @@ -5356,7 +4446,7 @@ var SecurityApi = /** @class */ (function (_super) { */ SecurityApi.prototype.getTransientToken = function (requestParameters, axiosOptions) { var _this = this; - return (0, exports.SecurityApiFp)(this.configuration).getTransientToken(requestParameters.type, requestParameters.scope, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); + return (0, exports.SecurityApiFp)(this.configuration).getTransientToken(requestParameters.type, requestParameters.scope, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); }; return SecurityApi; }(base_1.BaseAPI)); @@ -5371,17 +4461,10 @@ var ServerApiAxiosParamCreator = function (configuration) { /** * Server Capabilities * @summary Server Capabilities - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getServerCapabilities: function (xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getServerCapabilities: function (axiosOptions) { if (axiosOptions === void 0) { axiosOptions = {}; } return __awaiter(_this, void 0, void 0, function () { var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions; @@ -5396,39 +4479,32 @@ var ServerApiAxiosParamCreator = function (configuration) { localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions); localVarHeaderParameter = {}; localVarQueryParameter = {}; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required ]; case 1: - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required _a.sent(); - // authentication PlexToken required - return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + // authentication DeviceName required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + // authentication Host required + ]; case 2: - // authentication PlexToken required + // authentication DeviceName required + _a.sent(); + // authentication Host required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Host", configuration) + // authentication Token required + ]; + case 3: + // authentication Host required + _a.sent(); + // authentication Token required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + case 4: + // authentication Token required _a.sent(); - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers); @@ -5443,17 +4519,10 @@ var ServerApiAxiosParamCreator = function (configuration) { /** * Get Server Preferences * @summary Get Server Preferences - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getServerPreferences: function (xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getServerPreferences: function (axiosOptions) { if (axiosOptions === void 0) { axiosOptions = {}; } return __awaiter(_this, void 0, void 0, function () { var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions; @@ -5468,39 +4537,32 @@ var ServerApiAxiosParamCreator = function (configuration) { localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions); localVarHeaderParameter = {}; localVarQueryParameter = {}; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required ]; case 1: - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required _a.sent(); - // authentication PlexToken required - return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + // authentication DeviceName required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + // authentication Host required + ]; case 2: - // authentication PlexToken required + // authentication DeviceName required + _a.sent(); + // authentication Host required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Host", configuration) + // authentication Token required + ]; + case 3: + // authentication Host required + _a.sent(); + // authentication Token required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + case 4: + // authentication Token required _a.sent(); - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers); @@ -5525,22 +4587,15 @@ var ServerApiFp = function (configuration) { /** * Server Capabilities * @summary Server Capabilities - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getServerCapabilities: function (xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getServerCapabilities: function (axiosOptions) { return __awaiter(this, void 0, void 0, function () { var localVarAxiosArgs; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, localVarAxiosParamCreator.getServerCapabilities(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions)]; + case 0: return [4 /*yield*/, localVarAxiosParamCreator.getServerCapabilities(axiosOptions)]; case 1: localVarAxiosArgs = _a.sent(); return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; @@ -5551,22 +4606,15 @@ var ServerApiFp = function (configuration) { /** * Get Server Preferences * @summary Get Server Preferences - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getServerPreferences: function (xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getServerPreferences: function (axiosOptions) { return __awaiter(this, void 0, void 0, function () { var localVarAxiosArgs; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, localVarAxiosParamCreator.getServerPreferences(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions)]; + case 0: return [4 /*yield*/, localVarAxiosParamCreator.getServerPreferences(axiosOptions)]; case 1: localVarAxiosArgs = _a.sent(); return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; @@ -5587,34 +4635,20 @@ var ServerApiFactory = function (configuration, basePath, axios) { /** * Server Capabilities * @summary Server Capabilities - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getServerCapabilities: function (xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { - return localVarFp.getServerCapabilities(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then(function (request) { return request(axios, basePath); }); + getServerCapabilities: function (axiosOptions) { + return localVarFp.getServerCapabilities(axiosOptions).then(function (request) { return request(axios, basePath); }); }, /** * Get Server Preferences * @summary Get Server Preferences - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getServerPreferences: function (xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { - return localVarFp.getServerPreferences(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then(function (request) { return request(axios, basePath); }); + getServerPreferences: function (axiosOptions) { + return localVarFp.getServerPreferences(axiosOptions).then(function (request) { return request(axios, basePath); }); }, }; }; @@ -5633,28 +4667,24 @@ var ServerApi = /** @class */ (function (_super) { /** * Server Capabilities * @summary Server Capabilities - * @param {ServerApiGetServerCapabilitiesRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof ServerApi */ - ServerApi.prototype.getServerCapabilities = function (requestParameters, axiosOptions) { + ServerApi.prototype.getServerCapabilities = function (axiosOptions) { var _this = this; - if (requestParameters === void 0) { requestParameters = {}; } - return (0, exports.ServerApiFp)(this.configuration).getServerCapabilities(requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); + return (0, exports.ServerApiFp)(this.configuration).getServerCapabilities(axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); }; /** * Get Server Preferences * @summary Get Server Preferences - * @param {ServerApiGetServerPreferencesRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof ServerApi */ - ServerApi.prototype.getServerPreferences = function (requestParameters, axiosOptions) { + ServerApi.prototype.getServerPreferences = function (axiosOptions) { var _this = this; - if (requestParameters === void 0) { requestParameters = {}; } - return (0, exports.ServerApiFp)(this.configuration).getServerPreferences(requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); + return (0, exports.ServerApiFp)(this.configuration).getServerPreferences(axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); }; return ServerApi; }(base_1.BaseAPI)); @@ -5669,17 +4699,10 @@ var SessionsApiAxiosParamCreator = function (configuration) { /** * This will Retrieve a listing of all history views. * @summary Get Session History - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getSessionHistory: function (xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getSessionHistory: function (axiosOptions) { if (axiosOptions === void 0) { axiosOptions = {}; } return __awaiter(_this, void 0, void 0, function () { var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions; @@ -5694,39 +4717,32 @@ var SessionsApiAxiosParamCreator = function (configuration) { localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions); localVarHeaderParameter = {}; localVarQueryParameter = {}; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required ]; case 1: - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required _a.sent(); - // authentication PlexToken required - return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + // authentication DeviceName required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + // authentication Host required + ]; case 2: - // authentication PlexToken required + // authentication DeviceName required + _a.sent(); + // authentication Host required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Host", configuration) + // authentication Token required + ]; + case 3: + // authentication Host required + _a.sent(); + // authentication Token required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + case 4: + // authentication Token required _a.sent(); - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers); @@ -5741,17 +4757,10 @@ var SessionsApiAxiosParamCreator = function (configuration) { /** * This will retrieve the \"Now Playing\" Information of the PMS. * @summary Get Active Sessions - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getSessions: function (xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getSessions: function (axiosOptions) { if (axiosOptions === void 0) { axiosOptions = {}; } return __awaiter(_this, void 0, void 0, function () { var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions; @@ -5766,39 +4775,32 @@ var SessionsApiAxiosParamCreator = function (configuration) { localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions); localVarHeaderParameter = {}; localVarQueryParameter = {}; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required ]; case 1: - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required _a.sent(); - // authentication PlexToken required - return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + // authentication DeviceName required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + // authentication Host required + ]; case 2: - // authentication PlexToken required + // authentication DeviceName required + _a.sent(); + // authentication Host required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Host", configuration) + // authentication Token required + ]; + case 3: + // authentication Host required + _a.sent(); + // authentication Token required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + case 4: + // authentication Token required _a.sent(); - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers); @@ -5823,22 +4825,15 @@ var SessionsApiFp = function (configuration) { /** * This will Retrieve a listing of all history views. * @summary Get Session History - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getSessionHistory: function (xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getSessionHistory: function (axiosOptions) { return __awaiter(this, void 0, void 0, function () { var localVarAxiosArgs; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, localVarAxiosParamCreator.getSessionHistory(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions)]; + case 0: return [4 /*yield*/, localVarAxiosParamCreator.getSessionHistory(axiosOptions)]; case 1: localVarAxiosArgs = _a.sent(); return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; @@ -5849,22 +4844,15 @@ var SessionsApiFp = function (configuration) { /** * This will retrieve the \"Now Playing\" Information of the PMS. * @summary Get Active Sessions - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getSessions: function (xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getSessions: function (axiosOptions) { return __awaiter(this, void 0, void 0, function () { var localVarAxiosArgs; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, localVarAxiosParamCreator.getSessions(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions)]; + case 0: return [4 /*yield*/, localVarAxiosParamCreator.getSessions(axiosOptions)]; case 1: localVarAxiosArgs = _a.sent(); return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; @@ -5885,34 +4873,20 @@ var SessionsApiFactory = function (configuration, basePath, axios) { /** * This will Retrieve a listing of all history views. * @summary Get Session History - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getSessionHistory: function (xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { - return localVarFp.getSessionHistory(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then(function (request) { return request(axios, basePath); }); + getSessionHistory: function (axiosOptions) { + return localVarFp.getSessionHistory(axiosOptions).then(function (request) { return request(axios, basePath); }); }, /** * This will retrieve the \"Now Playing\" Information of the PMS. * @summary Get Active Sessions - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getSessions: function (xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { - return localVarFp.getSessions(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then(function (request) { return request(axios, basePath); }); + getSessions: function (axiosOptions) { + return localVarFp.getSessions(axiosOptions).then(function (request) { return request(axios, basePath); }); }, }; }; @@ -5931,28 +4905,24 @@ var SessionsApi = /** @class */ (function (_super) { /** * This will Retrieve a listing of all history views. * @summary Get Session History - * @param {SessionsApiGetSessionHistoryRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof SessionsApi */ - SessionsApi.prototype.getSessionHistory = function (requestParameters, axiosOptions) { + SessionsApi.prototype.getSessionHistory = function (axiosOptions) { var _this = this; - if (requestParameters === void 0) { requestParameters = {}; } - return (0, exports.SessionsApiFp)(this.configuration).getSessionHistory(requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); + return (0, exports.SessionsApiFp)(this.configuration).getSessionHistory(axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); }; /** * This will retrieve the \"Now Playing\" Information of the PMS. * @summary Get Active Sessions - * @param {SessionsApiGetSessionsRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof SessionsApi */ - SessionsApi.prototype.getSessions = function (requestParameters, axiosOptions) { + SessionsApi.prototype.getSessions = function (axiosOptions) { var _this = this; - if (requestParameters === void 0) { requestParameters = {}; } - return (0, exports.SessionsApiFp)(this.configuration).getSessions(requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); + return (0, exports.SessionsApiFp)(this.configuration).getSessions(axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); }; return SessionsApi; }(base_1.BaseAPI)); @@ -5969,17 +4939,10 @@ var UpdaterApiAxiosParamCreator = function (configuration) { * @summary Apply Updates * @param {any} [tonight] Indicate that you want the update to run during the next Butler execution. Omitting this or setting it to false indicates that the update should install * @param {any} [skip] Indicate that the latest version should be marked as skipped. The <Release> entry for this version will have the `state` set to `skipped`. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - applyUpdates: function (tonight, skip, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + applyUpdates: function (tonight, skip, axiosOptions) { if (axiosOptions === void 0) { axiosOptions = {}; } return __awaiter(_this, void 0, void 0, function () { var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions; @@ -5994,17 +4957,31 @@ var UpdaterApiAxiosParamCreator = function (configuration) { localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), axiosOptions); localVarHeaderParameter = {}; localVarQueryParameter = {}; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required ]; case 1: - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required _a.sent(); - // authentication PlexToken required - return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + // authentication DeviceName required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + // authentication Host required + ]; case 2: - // authentication PlexToken required + // authentication DeviceName required + _a.sent(); + // authentication Host required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Host", configuration) + // authentication Token required + ]; + case 3: + // authentication Host required + _a.sent(); + // authentication Token required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + case 4: + // authentication Token required _a.sent(); if (tonight !== undefined) { localVarQueryParameter['tonight'] = tonight; @@ -6012,27 +4989,6 @@ var UpdaterApiAxiosParamCreator = function (configuration) { if (skip !== undefined) { localVarQueryParameter['skip'] = skip; } - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers); @@ -6048,17 +5004,10 @@ var UpdaterApiAxiosParamCreator = function (configuration) { * Checking for updates * @summary Checking for updates * @param {any} [download] Indicate that you want to start download any updates found. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - checkForUpdates: function (download, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + checkForUpdates: function (download, axiosOptions) { if (axiosOptions === void 0) { axiosOptions = {}; } return __awaiter(_this, void 0, void 0, function () { var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions; @@ -6073,42 +5022,35 @@ var UpdaterApiAxiosParamCreator = function (configuration) { localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), axiosOptions); localVarHeaderParameter = {}; localVarQueryParameter = {}; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required ]; case 1: - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required _a.sent(); - // authentication PlexToken required - return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + // authentication DeviceName required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + // authentication Host required + ]; case 2: - // authentication PlexToken required + // authentication DeviceName required + _a.sent(); + // authentication Host required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Host", configuration) + // authentication Token required + ]; + case 3: + // authentication Host required + _a.sent(); + // authentication Token required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + case 4: + // authentication Token required _a.sent(); if (download !== undefined) { localVarQueryParameter['download'] = download; } - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers); @@ -6123,17 +5065,10 @@ var UpdaterApiAxiosParamCreator = function (configuration) { /** * Querying status of updates * @summary Querying status of updates - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - queryUpdateStatus: function (xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + queryUpdateStatus: function (axiosOptions) { if (axiosOptions === void 0) { axiosOptions = {}; } return __awaiter(_this, void 0, void 0, function () { var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions; @@ -6148,39 +5083,32 @@ var UpdaterApiAxiosParamCreator = function (configuration) { localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions); localVarHeaderParameter = {}; localVarQueryParameter = {}; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required ]; case 1: - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required _a.sent(); - // authentication PlexToken required - return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + // authentication DeviceName required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + // authentication Host required + ]; case 2: - // authentication PlexToken required + // authentication DeviceName required + _a.sent(); + // authentication Host required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Host", configuration) + // authentication Token required + ]; + case 3: + // authentication Host required + _a.sent(); + // authentication Token required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + case 4: + // authentication Token required _a.sent(); - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers); @@ -6207,22 +5135,15 @@ var UpdaterApiFp = function (configuration) { * @summary Apply Updates * @param {any} [tonight] Indicate that you want the update to run during the next Butler execution. Omitting this or setting it to false indicates that the update should install * @param {any} [skip] Indicate that the latest version should be marked as skipped. The <Release> entry for this version will have the `state` set to `skipped`. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - applyUpdates: function (tonight, skip, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + applyUpdates: function (tonight, skip, axiosOptions) { return __awaiter(this, void 0, void 0, function () { var localVarAxiosArgs; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, localVarAxiosParamCreator.applyUpdates(tonight, skip, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions)]; + case 0: return [4 /*yield*/, localVarAxiosParamCreator.applyUpdates(tonight, skip, axiosOptions)]; case 1: localVarAxiosArgs = _a.sent(); return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; @@ -6234,22 +5155,15 @@ var UpdaterApiFp = function (configuration) { * Checking for updates * @summary Checking for updates * @param {any} [download] Indicate that you want to start download any updates found. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - checkForUpdates: function (download, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + checkForUpdates: function (download, axiosOptions) { return __awaiter(this, void 0, void 0, function () { var localVarAxiosArgs; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, localVarAxiosParamCreator.checkForUpdates(download, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions)]; + case 0: return [4 /*yield*/, localVarAxiosParamCreator.checkForUpdates(download, axiosOptions)]; case 1: localVarAxiosArgs = _a.sent(); return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; @@ -6260,22 +5174,15 @@ var UpdaterApiFp = function (configuration) { /** * Querying status of updates * @summary Querying status of updates - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - queryUpdateStatus: function (xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + queryUpdateStatus: function (axiosOptions) { return __awaiter(this, void 0, void 0, function () { var localVarAxiosArgs; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, localVarAxiosParamCreator.queryUpdateStatus(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions)]; + case 0: return [4 /*yield*/, localVarAxiosParamCreator.queryUpdateStatus(axiosOptions)]; case 1: localVarAxiosArgs = _a.sent(); return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; @@ -6298,51 +5205,30 @@ var UpdaterApiFactory = function (configuration, basePath, axios) { * @summary Apply Updates * @param {any} [tonight] Indicate that you want the update to run during the next Butler execution. Omitting this or setting it to false indicates that the update should install * @param {any} [skip] Indicate that the latest version should be marked as skipped. The <Release> entry for this version will have the `state` set to `skipped`. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - applyUpdates: function (tonight, skip, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { - return localVarFp.applyUpdates(tonight, skip, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then(function (request) { return request(axios, basePath); }); + applyUpdates: function (tonight, skip, axiosOptions) { + return localVarFp.applyUpdates(tonight, skip, axiosOptions).then(function (request) { return request(axios, basePath); }); }, /** * Checking for updates * @summary Checking for updates * @param {any} [download] Indicate that you want to start download any updates found. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - checkForUpdates: function (download, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { - return localVarFp.checkForUpdates(download, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then(function (request) { return request(axios, basePath); }); + checkForUpdates: function (download, axiosOptions) { + return localVarFp.checkForUpdates(download, axiosOptions).then(function (request) { return request(axios, basePath); }); }, /** * Querying status of updates * @summary Querying status of updates - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - queryUpdateStatus: function (xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { - return localVarFp.queryUpdateStatus(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then(function (request) { return request(axios, basePath); }); + queryUpdateStatus: function (axiosOptions) { + return localVarFp.queryUpdateStatus(axiosOptions).then(function (request) { return request(axios, basePath); }); }, }; }; @@ -6369,7 +5255,7 @@ var UpdaterApi = /** @class */ (function (_super) { UpdaterApi.prototype.applyUpdates = function (requestParameters, axiosOptions) { var _this = this; if (requestParameters === void 0) { requestParameters = {}; } - return (0, exports.UpdaterApiFp)(this.configuration).applyUpdates(requestParameters.tonight, requestParameters.skip, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); + return (0, exports.UpdaterApiFp)(this.configuration).applyUpdates(requestParameters.tonight, requestParameters.skip, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); }; /** * Checking for updates @@ -6382,20 +5268,18 @@ var UpdaterApi = /** @class */ (function (_super) { UpdaterApi.prototype.checkForUpdates = function (requestParameters, axiosOptions) { var _this = this; if (requestParameters === void 0) { requestParameters = {}; } - return (0, exports.UpdaterApiFp)(this.configuration).checkForUpdates(requestParameters.download, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); + return (0, exports.UpdaterApiFp)(this.configuration).checkForUpdates(requestParameters.download, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); }; /** * Querying status of updates * @summary Querying status of updates - * @param {UpdaterApiQueryUpdateStatusRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof UpdaterApi */ - UpdaterApi.prototype.queryUpdateStatus = function (requestParameters, axiosOptions) { + UpdaterApi.prototype.queryUpdateStatus = function (axiosOptions) { var _this = this; - if (requestParameters === void 0) { requestParameters = {}; } - return (0, exports.UpdaterApiFp)(this.configuration).queryUpdateStatus(requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); + return (0, exports.UpdaterApiFp)(this.configuration).queryUpdateStatus(axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); }; return UpdaterApi; }(base_1.BaseAPI)); @@ -6410,17 +5294,10 @@ var UserApiAxiosParamCreator = function (configuration) { /** * Get Logged in User * @summary Get Logged in User - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getUserDetails: function (xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getUserDetails: function (axiosOptions) { if (axiosOptions === void 0) { axiosOptions = {}; } return __awaiter(_this, void 0, void 0, function () { var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions; @@ -6435,39 +5312,32 @@ var UserApiAxiosParamCreator = function (configuration) { localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions); localVarHeaderParameter = {}; localVarQueryParameter = {}; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required ]; case 1: - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required _a.sent(); - // authentication PlexToken required - return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + // authentication DeviceName required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + // authentication Host required + ]; case 2: - // authentication PlexToken required + // authentication DeviceName required + _a.sent(); + // authentication Host required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Host", configuration) + // authentication Token required + ]; + case 3: + // authentication Host required + _a.sent(); + // authentication Token required + return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Plex-Token", configuration)]; + case 4: + // authentication Token required _a.sent(); - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter); headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers); @@ -6492,22 +5362,15 @@ var UserApiFp = function (configuration) { /** * Get Logged in User * @summary Get Logged in User - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getUserDetails: function (xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { + getUserDetails: function (axiosOptions) { return __awaiter(this, void 0, void 0, function () { var localVarAxiosArgs; return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, localVarAxiosParamCreator.getUserDetails(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions)]; + case 0: return [4 /*yield*/, localVarAxiosParamCreator.getUserDetails(axiosOptions)]; case 1: localVarAxiosArgs = _a.sent(); return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)]; @@ -6528,18 +5391,11 @@ var UserApiFactory = function (configuration, basePath, axios) { /** * Get Logged in User * @summary Get Logged in User - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getUserDetails: function (xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) { - return localVarFp.getUserDetails(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then(function (request) { return request(axios, basePath); }); + getUserDetails: function (axiosOptions) { + return localVarFp.getUserDetails(axiosOptions).then(function (request) { return request(axios, basePath); }); }, }; }; @@ -6558,15 +5414,13 @@ var UserApi = /** @class */ (function (_super) { /** * Get Logged in User * @summary Get Logged in User - * @param {UserApiGetUserDetailsRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof UserApi */ - UserApi.prototype.getUserDetails = function (requestParameters, axiosOptions) { + UserApi.prototype.getUserDetails = function (axiosOptions) { var _this = this; - if (requestParameters === void 0) { requestParameters = {}; } - return (0, exports.UserApiFp)(this.configuration).getUserDetails(requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); + return (0, exports.UserApiFp)(this.configuration).getUserDetails(axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); }); }; return UserApi; }(base_1.BaseAPI)); diff --git a/dist/sdk-output/api.js.map b/dist/sdk-output/api.js.map index 7ac19ec7..21845969 100644 --- a/dist/sdk-output/api.js.map +++ b/dist/sdk-output/api.js.map @@ -1 +1 @@ -{"version":3,"file":"api.js","sourceRoot":"","sources":["../../sdk-output/api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIH,+BAAqF;AACrF,yDAAyD;AACzD,aAAa;AACb,mCAA4N;AAC5N,aAAa;AACb,+BAA4F;AAqhB5F;;;GAGG;AACI,IAAM,8BAA8B,GAAG,UAAU,aAA6B;IAAvC,iBAqJ7C;IApJG,OAAO;QACH;;;;;;;;;;;;;WAaG;QACH,sBAAsB,EAAE,UAAO,YAAiB,EAAE,eAAqB,EAAE,WAAiB,EAAE,oBAA0B,EAAE,aAAmB,EAAE,YAAkB,EAAE,aAAmB,EAAE,YAAkB,EAAE,YAAqC;YAArC,6BAAA,EAAA,iBAAqC;;;;;;4BAC3O,oEAAoE;4BACpE,IAAA,0B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,gBAAS,EAAE,aAAa,CAAC,EAAC;;;;SAC1F;KACJ,CAAA;AACL,CAAC,CAAC;AAdW,QAAA,SAAS,aAcpB;AAEF;;;GAGG;AACI,IAAM,cAAc,GAAG,UAAU,aAA6B,EAAE,QAAiB,EAAE,KAAqB;IAC3G,IAAM,UAAU,GAAG,IAAA,iBAAS,EAAC,aAAa,CAAC,CAAA;IAC3C,OAAO;QACH;;;;;WAKG;QACH,cAAc,YAAC,YAAkB;YAC7B,OAAO,UAAU,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,UAAC,OAAO,IAAK,OAAA,OAAO,CAAC,KAAK,EAAE,QAAQ,CAAC,EAAxB,CAAwB,CAAC,CAAC;QAC/F,CAAC;KACJ,CAAC;AACN,CAAC,CAAC;AAbW,QAAA,cAAc,kBAazB;AAEF;;;;;GAKG;AACH;IAA6B,2BAAO;IAApC;;IAWA,CAAC;IAVG;;;;;;OAMG;IACI,gCAAc,GAArB,UAAsB,YAAiC;QAAvD,iBAEC;QADG,OAAO,IAAA,iBAAS,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,UAAC,OAAO,IAAK,OAAA,OAAO,CAAC,KAAI,CAAC,KAAK,EAAE,KAAI,CAAC,QAAQ,CAAC,EAAlC,CAAkC,CAAC,CAAC;IAC5H,CAAC;IACL,cAAC;AAAD,CAAC,AAXD,CAA6B,cAAO,GAWnC;AAXY,0BAAO"} \ No newline at end of file diff --git a/sdk-output/api.ts b/sdk-output/api.ts index 4a7f099d..d0c2e179 100644 --- a/sdk-output/api.ts +++ b/sdk-output/api.ts @@ -562,17 +562,10 @@ export const ActivitiesApiAxiosParamCreator = function (configuration?: Configur * Cancel Server Activities * @summary Cancel Server Activities * @param {any} activityUUID The UUID of the activity to cancel. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - cancelServerActivities: async (activityUUID: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { + cancelServerActivities: async (activityUUID: any, axiosOptions: AxiosRequestConfig = {}): Promise => { // verify required parameter 'activityUUID' is not null or undefined assertParamExists('cancelServerActivities', 'activityUUID', activityUUID) const localVarPath = `/activities/{activityUUID}` @@ -588,40 +581,18 @@ export const ActivitiesApiAxiosParamCreator = function (configuration?: Configur const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + + // authentication Host required + await setApiKeyToObject(localVarHeaderParameter, "Host", configuration) + + // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Token", configuration) - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } - setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -636,17 +607,10 @@ export const ActivitiesApiAxiosParamCreator = function (configuration?: Configur /** * Get Server Activities * @summary Get Server Activities - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getServerActivities: async (xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { + getServerActivities: async (axiosOptions: AxiosRequestConfig = {}): Promise => { const localVarPath = `/activities`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -659,40 +623,18 @@ export const ActivitiesApiAxiosParamCreator = function (configuration?: Configur const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + + // authentication Host required + await setApiKeyToObject(localVarHeaderParameter, "Host", configuration) + + // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Token", configuration) - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } - setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -718,35 +660,21 @@ export const ActivitiesApiFp = function(configuration?: Configuration) { * Cancel Server Activities * @summary Cancel Server Activities * @param {any} activityUUID The UUID of the activity to cancel. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - async cancelServerActivities(activityUUID: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.cancelServerActivities(activityUUID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions); + async cancelServerActivities(activityUUID: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.cancelServerActivities(activityUUID, axiosOptions); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** * Get Server Activities * @summary Get Server Activities - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - async getServerActivities(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getServerActivities(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions); + async getServerActivities(axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getServerActivities(axiosOptions); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, } @@ -763,34 +691,20 @@ export const ActivitiesApiFactory = function (configuration?: Configuration, bas * Cancel Server Activities * @summary Cancel Server Activities * @param {any} activityUUID The UUID of the activity to cancel. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - cancelServerActivities(activityUUID: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise { - return localVarFp.cancelServerActivities(activityUUID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then((request) => request(axios, basePath)); + cancelServerActivities(activityUUID: any, axiosOptions?: any): AxiosPromise { + return localVarFp.cancelServerActivities(activityUUID, axiosOptions).then((request) => request(axios, basePath)); }, /** * Get Server Activities * @summary Get Server Activities - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getServerActivities(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise { - return localVarFp.getServerActivities(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then((request) => request(axios, basePath)); + getServerActivities(axiosOptions?: any): AxiosPromise { + return localVarFp.getServerActivities(axiosOptions).then((request) => request(axios, basePath)); }, }; }; @@ -807,111 +721,6 @@ export interface ActivitiesApiCancelServerActivitiesRequest { * @memberof ActivitiesApiCancelServerActivities */ readonly activityUUID: any - - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof ActivitiesApiCancelServerActivities - */ - readonly xPlexDeviceName?: any - - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof ActivitiesApiCancelServerActivities - */ - readonly xPlexDevice?: any - - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof ActivitiesApiCancelServerActivities - */ - readonly xPlexPlatformVersion?: any - - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof ActivitiesApiCancelServerActivities - */ - readonly xPlexPlatform?: any - - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof ActivitiesApiCancelServerActivities - */ - readonly xPlexProduct?: any - - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof ActivitiesApiCancelServerActivities - */ - readonly xPlexProvides?: any - - /** - * Your application version number - * @type {any} - * @memberof ActivitiesApiCancelServerActivities - */ - readonly xPlexVersion?: any -} - -/** - * Request parameters for getServerActivities operation in ActivitiesApi. - * @export - * @interface ActivitiesApiGetServerActivitiesRequest - */ -export interface ActivitiesApiGetServerActivitiesRequest { - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof ActivitiesApiGetServerActivities - */ - readonly xPlexDeviceName?: any - - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof ActivitiesApiGetServerActivities - */ - readonly xPlexDevice?: any - - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof ActivitiesApiGetServerActivities - */ - readonly xPlexPlatformVersion?: any - - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof ActivitiesApiGetServerActivities - */ - readonly xPlexPlatform?: any - - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof ActivitiesApiGetServerActivities - */ - readonly xPlexProduct?: any - - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof ActivitiesApiGetServerActivities - */ - readonly xPlexProvides?: any - - /** - * Your application version number - * @type {any} - * @memberof ActivitiesApiGetServerActivities - */ - readonly xPlexVersion?: any } /** @@ -930,19 +739,18 @@ export class ActivitiesApi extends BaseAPI { * @memberof ActivitiesApi */ public cancelServerActivities(requestParameters: ActivitiesApiCancelServerActivitiesRequest, axiosOptions?: AxiosRequestConfig) { - return ActivitiesApiFp(this.configuration).cancelServerActivities(requestParameters.activityUUID, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then((request) => request(this.axios, this.basePath)); + return ActivitiesApiFp(this.configuration).cancelServerActivities(requestParameters.activityUUID, axiosOptions).then((request) => request(this.axios, this.basePath)); } /** * Get Server Activities * @summary Get Server Activities - * @param {ActivitiesApiGetServerActivitiesRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof ActivitiesApi */ - public getServerActivities(requestParameters: ActivitiesApiGetServerActivitiesRequest = {}, axiosOptions?: AxiosRequestConfig) { - return ActivitiesApiFp(this.configuration).getServerActivities(requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then((request) => request(this.axios, this.basePath)); + public getServerActivities(axiosOptions?: AxiosRequestConfig) { + return ActivitiesApiFp(this.configuration).getServerActivities(axiosOptions).then((request) => request(this.axios, this.basePath)); } } @@ -957,17 +765,10 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf * Retrieve a Pin from Plex.tv for authentication flows * @summary Get a Pin * @param {any} [strong] Determines the kind of code returned by the API call Strong codes are used for Pin authentication flows Non-Strong codes are used for `Plex.tv/link` - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getPin: async (strong?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { + getPin: async (strong?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { const localVarPath = `/pins`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -980,38 +781,22 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication ClientIdentifier required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) + + // authentication DeviceName required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + + // authentication Host required + await setApiKeyToObject(localVarHeaderParameter, "Host", configuration) + + // authentication Token required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Token", configuration) + if (strong !== undefined) { localVarQueryParameter['strong'] = strong; } - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } - setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -1027,17 +812,10 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf * Retrieve an Access Token from Plex.tv after the Pin has already been authenticated * @summary Get Access Token * @param {any} pinID The PinID to retrieve an access token for - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getToken: async (pinID: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { + getToken: async (pinID: any, axiosOptions: AxiosRequestConfig = {}): Promise => { // verify required parameter 'pinID' is not null or undefined assertParamExists('getToken', 'pinID', pinID) const localVarPath = `/pins/{pinID}` @@ -1053,33 +831,17 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } + // authentication ClientIdentifier required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } + // authentication DeviceName required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Device-Name", configuration) - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } + // authentication Host required + await setApiKeyToObject(localVarHeaderParameter, "Host", configuration) - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } + // authentication Token required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Token", configuration) @@ -1106,36 +868,22 @@ export const AuthenticationApiFp = function(configuration?: Configuration) { * Retrieve a Pin from Plex.tv for authentication flows * @summary Get a Pin * @param {any} [strong] Determines the kind of code returned by the API call Strong codes are used for Pin authentication flows Non-Strong codes are used for `Plex.tv/link` - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - async getPin(strong?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getPin(strong, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions); + async getPin(strong?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getPin(strong, axiosOptions); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** * Retrieve an Access Token from Plex.tv after the Pin has already been authenticated * @summary Get Access Token * @param {any} pinID The PinID to retrieve an access token for - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - async getToken(pinID: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getToken(pinID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions); + async getToken(pinID: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getToken(pinID, axiosOptions); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, } @@ -1152,35 +900,21 @@ export const AuthenticationApiFactory = function (configuration?: Configuration, * Retrieve a Pin from Plex.tv for authentication flows * @summary Get a Pin * @param {any} [strong] Determines the kind of code returned by the API call Strong codes are used for Pin authentication flows Non-Strong codes are used for `Plex.tv/link` - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getPin(strong?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise { - return localVarFp.getPin(strong, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then((request) => request(axios, basePath)); + getPin(strong?: any, axiosOptions?: any): AxiosPromise { + return localVarFp.getPin(strong, axiosOptions).then((request) => request(axios, basePath)); }, /** * Retrieve an Access Token from Plex.tv after the Pin has already been authenticated * @summary Get Access Token * @param {any} pinID The PinID to retrieve an access token for - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getToken(pinID: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise { - return localVarFp.getToken(pinID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then((request) => request(axios, basePath)); + getToken(pinID: any, axiosOptions?: any): AxiosPromise { + return localVarFp.getToken(pinID, axiosOptions).then((request) => request(axios, basePath)); }, }; }; @@ -1197,55 +931,6 @@ export interface AuthenticationApiGetPinRequest { * @memberof AuthenticationApiGetPin */ readonly strong?: any - - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof AuthenticationApiGetPin - */ - readonly xPlexDeviceName?: any - - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof AuthenticationApiGetPin - */ - readonly xPlexDevice?: any - - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof AuthenticationApiGetPin - */ - readonly xPlexPlatformVersion?: any - - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof AuthenticationApiGetPin - */ - readonly xPlexPlatform?: any - - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof AuthenticationApiGetPin - */ - readonly xPlexProduct?: any - - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof AuthenticationApiGetPin - */ - readonly xPlexProvides?: any - - /** - * Your application version number - * @type {any} - * @memberof AuthenticationApiGetPin - */ - readonly xPlexVersion?: any } /** @@ -1260,55 +945,6 @@ export interface AuthenticationApiGetTokenRequest { * @memberof AuthenticationApiGetToken */ readonly pinID: any - - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof AuthenticationApiGetToken - */ - readonly xPlexDeviceName?: any - - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof AuthenticationApiGetToken - */ - readonly xPlexDevice?: any - - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof AuthenticationApiGetToken - */ - readonly xPlexPlatformVersion?: any - - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof AuthenticationApiGetToken - */ - readonly xPlexPlatform?: any - - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof AuthenticationApiGetToken - */ - readonly xPlexProduct?: any - - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof AuthenticationApiGetToken - */ - readonly xPlexProvides?: any - - /** - * Your application version number - * @type {any} - * @memberof AuthenticationApiGetToken - */ - readonly xPlexVersion?: any } /** @@ -1327,7 +963,7 @@ export class AuthenticationApi extends BaseAPI { * @memberof AuthenticationApi */ public getPin(requestParameters: AuthenticationApiGetPinRequest = {}, axiosOptions?: AxiosRequestConfig) { - return AuthenticationApiFp(this.configuration).getPin(requestParameters.strong, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then((request) => request(this.axios, this.basePath)); + return AuthenticationApiFp(this.configuration).getPin(requestParameters.strong, axiosOptions).then((request) => request(this.axios, this.basePath)); } /** @@ -1339,7 +975,7 @@ export class AuthenticationApi extends BaseAPI { * @memberof AuthenticationApi */ public getToken(requestParameters: AuthenticationApiGetTokenRequest, axiosOptions?: AxiosRequestConfig) { - return AuthenticationApiFp(this.configuration).getToken(requestParameters.pinID, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then((request) => request(this.axios, this.basePath)); + return AuthenticationApiFp(this.configuration).getToken(requestParameters.pinID, axiosOptions).then((request) => request(this.axios, this.basePath)); } } @@ -1353,17 +989,10 @@ export const ButlerApiAxiosParamCreator = function (configuration?: Configuratio /** * This endpoint will attempt to start all Butler tasks that are enabled in the settings. Butler tasks normally run automatically during a time window configured on the server\'s Settings page but can be manually started using this endpoint. Tasks will run with the following criteria: 1. Any tasks not scheduled to run on the current day will be skipped. 2. If a task is configured to run at a random time during the configured window and we are outside that window, the task will start immediately. 3. If a task is configured to run at a random time during the configured window and we are within that window, the task will be scheduled at a random time within the window. 4. If we are outside the configured window, the task will start immediately. * @summary Start all Butler tasks - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - startAllTasks: async (xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { + startAllTasks: async (axiosOptions: AxiosRequestConfig = {}): Promise => { const localVarPath = `/butler`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -1376,40 +1005,18 @@ export const ButlerApiAxiosParamCreator = function (configuration?: Configuratio const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + + // authentication Host required + await setApiKeyToObject(localVarHeaderParameter, "Host", configuration) + + // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Token", configuration) - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } - setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -1425,17 +1032,10 @@ export const ButlerApiAxiosParamCreator = function (configuration?: Configuratio * This endpoint will attempt to start a single Butler task that is enabled in the settings. Butler tasks normally run automatically during a time window configured on the server\'s Settings page but can be manually started using this endpoint. Tasks will run with the following criteria: 1. Any tasks not scheduled to run on the current day will be skipped. 2. If a task is configured to run at a random time during the configured window and we are outside that window, the task will start immediately. 3. If a task is configured to run at a random time during the configured window and we are within that window, the task will be scheduled at a random time within the window. 4. If we are outside the configured window, the task will start immediately. * @summary Start a single Butler task * @param {any} taskName the name of the task to be started. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - startTask: async (taskName: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { + startTask: async (taskName: any, axiosOptions: AxiosRequestConfig = {}): Promise => { // verify required parameter 'taskName' is not null or undefined assertParamExists('startTask', 'taskName', taskName) const localVarPath = `/butler/{taskName}` @@ -1451,40 +1051,18 @@ export const ButlerApiAxiosParamCreator = function (configuration?: Configuratio const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + + // authentication Host required + await setApiKeyToObject(localVarHeaderParameter, "Host", configuration) + + // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Token", configuration) - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } - setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -1515,10 +1093,16 @@ export const ButlerApiAxiosParamCreator = function (configuration?: Configuratio const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + + // authentication Host required + await setApiKeyToObject(localVarHeaderParameter, "Host", configuration) + + // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Token", configuration) @@ -1536,17 +1120,10 @@ export const ButlerApiAxiosParamCreator = function (configuration?: Configuratio * This endpoint will stop a currently running task by name, or remove it from the list of scheduled tasks if it exists. See the section above for a list of task names for this endpoint. * @summary Stop a single Butler task * @param {any} taskName The name of the task to be started. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - stopTask: async (taskName: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { + stopTask: async (taskName: any, axiosOptions: AxiosRequestConfig = {}): Promise => { // verify required parameter 'taskName' is not null or undefined assertParamExists('stopTask', 'taskName', taskName) const localVarPath = `/butler/{taskName}` @@ -1562,40 +1139,18 @@ export const ButlerApiAxiosParamCreator = function (configuration?: Configuratio const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + + // authentication Host required + await setApiKeyToObject(localVarHeaderParameter, "Host", configuration) + + // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Token", configuration) - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } - setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -1620,36 +1175,22 @@ export const ButlerApiFp = function(configuration?: Configuration) { /** * This endpoint will attempt to start all Butler tasks that are enabled in the settings. Butler tasks normally run automatically during a time window configured on the server\'s Settings page but can be manually started using this endpoint. Tasks will run with the following criteria: 1. Any tasks not scheduled to run on the current day will be skipped. 2. If a task is configured to run at a random time during the configured window and we are outside that window, the task will start immediately. 3. If a task is configured to run at a random time during the configured window and we are within that window, the task will be scheduled at a random time within the window. 4. If we are outside the configured window, the task will start immediately. * @summary Start all Butler tasks - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - async startAllTasks(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.startAllTasks(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions); + async startAllTasks(axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.startAllTasks(axiosOptions); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** * This endpoint will attempt to start a single Butler task that is enabled in the settings. Butler tasks normally run automatically during a time window configured on the server\'s Settings page but can be manually started using this endpoint. Tasks will run with the following criteria: 1. Any tasks not scheduled to run on the current day will be skipped. 2. If a task is configured to run at a random time during the configured window and we are outside that window, the task will start immediately. 3. If a task is configured to run at a random time during the configured window and we are within that window, the task will be scheduled at a random time within the window. 4. If we are outside the configured window, the task will start immediately. * @summary Start a single Butler task * @param {any} taskName the name of the task to be started. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - async startTask(taskName: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.startTask(taskName, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions); + async startTask(taskName: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.startTask(taskName, axiosOptions); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -1666,18 +1207,11 @@ export const ButlerApiFp = function(configuration?: Configuration) { * This endpoint will stop a currently running task by name, or remove it from the list of scheduled tasks if it exists. See the section above for a list of task names for this endpoint. * @summary Stop a single Butler task * @param {any} taskName The name of the task to be started. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - async stopTask(taskName: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.stopTask(taskName, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions); + async stopTask(taskName: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.stopTask(taskName, axiosOptions); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, } @@ -1693,35 +1227,21 @@ export const ButlerApiFactory = function (configuration?: Configuration, basePat /** * This endpoint will attempt to start all Butler tasks that are enabled in the settings. Butler tasks normally run automatically during a time window configured on the server\'s Settings page but can be manually started using this endpoint. Tasks will run with the following criteria: 1. Any tasks not scheduled to run on the current day will be skipped. 2. If a task is configured to run at a random time during the configured window and we are outside that window, the task will start immediately. 3. If a task is configured to run at a random time during the configured window and we are within that window, the task will be scheduled at a random time within the window. 4. If we are outside the configured window, the task will start immediately. * @summary Start all Butler tasks - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - startAllTasks(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise { - return localVarFp.startAllTasks(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then((request) => request(axios, basePath)); + startAllTasks(axiosOptions?: any): AxiosPromise { + return localVarFp.startAllTasks(axiosOptions).then((request) => request(axios, basePath)); }, /** * This endpoint will attempt to start a single Butler task that is enabled in the settings. Butler tasks normally run automatically during a time window configured on the server\'s Settings page but can be manually started using this endpoint. Tasks will run with the following criteria: 1. Any tasks not scheduled to run on the current day will be skipped. 2. If a task is configured to run at a random time during the configured window and we are outside that window, the task will start immediately. 3. If a task is configured to run at a random time during the configured window and we are within that window, the task will be scheduled at a random time within the window. 4. If we are outside the configured window, the task will start immediately. * @summary Start a single Butler task * @param {any} taskName the name of the task to be started. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - startTask(taskName: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise { - return localVarFp.startTask(taskName, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then((request) => request(axios, basePath)); + startTask(taskName: any, axiosOptions?: any): AxiosPromise { + return localVarFp.startTask(taskName, axiosOptions).then((request) => request(axios, basePath)); }, /** * This endpoint will stop all currently running tasks and remove any scheduled tasks from the queue. @@ -1736,78 +1256,15 @@ export const ButlerApiFactory = function (configuration?: Configuration, basePat * This endpoint will stop a currently running task by name, or remove it from the list of scheduled tasks if it exists. See the section above for a list of task names for this endpoint. * @summary Stop a single Butler task * @param {any} taskName The name of the task to be started. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - stopTask(taskName: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise { - return localVarFp.stopTask(taskName, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then((request) => request(axios, basePath)); + stopTask(taskName: any, axiosOptions?: any): AxiosPromise { + return localVarFp.stopTask(taskName, axiosOptions).then((request) => request(axios, basePath)); }, }; }; -/** - * Request parameters for startAllTasks operation in ButlerApi. - * @export - * @interface ButlerApiStartAllTasksRequest - */ -export interface ButlerApiStartAllTasksRequest { - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof ButlerApiStartAllTasks - */ - readonly xPlexDeviceName?: any - - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof ButlerApiStartAllTasks - */ - readonly xPlexDevice?: any - - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof ButlerApiStartAllTasks - */ - readonly xPlexPlatformVersion?: any - - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof ButlerApiStartAllTasks - */ - readonly xPlexPlatform?: any - - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof ButlerApiStartAllTasks - */ - readonly xPlexProduct?: any - - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof ButlerApiStartAllTasks - */ - readonly xPlexProvides?: any - - /** - * Your application version number - * @type {any} - * @memberof ButlerApiStartAllTasks - */ - readonly xPlexVersion?: any -} - /** * Request parameters for startTask operation in ButlerApi. * @export @@ -1820,55 +1277,6 @@ export interface ButlerApiStartTaskRequest { * @memberof ButlerApiStartTask */ readonly taskName: any - - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof ButlerApiStartTask - */ - readonly xPlexDeviceName?: any - - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof ButlerApiStartTask - */ - readonly xPlexDevice?: any - - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof ButlerApiStartTask - */ - readonly xPlexPlatformVersion?: any - - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof ButlerApiStartTask - */ - readonly xPlexPlatform?: any - - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof ButlerApiStartTask - */ - readonly xPlexProduct?: any - - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof ButlerApiStartTask - */ - readonly xPlexProvides?: any - - /** - * Your application version number - * @type {any} - * @memberof ButlerApiStartTask - */ - readonly xPlexVersion?: any } /** @@ -1883,55 +1291,6 @@ export interface ButlerApiStopTaskRequest { * @memberof ButlerApiStopTask */ readonly taskName: any - - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof ButlerApiStopTask - */ - readonly xPlexDeviceName?: any - - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof ButlerApiStopTask - */ - readonly xPlexDevice?: any - - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof ButlerApiStopTask - */ - readonly xPlexPlatformVersion?: any - - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof ButlerApiStopTask - */ - readonly xPlexPlatform?: any - - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof ButlerApiStopTask - */ - readonly xPlexProduct?: any - - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof ButlerApiStopTask - */ - readonly xPlexProvides?: any - - /** - * Your application version number - * @type {any} - * @memberof ButlerApiStopTask - */ - readonly xPlexVersion?: any } /** @@ -1944,13 +1303,12 @@ export class ButlerApi extends BaseAPI { /** * This endpoint will attempt to start all Butler tasks that are enabled in the settings. Butler tasks normally run automatically during a time window configured on the server\'s Settings page but can be manually started using this endpoint. Tasks will run with the following criteria: 1. Any tasks not scheduled to run on the current day will be skipped. 2. If a task is configured to run at a random time during the configured window and we are outside that window, the task will start immediately. 3. If a task is configured to run at a random time during the configured window and we are within that window, the task will be scheduled at a random time within the window. 4. If we are outside the configured window, the task will start immediately. * @summary Start all Butler tasks - * @param {ButlerApiStartAllTasksRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof ButlerApi */ - public startAllTasks(requestParameters: ButlerApiStartAllTasksRequest = {}, axiosOptions?: AxiosRequestConfig) { - return ButlerApiFp(this.configuration).startAllTasks(requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then((request) => request(this.axios, this.basePath)); + public startAllTasks(axiosOptions?: AxiosRequestConfig) { + return ButlerApiFp(this.configuration).startAllTasks(axiosOptions).then((request) => request(this.axios, this.basePath)); } /** @@ -1962,7 +1320,7 @@ export class ButlerApi extends BaseAPI { * @memberof ButlerApi */ public startTask(requestParameters: ButlerApiStartTaskRequest, axiosOptions?: AxiosRequestConfig) { - return ButlerApiFp(this.configuration).startTask(requestParameters.taskName, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then((request) => request(this.axios, this.basePath)); + return ButlerApiFp(this.configuration).startTask(requestParameters.taskName, axiosOptions).then((request) => request(this.axios, this.basePath)); } /** @@ -1985,7 +1343,7 @@ export class ButlerApi extends BaseAPI { * @memberof ButlerApi */ public stopTask(requestParameters: ButlerApiStopTaskRequest, axiosOptions?: AxiosRequestConfig) { - return ButlerApiFp(this.configuration).stopTask(requestParameters.taskName, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then((request) => request(this.axios, this.basePath)); + return ButlerApiFp(this.configuration).stopTask(requestParameters.taskName, axiosOptions).then((request) => request(this.axios, this.basePath)); } } @@ -1999,17 +1357,10 @@ export const DevicesApiAxiosParamCreator = function (configuration?: Configurati /** * Get Available Clients * @summary Get Available Clients - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getAvailableClients: async (xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { + getAvailableClients: async (axiosOptions: AxiosRequestConfig = {}): Promise => { const localVarPath = `/clients`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -2022,40 +1373,18 @@ export const DevicesApiAxiosParamCreator = function (configuration?: Configurati const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + + // authentication Host required + await setApiKeyToObject(localVarHeaderParameter, "Host", configuration) + + // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Token", configuration) - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } - setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -2070,17 +1399,10 @@ export const DevicesApiAxiosParamCreator = function (configuration?: Configurati /** * Get Devices * @summary Get Devices - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getDevices: async (xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { + getDevices: async (axiosOptions: AxiosRequestConfig = {}): Promise => { const localVarPath = `/resources`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -2093,40 +1415,18 @@ export const DevicesApiAxiosParamCreator = function (configuration?: Configurati const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + + // authentication Host required + await setApiKeyToObject(localVarHeaderParameter, "Host", configuration) + + // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Token", configuration) - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } - setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -2151,35 +1451,21 @@ export const DevicesApiFp = function(configuration?: Configuration) { /** * Get Available Clients * @summary Get Available Clients - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - async getAvailableClients(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getAvailableClients(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions); + async getAvailableClients(axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getAvailableClients(axiosOptions); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** * Get Devices * @summary Get Devices - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - async getDevices(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getDevices(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions); + async getDevices(axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getDevices(axiosOptions); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, } @@ -2195,150 +1481,24 @@ export const DevicesApiFactory = function (configuration?: Configuration, basePa /** * Get Available Clients * @summary Get Available Clients - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getAvailableClients(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise { - return localVarFp.getAvailableClients(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then((request) => request(axios, basePath)); + getAvailableClients(axiosOptions?: any): AxiosPromise { + return localVarFp.getAvailableClients(axiosOptions).then((request) => request(axios, basePath)); }, /** * Get Devices * @summary Get Devices - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getDevices(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise { - return localVarFp.getDevices(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then((request) => request(axios, basePath)); + getDevices(axiosOptions?: any): AxiosPromise { + return localVarFp.getDevices(axiosOptions).then((request) => request(axios, basePath)); }, }; }; -/** - * Request parameters for getAvailableClients operation in DevicesApi. - * @export - * @interface DevicesApiGetAvailableClientsRequest - */ -export interface DevicesApiGetAvailableClientsRequest { - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof DevicesApiGetAvailableClients - */ - readonly xPlexDeviceName?: any - - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof DevicesApiGetAvailableClients - */ - readonly xPlexDevice?: any - - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof DevicesApiGetAvailableClients - */ - readonly xPlexPlatformVersion?: any - - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof DevicesApiGetAvailableClients - */ - readonly xPlexPlatform?: any - - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof DevicesApiGetAvailableClients - */ - readonly xPlexProduct?: any - - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof DevicesApiGetAvailableClients - */ - readonly xPlexProvides?: any - - /** - * Your application version number - * @type {any} - * @memberof DevicesApiGetAvailableClients - */ - readonly xPlexVersion?: any -} - -/** - * Request parameters for getDevices operation in DevicesApi. - * @export - * @interface DevicesApiGetDevicesRequest - */ -export interface DevicesApiGetDevicesRequest { - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof DevicesApiGetDevices - */ - readonly xPlexDeviceName?: any - - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof DevicesApiGetDevices - */ - readonly xPlexDevice?: any - - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof DevicesApiGetDevices - */ - readonly xPlexPlatformVersion?: any - - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof DevicesApiGetDevices - */ - readonly xPlexPlatform?: any - - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof DevicesApiGetDevices - */ - readonly xPlexProduct?: any - - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof DevicesApiGetDevices - */ - readonly xPlexProvides?: any - - /** - * Your application version number - * @type {any} - * @memberof DevicesApiGetDevices - */ - readonly xPlexVersion?: any -} - /** * DevicesApi - object-oriented interface * @export @@ -2349,25 +1509,23 @@ export class DevicesApi extends BaseAPI { /** * Get Available Clients * @summary Get Available Clients - * @param {DevicesApiGetAvailableClientsRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof DevicesApi */ - public getAvailableClients(requestParameters: DevicesApiGetAvailableClientsRequest = {}, axiosOptions?: AxiosRequestConfig) { - return DevicesApiFp(this.configuration).getAvailableClients(requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then((request) => request(this.axios, this.basePath)); + public getAvailableClients(axiosOptions?: AxiosRequestConfig) { + return DevicesApiFp(this.configuration).getAvailableClients(axiosOptions).then((request) => request(this.axios, this.basePath)); } /** * Get Devices * @summary Get Devices - * @param {DevicesApiGetDevicesRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof DevicesApi */ - public getDevices(requestParameters: DevicesApiGetDevicesRequest = {}, axiosOptions?: AxiosRequestConfig) { - return DevicesApiFp(this.configuration).getDevices(requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then((request) => request(this.axios, this.basePath)); + public getDevices(axiosOptions?: AxiosRequestConfig) { + return DevicesApiFp(this.configuration).getDevices(axiosOptions).then((request) => request(this.axios, this.basePath)); } } @@ -2383,17 +1541,10 @@ export const HashesApiAxiosParamCreator = function (configuration?: Configuratio * @summary Get Hash Value * @param {any} url This is the path to the local file, must be prefixed by `file://` * @param {any} [type] Item type - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getFileHash: async (url: any, type?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { + getFileHash: async (url: any, type?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { // verify required parameter 'url' is not null or undefined assertParamExists('getFileHash', 'url', url) const localVarPath = `/library/hashes`; @@ -2408,10 +1559,16 @@ export const HashesApiAxiosParamCreator = function (configuration?: Configuratio const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + + // authentication Host required + await setApiKeyToObject(localVarHeaderParameter, "Host", configuration) + + // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Token", configuration) if (url !== undefined) { @@ -2422,34 +1579,6 @@ export const HashesApiAxiosParamCreator = function (configuration?: Configuratio localVarQueryParameter['type'] = type; } - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } - setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -2476,18 +1605,11 @@ export const HashesApiFp = function(configuration?: Configuration) { * @summary Get Hash Value * @param {any} url This is the path to the local file, must be prefixed by `file://` * @param {any} [type] Item type - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - async getFileHash(url: any, type?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getFileHash(url, type, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions); + async getFileHash(url: any, type?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getFileHash(url, type, axiosOptions); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, } @@ -2505,18 +1627,11 @@ export const HashesApiFactory = function (configuration?: Configuration, basePat * @summary Get Hash Value * @param {any} url This is the path to the local file, must be prefixed by `file://` * @param {any} [type] Item type - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getFileHash(url: any, type?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise { - return localVarFp.getFileHash(url, type, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then((request) => request(axios, basePath)); + getFileHash(url: any, type?: any, axiosOptions?: any): AxiosPromise { + return localVarFp.getFileHash(url, type, axiosOptions).then((request) => request(axios, basePath)); }, }; }; @@ -2540,55 +1655,6 @@ export interface HashesApiGetFileHashRequest { * @memberof HashesApiGetFileHash */ readonly type?: any - - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof HashesApiGetFileHash - */ - readonly xPlexDeviceName?: any - - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof HashesApiGetFileHash - */ - readonly xPlexDevice?: any - - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof HashesApiGetFileHash - */ - readonly xPlexPlatformVersion?: any - - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof HashesApiGetFileHash - */ - readonly xPlexPlatform?: any - - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof HashesApiGetFileHash - */ - readonly xPlexProduct?: any - - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof HashesApiGetFileHash - */ - readonly xPlexProvides?: any - - /** - * Your application version number - * @type {any} - * @memberof HashesApiGetFileHash - */ - readonly xPlexVersion?: any } /** @@ -2607,7 +1673,7 @@ export class HashesApi extends BaseAPI { * @memberof HashesApi */ public getFileHash(requestParameters: HashesApiGetFileHashRequest, axiosOptions?: AxiosRequestConfig) { - return HashesApiFp(this.configuration).getFileHash(requestParameters.url, requestParameters.type, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then((request) => request(this.axios, this.basePath)); + return HashesApiFp(this.configuration).getFileHash(requestParameters.url, requestParameters.type, axiosOptions).then((request) => request(this.axios, this.basePath)); } } @@ -2623,17 +1689,10 @@ export const HubsApiAxiosParamCreator = function (configuration?: Configuration) * @summary Get Global Hubs * @param {any} [count] The number of items to return with each hub. * @param {any} [onlyTransient] Only return hubs which are \"transient\", meaning those which are prone to changing after media playback or addition (e.g. On Deck, or Recently Added). - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getGlobalHubs: async (count?: any, onlyTransient?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { + getGlobalHubs: async (count?: any, onlyTransient?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { const localVarPath = `/hubs`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -2646,10 +1705,16 @@ export const HubsApiAxiosParamCreator = function (configuration?: Configuration) const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + + // authentication Host required + await setApiKeyToObject(localVarHeaderParameter, "Host", configuration) + + // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Token", configuration) if (count !== undefined) { @@ -2660,34 +1725,6 @@ export const HubsApiAxiosParamCreator = function (configuration?: Configuration) localVarQueryParameter['onlyTransient'] = onlyTransient; } - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } - setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -2705,17 +1742,10 @@ export const HubsApiAxiosParamCreator = function (configuration?: Configuration) * @param {any} sectionId the Id of the library to query * @param {any} [count] The number of items to return with each hub. * @param {any} [onlyTransient] Only return hubs which are \"transient\", meaning those which are prone to changing after media playback or addition (e.g. On Deck, or Recently Added). - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getLibraryHubs: async (sectionId: any, count?: any, onlyTransient?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { + getLibraryHubs: async (sectionId: any, count?: any, onlyTransient?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { // verify required parameter 'sectionId' is not null or undefined assertParamExists('getLibraryHubs', 'sectionId', sectionId) const localVarPath = `/hubs/sections/{sectionId}` @@ -2731,10 +1761,16 @@ export const HubsApiAxiosParamCreator = function (configuration?: Configuration) const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + + // authentication Host required + await setApiKeyToObject(localVarHeaderParameter, "Host", configuration) + + // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Token", configuration) if (count !== undefined) { @@ -2745,34 +1781,6 @@ export const HubsApiAxiosParamCreator = function (configuration?: Configuration) localVarQueryParameter['onlyTransient'] = onlyTransient; } - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } - setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -2799,18 +1807,11 @@ export const HubsApiFp = function(configuration?: Configuration) { * @summary Get Global Hubs * @param {any} [count] The number of items to return with each hub. * @param {any} [onlyTransient] Only return hubs which are \"transient\", meaning those which are prone to changing after media playback or addition (e.g. On Deck, or Recently Added). - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - async getGlobalHubs(count?: any, onlyTransient?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getGlobalHubs(count, onlyTransient, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions); + async getGlobalHubs(count?: any, onlyTransient?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getGlobalHubs(count, onlyTransient, axiosOptions); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -2819,18 +1820,11 @@ export const HubsApiFp = function(configuration?: Configuration) { * @param {any} sectionId the Id of the library to query * @param {any} [count] The number of items to return with each hub. * @param {any} [onlyTransient] Only return hubs which are \"transient\", meaning those which are prone to changing after media playback or addition (e.g. On Deck, or Recently Added). - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - async getLibraryHubs(sectionId: any, count?: any, onlyTransient?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getLibraryHubs(sectionId, count, onlyTransient, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions); + async getLibraryHubs(sectionId: any, count?: any, onlyTransient?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getLibraryHubs(sectionId, count, onlyTransient, axiosOptions); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, } @@ -2848,18 +1842,11 @@ export const HubsApiFactory = function (configuration?: Configuration, basePath? * @summary Get Global Hubs * @param {any} [count] The number of items to return with each hub. * @param {any} [onlyTransient] Only return hubs which are \"transient\", meaning those which are prone to changing after media playback or addition (e.g. On Deck, or Recently Added). - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getGlobalHubs(count?: any, onlyTransient?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise { - return localVarFp.getGlobalHubs(count, onlyTransient, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then((request) => request(axios, basePath)); + getGlobalHubs(count?: any, onlyTransient?: any, axiosOptions?: any): AxiosPromise { + return localVarFp.getGlobalHubs(count, onlyTransient, axiosOptions).then((request) => request(axios, basePath)); }, /** * This endpoint will return a list of library specific hubs @@ -2867,18 +1854,11 @@ export const HubsApiFactory = function (configuration?: Configuration, basePath? * @param {any} sectionId the Id of the library to query * @param {any} [count] The number of items to return with each hub. * @param {any} [onlyTransient] Only return hubs which are \"transient\", meaning those which are prone to changing after media playback or addition (e.g. On Deck, or Recently Added). - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getLibraryHubs(sectionId: any, count?: any, onlyTransient?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise { - return localVarFp.getLibraryHubs(sectionId, count, onlyTransient, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then((request) => request(axios, basePath)); + getLibraryHubs(sectionId: any, count?: any, onlyTransient?: any, axiosOptions?: any): AxiosPromise { + return localVarFp.getLibraryHubs(sectionId, count, onlyTransient, axiosOptions).then((request) => request(axios, basePath)); }, }; }; @@ -2902,55 +1882,6 @@ export interface HubsApiGetGlobalHubsRequest { * @memberof HubsApiGetGlobalHubs */ readonly onlyTransient?: any - - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof HubsApiGetGlobalHubs - */ - readonly xPlexDeviceName?: any - - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof HubsApiGetGlobalHubs - */ - readonly xPlexDevice?: any - - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof HubsApiGetGlobalHubs - */ - readonly xPlexPlatformVersion?: any - - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof HubsApiGetGlobalHubs - */ - readonly xPlexPlatform?: any - - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof HubsApiGetGlobalHubs - */ - readonly xPlexProduct?: any - - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof HubsApiGetGlobalHubs - */ - readonly xPlexProvides?: any - - /** - * Your application version number - * @type {any} - * @memberof HubsApiGetGlobalHubs - */ - readonly xPlexVersion?: any } /** @@ -2979,55 +1910,6 @@ export interface HubsApiGetLibraryHubsRequest { * @memberof HubsApiGetLibraryHubs */ readonly onlyTransient?: any - - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof HubsApiGetLibraryHubs - */ - readonly xPlexDeviceName?: any - - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof HubsApiGetLibraryHubs - */ - readonly xPlexDevice?: any - - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof HubsApiGetLibraryHubs - */ - readonly xPlexPlatformVersion?: any - - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof HubsApiGetLibraryHubs - */ - readonly xPlexPlatform?: any - - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof HubsApiGetLibraryHubs - */ - readonly xPlexProduct?: any - - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof HubsApiGetLibraryHubs - */ - readonly xPlexProvides?: any - - /** - * Your application version number - * @type {any} - * @memberof HubsApiGetLibraryHubs - */ - readonly xPlexVersion?: any } /** @@ -3046,7 +1928,7 @@ export class HubsApi extends BaseAPI { * @memberof HubsApi */ public getGlobalHubs(requestParameters: HubsApiGetGlobalHubsRequest = {}, axiosOptions?: AxiosRequestConfig) { - return HubsApiFp(this.configuration).getGlobalHubs(requestParameters.count, requestParameters.onlyTransient, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then((request) => request(this.axios, this.basePath)); + return HubsApiFp(this.configuration).getGlobalHubs(requestParameters.count, requestParameters.onlyTransient, axiosOptions).then((request) => request(this.axios, this.basePath)); } /** @@ -3058,7 +1940,7 @@ export class HubsApi extends BaseAPI { * @memberof HubsApi */ public getLibraryHubs(requestParameters: HubsApiGetLibraryHubsRequest, axiosOptions?: AxiosRequestConfig) { - return HubsApiFp(this.configuration).getLibraryHubs(requestParameters.sectionId, requestParameters.count, requestParameters.onlyTransient, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then((request) => request(this.axios, this.basePath)); + return HubsApiFp(this.configuration).getLibraryHubs(requestParameters.sectionId, requestParameters.count, requestParameters.onlyTransient, axiosOptions).then((request) => request(this.axios, this.basePath)); } } @@ -3075,17 +1957,10 @@ export const LibraryApiAxiosParamCreator = function (configuration?: Configurati * @param {any} sectionId the Id of the library to query * @param {any} type item type * @param {any} [filter] the filter parameter - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getCommonLibraryItems: async (sectionId: any, type: any, filter?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { + getCommonLibraryItems: async (sectionId: any, type: any, filter?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { // verify required parameter 'sectionId' is not null or undefined assertParamExists('getCommonLibraryItems', 'sectionId', sectionId) // verify required parameter 'type' is not null or undefined @@ -3103,10 +1978,16 @@ export const LibraryApiAxiosParamCreator = function (configuration?: Configurati const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + + // authentication Host required + await setApiKeyToObject(localVarHeaderParameter, "Host", configuration) + + // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Token", configuration) if (type !== undefined) { @@ -3117,34 +1998,6 @@ export const LibraryApiAxiosParamCreator = function (configuration?: Configurati localVarQueryParameter['filter'] = filter; } - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } - setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -3162,17 +2015,10 @@ export const LibraryApiAxiosParamCreator = function (configuration?: Configurati * @param {any} sectionId the Id of the library to query * @param {any} type item type * @param {any} [filter] the filter parameter - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getLatestLibraryItems: async (sectionId: any, type: any, filter?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { + getLatestLibraryItems: async (sectionId: any, type: any, filter?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { // verify required parameter 'sectionId' is not null or undefined assertParamExists('getLatestLibraryItems', 'sectionId', sectionId) // verify required parameter 'type' is not null or undefined @@ -3190,10 +2036,16 @@ export const LibraryApiAxiosParamCreator = function (configuration?: Configurati const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + + // authentication Host required + await setApiKeyToObject(localVarHeaderParameter, "Host", configuration) + + // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Token", configuration) if (type !== undefined) { @@ -3204,34 +2056,6 @@ export const LibraryApiAxiosParamCreator = function (configuration?: Configurati localVarQueryParameter['filter'] = filter; } - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } - setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -3246,17 +2070,10 @@ export const LibraryApiAxiosParamCreator = function (configuration?: Configurati /** * A library section (commonly referred to as just a library) is a collection of media. Libraries are typed, and depending on their type provide either a flat or a hierarchical view of the media. For example, a music library has an artist > albums > tracks structure, whereas a movie library is flat. Libraries have features beyond just being a collection of media; for starters, they include information about supported types, filters and sorts. This allows a client to provide a rich interface around the media (e.g. allow sorting movies by release year). * @summary Get All Libraries - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getLibraries: async (xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { + getLibraries: async (axiosOptions: AxiosRequestConfig = {}): Promise => { const localVarPath = `/library/sections`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -3269,40 +2086,18 @@ export const LibraryApiAxiosParamCreator = function (configuration?: Configurati const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + + // authentication Host required + await setApiKeyToObject(localVarHeaderParameter, "Host", configuration) + + // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Token", configuration) - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } - setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -3319,17 +2114,10 @@ export const LibraryApiAxiosParamCreator = function (configuration?: Configurati * @summary Get Library Details * @param {any} sectionId the Id of the library to query * @param {any} [includeDetails] Whether or not to include details for a section (types, filters, and sorts). Only exists for backwards compatibility, media providers other than the server libraries have it on always. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getLibraryDetails: async (sectionId: any, includeDetails?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { + getLibraryDetails: async (sectionId: any, includeDetails?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { // verify required parameter 'sectionId' is not null or undefined assertParamExists('getLibraryDetails', 'sectionId', sectionId) const localVarPath = `/library/sections/{sectionId}` @@ -3345,44 +2133,22 @@ export const LibraryApiAxiosParamCreator = function (configuration?: Configurati const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + + // authentication Host required + await setApiKeyToObject(localVarHeaderParameter, "Host", configuration) + + // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Token", configuration) if (includeDetails !== undefined) { localVarQueryParameter['includeDetails'] = includeDetails; } - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } - setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -3400,17 +2166,10 @@ export const LibraryApiAxiosParamCreator = function (configuration?: Configurati * @param {any} sectionId the Id of the library to query * @param {any} [type] item type * @param {any} [filter] the filter parameter - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getLibraryItems: async (sectionId: any, type?: any, filter?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { + getLibraryItems: async (sectionId: any, type?: any, filter?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { // verify required parameter 'sectionId' is not null or undefined assertParamExists('getLibraryItems', 'sectionId', sectionId) const localVarPath = `/library/sections/{sectionId}/all` @@ -3426,10 +2185,16 @@ export const LibraryApiAxiosParamCreator = function (configuration?: Configurati const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + + // authentication Host required + await setApiKeyToObject(localVarHeaderParameter, "Host", configuration) + + // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Token", configuration) if (type !== undefined) { @@ -3440,34 +2205,6 @@ export const LibraryApiAxiosParamCreator = function (configuration?: Configurati localVarQueryParameter['filter'] = filter; } - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } - setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -3482,17 +2219,10 @@ export const LibraryApiAxiosParamCreator = function (configuration?: Configurati /** * This endpoint will return the on deck content. * @summary Get On Deck - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getOnDeck: async (xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { + getOnDeck: async (axiosOptions: AxiosRequestConfig = {}): Promise => { const localVarPath = `/library/onDeck`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -3505,40 +2235,18 @@ export const LibraryApiAxiosParamCreator = function (configuration?: Configurati const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + + // authentication Host required + await setApiKeyToObject(localVarHeaderParameter, "Host", configuration) + + // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Token", configuration) - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } - setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -3554,17 +2262,10 @@ export const LibraryApiAxiosParamCreator = function (configuration?: Configurati * This endpoint Refreshes the library. * @summary Refresh Library * @param {any} sectionId the Id of the library to refresh - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - refreshLibrary: async (sectionId: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { + refreshLibrary: async (sectionId: any, axiosOptions: AxiosRequestConfig = {}): Promise => { // verify required parameter 'sectionId' is not null or undefined assertParamExists('refreshLibrary', 'sectionId', sectionId) const localVarPath = `/library/sections/{sectionId}/refresh` @@ -3580,40 +2281,18 @@ export const LibraryApiAxiosParamCreator = function (configuration?: Configurati const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + + // authentication Host required + await setApiKeyToObject(localVarHeaderParameter, "Host", configuration) + + // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Token", configuration) - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } - setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -3641,18 +2320,11 @@ export const LibraryApiFp = function(configuration?: Configuration) { * @param {any} sectionId the Id of the library to query * @param {any} type item type * @param {any} [filter] the filter parameter - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - async getCommonLibraryItems(sectionId: any, type: any, filter?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getCommonLibraryItems(sectionId, type, filter, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions); + async getCommonLibraryItems(sectionId: any, type: any, filter?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getCommonLibraryItems(sectionId, type, filter, axiosOptions); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -3661,35 +2333,21 @@ export const LibraryApiFp = function(configuration?: Configuration) { * @param {any} sectionId the Id of the library to query * @param {any} type item type * @param {any} [filter] the filter parameter - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - async getLatestLibraryItems(sectionId: any, type: any, filter?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getLatestLibraryItems(sectionId, type, filter, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions); + async getLatestLibraryItems(sectionId: any, type: any, filter?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getLatestLibraryItems(sectionId, type, filter, axiosOptions); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** * A library section (commonly referred to as just a library) is a collection of media. Libraries are typed, and depending on their type provide either a flat or a hierarchical view of the media. For example, a music library has an artist > albums > tracks structure, whereas a movie library is flat. Libraries have features beyond just being a collection of media; for starters, they include information about supported types, filters and sorts. This allows a client to provide a rich interface around the media (e.g. allow sorting movies by release year). * @summary Get All Libraries - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - async getLibraries(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getLibraries(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions); + async getLibraries(axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getLibraries(axiosOptions); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -3697,18 +2355,11 @@ export const LibraryApiFp = function(configuration?: Configuration) { * @summary Get Library Details * @param {any} sectionId the Id of the library to query * @param {any} [includeDetails] Whether or not to include details for a section (types, filters, and sorts). Only exists for backwards compatibility, media providers other than the server libraries have it on always. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - async getLibraryDetails(sectionId: any, includeDetails?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getLibraryDetails(sectionId, includeDetails, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions); + async getLibraryDetails(sectionId: any, includeDetails?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getLibraryDetails(sectionId, includeDetails, axiosOptions); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -3717,53 +2368,32 @@ export const LibraryApiFp = function(configuration?: Configuration) { * @param {any} sectionId the Id of the library to query * @param {any} [type] item type * @param {any} [filter] the filter parameter - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - async getLibraryItems(sectionId: any, type?: any, filter?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getLibraryItems(sectionId, type, filter, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions); + async getLibraryItems(sectionId: any, type?: any, filter?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getLibraryItems(sectionId, type, filter, axiosOptions); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** * This endpoint will return the on deck content. * @summary Get On Deck - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - async getOnDeck(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getOnDeck(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions); + async getOnDeck(axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getOnDeck(axiosOptions); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** * This endpoint Refreshes the library. * @summary Refresh Library * @param {any} sectionId the Id of the library to refresh - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - async refreshLibrary(sectionId: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.refreshLibrary(sectionId, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions); + async refreshLibrary(sectionId: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.refreshLibrary(sectionId, axiosOptions); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, } @@ -3782,18 +2412,11 @@ export const LibraryApiFactory = function (configuration?: Configuration, basePa * @param {any} sectionId the Id of the library to query * @param {any} type item type * @param {any} [filter] the filter parameter - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getCommonLibraryItems(sectionId: any, type: any, filter?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise { - return localVarFp.getCommonLibraryItems(sectionId, type, filter, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then((request) => request(axios, basePath)); + getCommonLibraryItems(sectionId: any, type: any, filter?: any, axiosOptions?: any): AxiosPromise { + return localVarFp.getCommonLibraryItems(sectionId, type, filter, axiosOptions).then((request) => request(axios, basePath)); }, /** * This endpoint will return a list of the latest library items filtered by the filter and type provided @@ -3801,52 +2424,31 @@ export const LibraryApiFactory = function (configuration?: Configuration, basePa * @param {any} sectionId the Id of the library to query * @param {any} type item type * @param {any} [filter] the filter parameter - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getLatestLibraryItems(sectionId: any, type: any, filter?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise { - return localVarFp.getLatestLibraryItems(sectionId, type, filter, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then((request) => request(axios, basePath)); + getLatestLibraryItems(sectionId: any, type: any, filter?: any, axiosOptions?: any): AxiosPromise { + return localVarFp.getLatestLibraryItems(sectionId, type, filter, axiosOptions).then((request) => request(axios, basePath)); }, /** * A library section (commonly referred to as just a library) is a collection of media. Libraries are typed, and depending on their type provide either a flat or a hierarchical view of the media. For example, a music library has an artist > albums > tracks structure, whereas a movie library is flat. Libraries have features beyond just being a collection of media; for starters, they include information about supported types, filters and sorts. This allows a client to provide a rich interface around the media (e.g. allow sorting movies by release year). * @summary Get All Libraries - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getLibraries(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise { - return localVarFp.getLibraries(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then((request) => request(axios, basePath)); + getLibraries(axiosOptions?: any): AxiosPromise { + return localVarFp.getLibraries(axiosOptions).then((request) => request(axios, basePath)); }, /** * Returns details for the library. This can be thought of as an interstitial endpoint because it contains information about the library, rather than content itself. These details are: - A list of `Directory` objects: These used to be used by clients to build a menuing system. There are four flavors of directory found here: - Primary: (e.g. all, On Deck) These are still used in some clients to provide \"shortcuts\" to subsets of media. However, with the exception of On Deck, all of them can be created by media queries, and the desire is to allow these to be customized by users. - Secondary: These are marked with `secondary=\"1\"` and were used by old clients to provide nested menus allowing for primative (but structured) navigation. - Special: There is a By Folder entry which allows browsing the media by the underlying filesystem structure, and there\'s a completely obsolete entry marked `search=\"1\"` which used to be used to allow clients to build search dialogs on the fly. - A list of `Type` objects: These represent the types of things found in this library, and for each one, a list of `Filter` and `Sort` objects. These can be used to build rich controls around a grid of media to allow filtering and organizing. Note that these filters and sorts are optional, and without them, the client won\'t render any filtering controls. The `Type` object contains: - `key`: This provides the root endpoint returning the actual media list for the type. - `type`: This is the metadata type for the type (if a standard Plex type). - `title`: The title for for the content of this type (e.g. \"Movies\"). - Each `Filter` object contains a description of the filter. Note that it is not an exhaustive list of the full media query language, but an inportant subset useful for top-level API. - `filter`: This represents the filter name used for the filter, which can be used to construct complex media queries with. - `filterType`: This is either `string`, `integer`, or `boolean`, and describes the type of values used for the filter. - `key`: This provides the endpoint where the possible range of values for the filter can be retrieved (e.g. for a \"Genre\" filter, it returns a list of all the genres in the library). This will include a `type` argument that matches the metadata type of the Type element. - `title`: The title for the filter. - Each `Sort` object contains a description of the sort field. - `defaultDirection`: Can be either `asc` or `desc`, and specifies the default direction for the sort field (e.g. titles default to alphabetically ascending). - `descKey` and `key`: Contains the parameters passed to the `sort=...` media query for each direction of the sort. - `title`: The title of the field. * @summary Get Library Details * @param {any} sectionId the Id of the library to query * @param {any} [includeDetails] Whether or not to include details for a section (types, filters, and sorts). Only exists for backwards compatibility, media providers other than the server libraries have it on always. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getLibraryDetails(sectionId: any, includeDetails?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise { - return localVarFp.getLibraryDetails(sectionId, includeDetails, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then((request) => request(axios, basePath)); + getLibraryDetails(sectionId: any, includeDetails?: any, axiosOptions?: any): AxiosPromise { + return localVarFp.getLibraryDetails(sectionId, includeDetails, axiosOptions).then((request) => request(axios, basePath)); }, /** * This endpoint will return a list of library items filtered by the filter and type provided @@ -3854,51 +2456,30 @@ export const LibraryApiFactory = function (configuration?: Configuration, basePa * @param {any} sectionId the Id of the library to query * @param {any} [type] item type * @param {any} [filter] the filter parameter - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getLibraryItems(sectionId: any, type?: any, filter?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise { - return localVarFp.getLibraryItems(sectionId, type, filter, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then((request) => request(axios, basePath)); + getLibraryItems(sectionId: any, type?: any, filter?: any, axiosOptions?: any): AxiosPromise { + return localVarFp.getLibraryItems(sectionId, type, filter, axiosOptions).then((request) => request(axios, basePath)); }, /** * This endpoint will return the on deck content. * @summary Get On Deck - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getOnDeck(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise { - return localVarFp.getOnDeck(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then((request) => request(axios, basePath)); + getOnDeck(axiosOptions?: any): AxiosPromise { + return localVarFp.getOnDeck(axiosOptions).then((request) => request(axios, basePath)); }, /** * This endpoint Refreshes the library. * @summary Refresh Library * @param {any} sectionId the Id of the library to refresh - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - refreshLibrary(sectionId: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise { - return localVarFp.refreshLibrary(sectionId, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then((request) => request(axios, basePath)); + refreshLibrary(sectionId: any, axiosOptions?: any): AxiosPromise { + return localVarFp.refreshLibrary(sectionId, axiosOptions).then((request) => request(axios, basePath)); }, }; }; @@ -3929,55 +2510,6 @@ export interface LibraryApiGetCommonLibraryItemsRequest { * @memberof LibraryApiGetCommonLibraryItems */ readonly filter?: any - - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof LibraryApiGetCommonLibraryItems - */ - readonly xPlexDeviceName?: any - - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof LibraryApiGetCommonLibraryItems - */ - readonly xPlexDevice?: any - - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof LibraryApiGetCommonLibraryItems - */ - readonly xPlexPlatformVersion?: any - - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof LibraryApiGetCommonLibraryItems - */ - readonly xPlexPlatform?: any - - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof LibraryApiGetCommonLibraryItems - */ - readonly xPlexProduct?: any - - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof LibraryApiGetCommonLibraryItems - */ - readonly xPlexProvides?: any - - /** - * Your application version number - * @type {any} - * @memberof LibraryApiGetCommonLibraryItems - */ - readonly xPlexVersion?: any } /** @@ -4006,111 +2538,6 @@ export interface LibraryApiGetLatestLibraryItemsRequest { * @memberof LibraryApiGetLatestLibraryItems */ readonly filter?: any - - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof LibraryApiGetLatestLibraryItems - */ - readonly xPlexDeviceName?: any - - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof LibraryApiGetLatestLibraryItems - */ - readonly xPlexDevice?: any - - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof LibraryApiGetLatestLibraryItems - */ - readonly xPlexPlatformVersion?: any - - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof LibraryApiGetLatestLibraryItems - */ - readonly xPlexPlatform?: any - - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof LibraryApiGetLatestLibraryItems - */ - readonly xPlexProduct?: any - - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof LibraryApiGetLatestLibraryItems - */ - readonly xPlexProvides?: any - - /** - * Your application version number - * @type {any} - * @memberof LibraryApiGetLatestLibraryItems - */ - readonly xPlexVersion?: any -} - -/** - * Request parameters for getLibraries operation in LibraryApi. - * @export - * @interface LibraryApiGetLibrariesRequest - */ -export interface LibraryApiGetLibrariesRequest { - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof LibraryApiGetLibraries - */ - readonly xPlexDeviceName?: any - - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof LibraryApiGetLibraries - */ - readonly xPlexDevice?: any - - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof LibraryApiGetLibraries - */ - readonly xPlexPlatformVersion?: any - - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof LibraryApiGetLibraries - */ - readonly xPlexPlatform?: any - - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof LibraryApiGetLibraries - */ - readonly xPlexProduct?: any - - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof LibraryApiGetLibraries - */ - readonly xPlexProvides?: any - - /** - * Your application version number - * @type {any} - * @memberof LibraryApiGetLibraries - */ - readonly xPlexVersion?: any } /** @@ -4132,55 +2559,6 @@ export interface LibraryApiGetLibraryDetailsRequest { * @memberof LibraryApiGetLibraryDetails */ readonly includeDetails?: any - - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof LibraryApiGetLibraryDetails - */ - readonly xPlexDeviceName?: any - - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof LibraryApiGetLibraryDetails - */ - readonly xPlexDevice?: any - - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof LibraryApiGetLibraryDetails - */ - readonly xPlexPlatformVersion?: any - - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof LibraryApiGetLibraryDetails - */ - readonly xPlexPlatform?: any - - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof LibraryApiGetLibraryDetails - */ - readonly xPlexProduct?: any - - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof LibraryApiGetLibraryDetails - */ - readonly xPlexProvides?: any - - /** - * Your application version number - * @type {any} - * @memberof LibraryApiGetLibraryDetails - */ - readonly xPlexVersion?: any } /** @@ -4209,111 +2587,6 @@ export interface LibraryApiGetLibraryItemsRequest { * @memberof LibraryApiGetLibraryItems */ readonly filter?: any - - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof LibraryApiGetLibraryItems - */ - readonly xPlexDeviceName?: any - - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof LibraryApiGetLibraryItems - */ - readonly xPlexDevice?: any - - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof LibraryApiGetLibraryItems - */ - readonly xPlexPlatformVersion?: any - - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof LibraryApiGetLibraryItems - */ - readonly xPlexPlatform?: any - - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof LibraryApiGetLibraryItems - */ - readonly xPlexProduct?: any - - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof LibraryApiGetLibraryItems - */ - readonly xPlexProvides?: any - - /** - * Your application version number - * @type {any} - * @memberof LibraryApiGetLibraryItems - */ - readonly xPlexVersion?: any -} - -/** - * Request parameters for getOnDeck operation in LibraryApi. - * @export - * @interface LibraryApiGetOnDeckRequest - */ -export interface LibraryApiGetOnDeckRequest { - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof LibraryApiGetOnDeck - */ - readonly xPlexDeviceName?: any - - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof LibraryApiGetOnDeck - */ - readonly xPlexDevice?: any - - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof LibraryApiGetOnDeck - */ - readonly xPlexPlatformVersion?: any - - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof LibraryApiGetOnDeck - */ - readonly xPlexPlatform?: any - - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof LibraryApiGetOnDeck - */ - readonly xPlexProduct?: any - - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof LibraryApiGetOnDeck - */ - readonly xPlexProvides?: any - - /** - * Your application version number - * @type {any} - * @memberof LibraryApiGetOnDeck - */ - readonly xPlexVersion?: any } /** @@ -4328,55 +2601,6 @@ export interface LibraryApiRefreshLibraryRequest { * @memberof LibraryApiRefreshLibrary */ readonly sectionId: any - - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof LibraryApiRefreshLibrary - */ - readonly xPlexDeviceName?: any - - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof LibraryApiRefreshLibrary - */ - readonly xPlexDevice?: any - - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof LibraryApiRefreshLibrary - */ - readonly xPlexPlatformVersion?: any - - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof LibraryApiRefreshLibrary - */ - readonly xPlexPlatform?: any - - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof LibraryApiRefreshLibrary - */ - readonly xPlexProduct?: any - - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof LibraryApiRefreshLibrary - */ - readonly xPlexProvides?: any - - /** - * Your application version number - * @type {any} - * @memberof LibraryApiRefreshLibrary - */ - readonly xPlexVersion?: any } /** @@ -4395,7 +2619,7 @@ export class LibraryApi extends BaseAPI { * @memberof LibraryApi */ public getCommonLibraryItems(requestParameters: LibraryApiGetCommonLibraryItemsRequest, axiosOptions?: AxiosRequestConfig) { - return LibraryApiFp(this.configuration).getCommonLibraryItems(requestParameters.sectionId, requestParameters.type, requestParameters.filter, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then((request) => request(this.axios, this.basePath)); + return LibraryApiFp(this.configuration).getCommonLibraryItems(requestParameters.sectionId, requestParameters.type, requestParameters.filter, axiosOptions).then((request) => request(this.axios, this.basePath)); } /** @@ -4407,19 +2631,18 @@ export class LibraryApi extends BaseAPI { * @memberof LibraryApi */ public getLatestLibraryItems(requestParameters: LibraryApiGetLatestLibraryItemsRequest, axiosOptions?: AxiosRequestConfig) { - return LibraryApiFp(this.configuration).getLatestLibraryItems(requestParameters.sectionId, requestParameters.type, requestParameters.filter, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then((request) => request(this.axios, this.basePath)); + return LibraryApiFp(this.configuration).getLatestLibraryItems(requestParameters.sectionId, requestParameters.type, requestParameters.filter, axiosOptions).then((request) => request(this.axios, this.basePath)); } /** * A library section (commonly referred to as just a library) is a collection of media. Libraries are typed, and depending on their type provide either a flat or a hierarchical view of the media. For example, a music library has an artist > albums > tracks structure, whereas a movie library is flat. Libraries have features beyond just being a collection of media; for starters, they include information about supported types, filters and sorts. This allows a client to provide a rich interface around the media (e.g. allow sorting movies by release year). * @summary Get All Libraries - * @param {LibraryApiGetLibrariesRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof LibraryApi */ - public getLibraries(requestParameters: LibraryApiGetLibrariesRequest = {}, axiosOptions?: AxiosRequestConfig) { - return LibraryApiFp(this.configuration).getLibraries(requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then((request) => request(this.axios, this.basePath)); + public getLibraries(axiosOptions?: AxiosRequestConfig) { + return LibraryApiFp(this.configuration).getLibraries(axiosOptions).then((request) => request(this.axios, this.basePath)); } /** @@ -4431,7 +2654,7 @@ export class LibraryApi extends BaseAPI { * @memberof LibraryApi */ public getLibraryDetails(requestParameters: LibraryApiGetLibraryDetailsRequest, axiosOptions?: AxiosRequestConfig) { - return LibraryApiFp(this.configuration).getLibraryDetails(requestParameters.sectionId, requestParameters.includeDetails, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then((request) => request(this.axios, this.basePath)); + return LibraryApiFp(this.configuration).getLibraryDetails(requestParameters.sectionId, requestParameters.includeDetails, axiosOptions).then((request) => request(this.axios, this.basePath)); } /** @@ -4443,19 +2666,18 @@ export class LibraryApi extends BaseAPI { * @memberof LibraryApi */ public getLibraryItems(requestParameters: LibraryApiGetLibraryItemsRequest, axiosOptions?: AxiosRequestConfig) { - return LibraryApiFp(this.configuration).getLibraryItems(requestParameters.sectionId, requestParameters.type, requestParameters.filter, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then((request) => request(this.axios, this.basePath)); + return LibraryApiFp(this.configuration).getLibraryItems(requestParameters.sectionId, requestParameters.type, requestParameters.filter, axiosOptions).then((request) => request(this.axios, this.basePath)); } /** * This endpoint will return the on deck content. * @summary Get On Deck - * @param {LibraryApiGetOnDeckRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof LibraryApi */ - public getOnDeck(requestParameters: LibraryApiGetOnDeckRequest = {}, axiosOptions?: AxiosRequestConfig) { - return LibraryApiFp(this.configuration).getOnDeck(requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then((request) => request(this.axios, this.basePath)); + public getOnDeck(axiosOptions?: AxiosRequestConfig) { + return LibraryApiFp(this.configuration).getOnDeck(axiosOptions).then((request) => request(this.axios, this.basePath)); } /** @@ -4467,7 +2689,7 @@ export class LibraryApi extends BaseAPI { * @memberof LibraryApi */ public refreshLibrary(requestParameters: LibraryApiRefreshLibraryRequest, axiosOptions?: AxiosRequestConfig) { - return LibraryApiFp(this.configuration).refreshLibrary(requestParameters.sectionId, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then((request) => request(this.axios, this.basePath)); + return LibraryApiFp(this.configuration).refreshLibrary(requestParameters.sectionId, axiosOptions).then((request) => request(this.axios, this.basePath)); } } @@ -4481,17 +2703,10 @@ export const LogApiAxiosParamCreator = function (configuration?: Configuration) /** * This endpoint will enable all Plex Media Serverlogs to be sent to the Papertrail networked logging site for a period of time. * @summary Enabling Papertrail - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - enablePaperTrail: async (xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { + enablePaperTrail: async (axiosOptions: AxiosRequestConfig = {}): Promise => { const localVarPath = `/log/networked`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -4504,40 +2719,18 @@ export const LogApiAxiosParamCreator = function (configuration?: Configuration) const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + + // authentication Host required + await setApiKeyToObject(localVarHeaderParameter, "Host", configuration) + + // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Token", configuration) - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } - setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -4555,17 +2748,10 @@ export const LogApiAxiosParamCreator = function (configuration?: Configuration) * @param {any} level An integer log level to write to the PMS log with. 0: Error 1: Warning 2: Info 3: Debug 4: Verbose * @param {any} message The text of the message to write to the log. * @param {any} source a string indicating the source of the message. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - logLine: async (level: any, message: any, source: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { + logLine: async (level: any, message: any, source: any, axiosOptions: AxiosRequestConfig = {}): Promise => { // verify required parameter 'level' is not null or undefined assertParamExists('logLine', 'level', level) // verify required parameter 'message' is not null or undefined @@ -4584,10 +2770,16 @@ export const LogApiAxiosParamCreator = function (configuration?: Configuration) const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + + // authentication Host required + await setApiKeyToObject(localVarHeaderParameter, "Host", configuration) + + // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Token", configuration) if (level !== undefined) { @@ -4602,34 +2794,6 @@ export const LogApiAxiosParamCreator = function (configuration?: Configuration) localVarQueryParameter['source'] = source; } - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } - setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -4644,17 +2808,10 @@ export const LogApiAxiosParamCreator = function (configuration?: Configuration) /** * This endpoint will write multiple lines to the main Plex Media Server log in a single request. It takes a set of query strings as would normally sent to the above GET endpoint as a linefeed-separated block of POST data. The parameters for each query string match as above. * @summary Logging a multi-line message - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - logMultiLine: async (xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { + logMultiLine: async (axiosOptions: AxiosRequestConfig = {}): Promise => { const localVarPath = `/log`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -4667,40 +2824,18 @@ export const LogApiAxiosParamCreator = function (configuration?: Configuration) const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + + // authentication Host required + await setApiKeyToObject(localVarHeaderParameter, "Host", configuration) + + // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Token", configuration) - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } - setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -4725,18 +2860,11 @@ export const LogApiFp = function(configuration?: Configuration) { /** * This endpoint will enable all Plex Media Serverlogs to be sent to the Papertrail networked logging site for a period of time. * @summary Enabling Papertrail - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - async enablePaperTrail(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.enablePaperTrail(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions); + async enablePaperTrail(axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.enablePaperTrail(axiosOptions); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -4745,35 +2873,21 @@ export const LogApiFp = function(configuration?: Configuration) { * @param {any} level An integer log level to write to the PMS log with. 0: Error 1: Warning 2: Info 3: Debug 4: Verbose * @param {any} message The text of the message to write to the log. * @param {any} source a string indicating the source of the message. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - async logLine(level: any, message: any, source: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.logLine(level, message, source, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions); + async logLine(level: any, message: any, source: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.logLine(level, message, source, axiosOptions); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** * This endpoint will write multiple lines to the main Plex Media Server log in a single request. It takes a set of query strings as would normally sent to the above GET endpoint as a linefeed-separated block of POST data. The parameters for each query string match as above. * @summary Logging a multi-line message - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - async logMultiLine(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.logMultiLine(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions); + async logMultiLine(axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.logMultiLine(axiosOptions); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, } @@ -4789,18 +2903,11 @@ export const LogApiFactory = function (configuration?: Configuration, basePath?: /** * This endpoint will enable all Plex Media Serverlogs to be sent to the Papertrail networked logging site for a period of time. * @summary Enabling Papertrail - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - enablePaperTrail(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise { - return localVarFp.enablePaperTrail(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then((request) => request(axios, basePath)); + enablePaperTrail(axiosOptions?: any): AxiosPromise { + return localVarFp.enablePaperTrail(axiosOptions).then((request) => request(axios, basePath)); }, /** * This endpoint will write a single-line log message, including a level and source to the main Plex Media Server log. @@ -4808,94 +2915,24 @@ export const LogApiFactory = function (configuration?: Configuration, basePath?: * @param {any} level An integer log level to write to the PMS log with. 0: Error 1: Warning 2: Info 3: Debug 4: Verbose * @param {any} message The text of the message to write to the log. * @param {any} source a string indicating the source of the message. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - logLine(level: any, message: any, source: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise { - return localVarFp.logLine(level, message, source, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then((request) => request(axios, basePath)); + logLine(level: any, message: any, source: any, axiosOptions?: any): AxiosPromise { + return localVarFp.logLine(level, message, source, axiosOptions).then((request) => request(axios, basePath)); }, /** * This endpoint will write multiple lines to the main Plex Media Server log in a single request. It takes a set of query strings as would normally sent to the above GET endpoint as a linefeed-separated block of POST data. The parameters for each query string match as above. * @summary Logging a multi-line message - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - logMultiLine(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise { - return localVarFp.logMultiLine(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then((request) => request(axios, basePath)); + logMultiLine(axiosOptions?: any): AxiosPromise { + return localVarFp.logMultiLine(axiosOptions).then((request) => request(axios, basePath)); }, }; }; -/** - * Request parameters for enablePaperTrail operation in LogApi. - * @export - * @interface LogApiEnablePaperTrailRequest - */ -export interface LogApiEnablePaperTrailRequest { - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof LogApiEnablePaperTrail - */ - readonly xPlexDeviceName?: any - - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof LogApiEnablePaperTrail - */ - readonly xPlexDevice?: any - - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof LogApiEnablePaperTrail - */ - readonly xPlexPlatformVersion?: any - - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof LogApiEnablePaperTrail - */ - readonly xPlexPlatform?: any - - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof LogApiEnablePaperTrail - */ - readonly xPlexProduct?: any - - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof LogApiEnablePaperTrail - */ - readonly xPlexProvides?: any - - /** - * Your application version number - * @type {any} - * @memberof LogApiEnablePaperTrail - */ - readonly xPlexVersion?: any -} - /** * Request parameters for logLine operation in LogApi. * @export @@ -4922,111 +2959,6 @@ export interface LogApiLogLineRequest { * @memberof LogApiLogLine */ readonly source: any - - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof LogApiLogLine - */ - readonly xPlexDeviceName?: any - - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof LogApiLogLine - */ - readonly xPlexDevice?: any - - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof LogApiLogLine - */ - readonly xPlexPlatformVersion?: any - - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof LogApiLogLine - */ - readonly xPlexPlatform?: any - - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof LogApiLogLine - */ - readonly xPlexProduct?: any - - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof LogApiLogLine - */ - readonly xPlexProvides?: any - - /** - * Your application version number - * @type {any} - * @memberof LogApiLogLine - */ - readonly xPlexVersion?: any -} - -/** - * Request parameters for logMultiLine operation in LogApi. - * @export - * @interface LogApiLogMultiLineRequest - */ -export interface LogApiLogMultiLineRequest { - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof LogApiLogMultiLine - */ - readonly xPlexDeviceName?: any - - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof LogApiLogMultiLine - */ - readonly xPlexDevice?: any - - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof LogApiLogMultiLine - */ - readonly xPlexPlatformVersion?: any - - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof LogApiLogMultiLine - */ - readonly xPlexPlatform?: any - - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof LogApiLogMultiLine - */ - readonly xPlexProduct?: any - - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof LogApiLogMultiLine - */ - readonly xPlexProvides?: any - - /** - * Your application version number - * @type {any} - * @memberof LogApiLogMultiLine - */ - readonly xPlexVersion?: any } /** @@ -5039,13 +2971,12 @@ export class LogApi extends BaseAPI { /** * This endpoint will enable all Plex Media Serverlogs to be sent to the Papertrail networked logging site for a period of time. * @summary Enabling Papertrail - * @param {LogApiEnablePaperTrailRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof LogApi */ - public enablePaperTrail(requestParameters: LogApiEnablePaperTrailRequest = {}, axiosOptions?: AxiosRequestConfig) { - return LogApiFp(this.configuration).enablePaperTrail(requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then((request) => request(this.axios, this.basePath)); + public enablePaperTrail(axiosOptions?: AxiosRequestConfig) { + return LogApiFp(this.configuration).enablePaperTrail(axiosOptions).then((request) => request(this.axios, this.basePath)); } /** @@ -5057,19 +2988,18 @@ export class LogApi extends BaseAPI { * @memberof LogApi */ public logLine(requestParameters: LogApiLogLineRequest, axiosOptions?: AxiosRequestConfig) { - return LogApiFp(this.configuration).logLine(requestParameters.level, requestParameters.message, requestParameters.source, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then((request) => request(this.axios, this.basePath)); + return LogApiFp(this.configuration).logLine(requestParameters.level, requestParameters.message, requestParameters.source, axiosOptions).then((request) => request(this.axios, this.basePath)); } /** * This endpoint will write multiple lines to the main Plex Media Server log in a single request. It takes a set of query strings as would normally sent to the above GET endpoint as a linefeed-separated block of POST data. The parameters for each query string match as above. * @summary Logging a multi-line message - * @param {LogApiLogMultiLineRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof LogApi */ - public logMultiLine(requestParameters: LogApiLogMultiLineRequest = {}, axiosOptions?: AxiosRequestConfig) { - return LogApiFp(this.configuration).logMultiLine(requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then((request) => request(this.axios, this.basePath)); + public logMultiLine(axiosOptions?: AxiosRequestConfig) { + return LogApiFp(this.configuration).logMultiLine(axiosOptions).then((request) => request(this.axios, this.basePath)); } } @@ -5086,17 +3016,10 @@ export const PlaylistsApiAxiosParamCreator = function (configuration?: Configura * @param {any} playlistID the ID of the playlist * @param {any} uri the content URI for the playlist * @param {any} playQueueID the play queue to add to a playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - addPlaylistContents: async (playlistID: any, uri: any, playQueueID: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { + addPlaylistContents: async (playlistID: any, uri: any, playQueueID: any, axiosOptions: AxiosRequestConfig = {}): Promise => { // verify required parameter 'playlistID' is not null or undefined assertParamExists('addPlaylistContents', 'playlistID', playlistID) // verify required parameter 'uri' is not null or undefined @@ -5116,10 +3039,16 @@ export const PlaylistsApiAxiosParamCreator = function (configuration?: Configura const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + + // authentication Host required + await setApiKeyToObject(localVarHeaderParameter, "Host", configuration) + + // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Token", configuration) if (uri !== undefined) { @@ -5130,34 +3059,6 @@ export const PlaylistsApiAxiosParamCreator = function (configuration?: Configura localVarQueryParameter['playQueueID'] = playQueueID; } - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } - setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -5173,17 +3074,10 @@ export const PlaylistsApiAxiosParamCreator = function (configuration?: Configura * Clears a playlist, only works with dumb playlists. Returns the playlist. * @summary Delete Playlist Contents * @param {any} playlistID the ID of the playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - clearPlaylistContents: async (playlistID: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { + clearPlaylistContents: async (playlistID: any, axiosOptions: AxiosRequestConfig = {}): Promise => { // verify required parameter 'playlistID' is not null or undefined assertParamExists('clearPlaylistContents', 'playlistID', playlistID) const localVarPath = `/playlists/{playlistID}/items` @@ -5199,40 +3093,18 @@ export const PlaylistsApiAxiosParamCreator = function (configuration?: Configura const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + + // authentication Host required + await setApiKeyToObject(localVarHeaderParameter, "Host", configuration) + + // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Token", configuration) - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } - setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -5252,17 +3124,10 @@ export const PlaylistsApiAxiosParamCreator = function (configuration?: Configura * @param {any} smart whether the playlist is smart or not * @param {any} [uri] the content URI for the playlist * @param {any} [playQueueID] the play queue to copy to a playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - createPlaylist: async (title: any, type: any, smart: any, uri?: any, playQueueID?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { + createPlaylist: async (title: any, type: any, smart: any, uri?: any, playQueueID?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { // verify required parameter 'title' is not null or undefined assertParamExists('createPlaylist', 'title', title) // verify required parameter 'type' is not null or undefined @@ -5281,10 +3146,16 @@ export const PlaylistsApiAxiosParamCreator = function (configuration?: Configura const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + + // authentication Host required + await setApiKeyToObject(localVarHeaderParameter, "Host", configuration) + + // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Token", configuration) if (title !== undefined) { @@ -5307,34 +3178,6 @@ export const PlaylistsApiAxiosParamCreator = function (configuration?: Configura localVarQueryParameter['playQueueID'] = playQueueID; } - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } - setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -5350,17 +3193,10 @@ export const PlaylistsApiAxiosParamCreator = function (configuration?: Configura * This endpoint will delete a playlist * @summary Deletes a Playlist * @param {any} playlistID the ID of the playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - deletePlaylist: async (playlistID: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { + deletePlaylist: async (playlistID: any, axiosOptions: AxiosRequestConfig = {}): Promise => { // verify required parameter 'playlistID' is not null or undefined assertParamExists('deletePlaylist', 'playlistID', playlistID) const localVarPath = `/playlists/{playlistID}` @@ -5376,40 +3212,18 @@ export const PlaylistsApiAxiosParamCreator = function (configuration?: Configura const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + + // authentication Host required + await setApiKeyToObject(localVarHeaderParameter, "Host", configuration) + + // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Token", configuration) - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } - setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -5425,17 +3239,10 @@ export const PlaylistsApiAxiosParamCreator = function (configuration?: Configura * Gets detailed metadata for a playlist. A playlist for many purposes (rating, editing metadata, tagging), can be treated like a regular metadata item: Smart playlist details contain the `content` attribute. This is the content URI for the generator. This can then be parsed by a client to provide smart playlist editing. * @summary Retrieve Playlist * @param {any} playlistID the ID of the playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getPlaylist: async (playlistID: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { + getPlaylist: async (playlistID: any, axiosOptions: AxiosRequestConfig = {}): Promise => { // verify required parameter 'playlistID' is not null or undefined assertParamExists('getPlaylist', 'playlistID', playlistID) const localVarPath = `/playlists/{playlistID}` @@ -5451,40 +3258,18 @@ export const PlaylistsApiAxiosParamCreator = function (configuration?: Configura const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + + // authentication Host required + await setApiKeyToObject(localVarHeaderParameter, "Host", configuration) + + // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Token", configuration) - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } - setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -5501,17 +3286,10 @@ export const PlaylistsApiAxiosParamCreator = function (configuration?: Configura * @summary Retrieve Playlist Contents * @param {any} playlistID the ID of the playlist * @param {any} type the metadata type of the item to return - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getPlaylistContents: async (playlistID: any, type: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { + getPlaylistContents: async (playlistID: any, type: any, axiosOptions: AxiosRequestConfig = {}): Promise => { // verify required parameter 'playlistID' is not null or undefined assertParamExists('getPlaylistContents', 'playlistID', playlistID) // verify required parameter 'type' is not null or undefined @@ -5529,44 +3307,22 @@ export const PlaylistsApiAxiosParamCreator = function (configuration?: Configura const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + + // authentication Host required + await setApiKeyToObject(localVarHeaderParameter, "Host", configuration) + + // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Token", configuration) if (type !== undefined) { localVarQueryParameter['type'] = type; } - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } - setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -5583,17 +3339,10 @@ export const PlaylistsApiAxiosParamCreator = function (configuration?: Configura * @summary Get All Playlists * @param {any} [playlistType] limit to a type of playlist. * @param {any} [smart] type of playlists to return (default is all). - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getPlaylists: async (playlistType?: any, smart?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { + getPlaylists: async (playlistType?: any, smart?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { const localVarPath = `/playlists/all`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -5606,10 +3355,16 @@ export const PlaylistsApiAxiosParamCreator = function (configuration?: Configura const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + + // authentication Host required + await setApiKeyToObject(localVarHeaderParameter, "Host", configuration) + + // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Token", configuration) if (playlistType !== undefined) { @@ -5620,34 +3375,6 @@ export const PlaylistsApiAxiosParamCreator = function (configuration?: Configura localVarQueryParameter['smart'] = smart; } - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } - setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -5682,10 +3409,16 @@ export const PlaylistsApiAxiosParamCreator = function (configuration?: Configura const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + + // authentication Host required + await setApiKeyToObject(localVarHeaderParameter, "Host", configuration) + + // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Token", configuration) @@ -5704,17 +3437,10 @@ export const PlaylistsApiAxiosParamCreator = function (configuration?: Configura * @summary Upload Playlist * @param {any} path absolute path to a directory on the server where m3u files are stored, or the absolute path to a playlist file on the server. If the `path` argument is a directory, that path will be scanned for playlist files to be processed. Each file in that directory creates a separate playlist, with a name based on the filename of the file that created it. The GUID of each playlist is based on the filename. If the `path` argument is a file, that file will be used to create a new playlist, with the name based on the filename of the file that created it. The GUID of each playlist is based on the filename. * @param {any} force force overwriting of duplicate playlists. By default, a playlist file uploaded with the same path will overwrite the existing playlist. The `force` argument is used to disable overwriting. If the `force` argument is set to 0, a new playlist will be created suffixed with the date and time that the duplicate was uploaded. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - uploadPlaylist: async (path: any, force: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { + uploadPlaylist: async (path: any, force: any, axiosOptions: AxiosRequestConfig = {}): Promise => { // verify required parameter 'path' is not null or undefined assertParamExists('uploadPlaylist', 'path', path) // verify required parameter 'force' is not null or undefined @@ -5731,10 +3457,16 @@ export const PlaylistsApiAxiosParamCreator = function (configuration?: Configura const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + + // authentication Host required + await setApiKeyToObject(localVarHeaderParameter, "Host", configuration) + + // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Token", configuration) if (path !== undefined) { @@ -5745,34 +3477,6 @@ export const PlaylistsApiAxiosParamCreator = function (configuration?: Configura localVarQueryParameter['force'] = force; } - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } - setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -5800,36 +3504,22 @@ export const PlaylistsApiFp = function(configuration?: Configuration) { * @param {any} playlistID the ID of the playlist * @param {any} uri the content URI for the playlist * @param {any} playQueueID the play queue to add to a playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - async addPlaylistContents(playlistID: any, uri: any, playQueueID: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.addPlaylistContents(playlistID, uri, playQueueID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions); + async addPlaylistContents(playlistID: any, uri: any, playQueueID: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.addPlaylistContents(playlistID, uri, playQueueID, axiosOptions); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** * Clears a playlist, only works with dumb playlists. Returns the playlist. * @summary Delete Playlist Contents * @param {any} playlistID the ID of the playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - async clearPlaylistContents(playlistID: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.clearPlaylistContents(playlistID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions); + async clearPlaylistContents(playlistID: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.clearPlaylistContents(playlistID, axiosOptions); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -5840,54 +3530,33 @@ export const PlaylistsApiFp = function(configuration?: Configuration) { * @param {any} smart whether the playlist is smart or not * @param {any} [uri] the content URI for the playlist * @param {any} [playQueueID] the play queue to copy to a playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - async createPlaylist(title: any, type: any, smart: any, uri?: any, playQueueID?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.createPlaylist(title, type, smart, uri, playQueueID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions); + async createPlaylist(title: any, type: any, smart: any, uri?: any, playQueueID?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.createPlaylist(title, type, smart, uri, playQueueID, axiosOptions); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** * This endpoint will delete a playlist * @summary Deletes a Playlist * @param {any} playlistID the ID of the playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - async deletePlaylist(playlistID: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.deletePlaylist(playlistID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions); + async deletePlaylist(playlistID: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.deletePlaylist(playlistID, axiosOptions); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** * Gets detailed metadata for a playlist. A playlist for many purposes (rating, editing metadata, tagging), can be treated like a regular metadata item: Smart playlist details contain the `content` attribute. This is the content URI for the generator. This can then be parsed by a client to provide smart playlist editing. * @summary Retrieve Playlist * @param {any} playlistID the ID of the playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - async getPlaylist(playlistID: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getPlaylist(playlistID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions); + async getPlaylist(playlistID: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getPlaylist(playlistID, axiosOptions); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -5895,18 +3564,11 @@ export const PlaylistsApiFp = function(configuration?: Configuration) { * @summary Retrieve Playlist Contents * @param {any} playlistID the ID of the playlist * @param {any} type the metadata type of the item to return - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - async getPlaylistContents(playlistID: any, type: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getPlaylistContents(playlistID, type, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions); + async getPlaylistContents(playlistID: any, type: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getPlaylistContents(playlistID, type, axiosOptions); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -5914,18 +3576,11 @@ export const PlaylistsApiFp = function(configuration?: Configuration) { * @summary Get All Playlists * @param {any} [playlistType] limit to a type of playlist. * @param {any} [smart] type of playlists to return (default is all). - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - async getPlaylists(playlistType?: any, smart?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getPlaylists(playlistType, smart, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions); + async getPlaylists(playlistType?: any, smart?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getPlaylists(playlistType, smart, axiosOptions); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -5944,18 +3599,11 @@ export const PlaylistsApiFp = function(configuration?: Configuration) { * @summary Upload Playlist * @param {any} path absolute path to a directory on the server where m3u files are stored, or the absolute path to a playlist file on the server. If the `path` argument is a directory, that path will be scanned for playlist files to be processed. Each file in that directory creates a separate playlist, with a name based on the filename of the file that created it. The GUID of each playlist is based on the filename. If the `path` argument is a file, that file will be used to create a new playlist, with the name based on the filename of the file that created it. The GUID of each playlist is based on the filename. * @param {any} force force overwriting of duplicate playlists. By default, a playlist file uploaded with the same path will overwrite the existing playlist. The `force` argument is used to disable overwriting. If the `force` argument is set to 0, a new playlist will be created suffixed with the date and time that the duplicate was uploaded. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - async uploadPlaylist(path: any, force: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.uploadPlaylist(path, force, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions); + async uploadPlaylist(path: any, force: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.uploadPlaylist(path, force, axiosOptions); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, } @@ -5974,35 +3622,21 @@ export const PlaylistsApiFactory = function (configuration?: Configuration, base * @param {any} playlistID the ID of the playlist * @param {any} uri the content URI for the playlist * @param {any} playQueueID the play queue to add to a playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - addPlaylistContents(playlistID: any, uri: any, playQueueID: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise { - return localVarFp.addPlaylistContents(playlistID, uri, playQueueID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then((request) => request(axios, basePath)); + addPlaylistContents(playlistID: any, uri: any, playQueueID: any, axiosOptions?: any): AxiosPromise { + return localVarFp.addPlaylistContents(playlistID, uri, playQueueID, axiosOptions).then((request) => request(axios, basePath)); }, /** * Clears a playlist, only works with dumb playlists. Returns the playlist. * @summary Delete Playlist Contents * @param {any} playlistID the ID of the playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - clearPlaylistContents(playlistID: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise { - return localVarFp.clearPlaylistContents(playlistID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then((request) => request(axios, basePath)); + clearPlaylistContents(playlistID: any, axiosOptions?: any): AxiosPromise { + return localVarFp.clearPlaylistContents(playlistID, axiosOptions).then((request) => request(axios, basePath)); }, /** * Create a new playlist. By default the playlist is blank. To create a playlist along with a first item, pass: - `uri` - The content URI for what we\'re playing (e.g. `library://...`). - `playQueueID` - To create a playlist from an existing play queue. @@ -6012,88 +3646,53 @@ export const PlaylistsApiFactory = function (configuration?: Configuration, base * @param {any} smart whether the playlist is smart or not * @param {any} [uri] the content URI for the playlist * @param {any} [playQueueID] the play queue to copy to a playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - createPlaylist(title: any, type: any, smart: any, uri?: any, playQueueID?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise { - return localVarFp.createPlaylist(title, type, smart, uri, playQueueID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then((request) => request(axios, basePath)); + createPlaylist(title: any, type: any, smart: any, uri?: any, playQueueID?: any, axiosOptions?: any): AxiosPromise { + return localVarFp.createPlaylist(title, type, smart, uri, playQueueID, axiosOptions).then((request) => request(axios, basePath)); }, /** * This endpoint will delete a playlist * @summary Deletes a Playlist * @param {any} playlistID the ID of the playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - deletePlaylist(playlistID: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise { - return localVarFp.deletePlaylist(playlistID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then((request) => request(axios, basePath)); + deletePlaylist(playlistID: any, axiosOptions?: any): AxiosPromise { + return localVarFp.deletePlaylist(playlistID, axiosOptions).then((request) => request(axios, basePath)); }, /** * Gets detailed metadata for a playlist. A playlist for many purposes (rating, editing metadata, tagging), can be treated like a regular metadata item: Smart playlist details contain the `content` attribute. This is the content URI for the generator. This can then be parsed by a client to provide smart playlist editing. * @summary Retrieve Playlist * @param {any} playlistID the ID of the playlist - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getPlaylist(playlistID: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise { - return localVarFp.getPlaylist(playlistID, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then((request) => request(axios, basePath)); + getPlaylist(playlistID: any, axiosOptions?: any): AxiosPromise { + return localVarFp.getPlaylist(playlistID, axiosOptions).then((request) => request(axios, basePath)); }, /** * Gets the contents of a playlist. Should be paged by clients via standard mechanisms. By default leaves are returned (e.g. episodes, movies). In order to return other types you can use the `type` parameter. For example, you could use this to display a list of recently added albums vis a smart playlist. Note that for dumb playlists, items have a `playlistItemID` attribute which is used for deleting or moving items. * @summary Retrieve Playlist Contents * @param {any} playlistID the ID of the playlist * @param {any} type the metadata type of the item to return - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getPlaylistContents(playlistID: any, type: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise { - return localVarFp.getPlaylistContents(playlistID, type, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then((request) => request(axios, basePath)); + getPlaylistContents(playlistID: any, type: any, axiosOptions?: any): AxiosPromise { + return localVarFp.getPlaylistContents(playlistID, type, axiosOptions).then((request) => request(axios, basePath)); }, /** * * @summary Get All Playlists * @param {any} [playlistType] limit to a type of playlist. * @param {any} [smart] type of playlists to return (default is all). - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getPlaylists(playlistType?: any, smart?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise { - return localVarFp.getPlaylists(playlistType, smart, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then((request) => request(axios, basePath)); + getPlaylists(playlistType?: any, smart?: any, axiosOptions?: any): AxiosPromise { + return localVarFp.getPlaylists(playlistType, smart, axiosOptions).then((request) => request(axios, basePath)); }, /** * From PMS version 1.9.1 clients can also edit playlist metadata using this endpoint as they would via `PUT /library/metadata/{playlistID}` @@ -6110,18 +3709,11 @@ export const PlaylistsApiFactory = function (configuration?: Configuration, base * @summary Upload Playlist * @param {any} path absolute path to a directory on the server where m3u files are stored, or the absolute path to a playlist file on the server. If the `path` argument is a directory, that path will be scanned for playlist files to be processed. Each file in that directory creates a separate playlist, with a name based on the filename of the file that created it. The GUID of each playlist is based on the filename. If the `path` argument is a file, that file will be used to create a new playlist, with the name based on the filename of the file that created it. The GUID of each playlist is based on the filename. * @param {any} force force overwriting of duplicate playlists. By default, a playlist file uploaded with the same path will overwrite the existing playlist. The `force` argument is used to disable overwriting. If the `force` argument is set to 0, a new playlist will be created suffixed with the date and time that the duplicate was uploaded. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - uploadPlaylist(path: any, force: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise { - return localVarFp.uploadPlaylist(path, force, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then((request) => request(axios, basePath)); + uploadPlaylist(path: any, force: any, axiosOptions?: any): AxiosPromise { + return localVarFp.uploadPlaylist(path, force, axiosOptions).then((request) => request(axios, basePath)); }, }; }; @@ -6152,55 +3744,6 @@ export interface PlaylistsApiAddPlaylistContentsRequest { * @memberof PlaylistsApiAddPlaylistContents */ readonly playQueueID: any - - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof PlaylistsApiAddPlaylistContents - */ - readonly xPlexDeviceName?: any - - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof PlaylistsApiAddPlaylistContents - */ - readonly xPlexDevice?: any - - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof PlaylistsApiAddPlaylistContents - */ - readonly xPlexPlatformVersion?: any - - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof PlaylistsApiAddPlaylistContents - */ - readonly xPlexPlatform?: any - - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof PlaylistsApiAddPlaylistContents - */ - readonly xPlexProduct?: any - - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof PlaylistsApiAddPlaylistContents - */ - readonly xPlexProvides?: any - - /** - * Your application version number - * @type {any} - * @memberof PlaylistsApiAddPlaylistContents - */ - readonly xPlexVersion?: any } /** @@ -6215,55 +3758,6 @@ export interface PlaylistsApiClearPlaylistContentsRequest { * @memberof PlaylistsApiClearPlaylistContents */ readonly playlistID: any - - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof PlaylistsApiClearPlaylistContents - */ - readonly xPlexDeviceName?: any - - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof PlaylistsApiClearPlaylistContents - */ - readonly xPlexDevice?: any - - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof PlaylistsApiClearPlaylistContents - */ - readonly xPlexPlatformVersion?: any - - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof PlaylistsApiClearPlaylistContents - */ - readonly xPlexPlatform?: any - - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof PlaylistsApiClearPlaylistContents - */ - readonly xPlexProduct?: any - - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof PlaylistsApiClearPlaylistContents - */ - readonly xPlexProvides?: any - - /** - * Your application version number - * @type {any} - * @memberof PlaylistsApiClearPlaylistContents - */ - readonly xPlexVersion?: any } /** @@ -6306,55 +3800,6 @@ export interface PlaylistsApiCreatePlaylistRequest { * @memberof PlaylistsApiCreatePlaylist */ readonly playQueueID?: any - - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof PlaylistsApiCreatePlaylist - */ - readonly xPlexDeviceName?: any - - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof PlaylistsApiCreatePlaylist - */ - readonly xPlexDevice?: any - - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof PlaylistsApiCreatePlaylist - */ - readonly xPlexPlatformVersion?: any - - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof PlaylistsApiCreatePlaylist - */ - readonly xPlexPlatform?: any - - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof PlaylistsApiCreatePlaylist - */ - readonly xPlexProduct?: any - - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof PlaylistsApiCreatePlaylist - */ - readonly xPlexProvides?: any - - /** - * Your application version number - * @type {any} - * @memberof PlaylistsApiCreatePlaylist - */ - readonly xPlexVersion?: any } /** @@ -6369,55 +3814,6 @@ export interface PlaylistsApiDeletePlaylistRequest { * @memberof PlaylistsApiDeletePlaylist */ readonly playlistID: any - - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof PlaylistsApiDeletePlaylist - */ - readonly xPlexDeviceName?: any - - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof PlaylistsApiDeletePlaylist - */ - readonly xPlexDevice?: any - - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof PlaylistsApiDeletePlaylist - */ - readonly xPlexPlatformVersion?: any - - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof PlaylistsApiDeletePlaylist - */ - readonly xPlexPlatform?: any - - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof PlaylistsApiDeletePlaylist - */ - readonly xPlexProduct?: any - - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof PlaylistsApiDeletePlaylist - */ - readonly xPlexProvides?: any - - /** - * Your application version number - * @type {any} - * @memberof PlaylistsApiDeletePlaylist - */ - readonly xPlexVersion?: any } /** @@ -6432,55 +3828,6 @@ export interface PlaylistsApiGetPlaylistRequest { * @memberof PlaylistsApiGetPlaylist */ readonly playlistID: any - - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof PlaylistsApiGetPlaylist - */ - readonly xPlexDeviceName?: any - - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof PlaylistsApiGetPlaylist - */ - readonly xPlexDevice?: any - - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof PlaylistsApiGetPlaylist - */ - readonly xPlexPlatformVersion?: any - - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof PlaylistsApiGetPlaylist - */ - readonly xPlexPlatform?: any - - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof PlaylistsApiGetPlaylist - */ - readonly xPlexProduct?: any - - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof PlaylistsApiGetPlaylist - */ - readonly xPlexProvides?: any - - /** - * Your application version number - * @type {any} - * @memberof PlaylistsApiGetPlaylist - */ - readonly xPlexVersion?: any } /** @@ -6502,55 +3849,6 @@ export interface PlaylistsApiGetPlaylistContentsRequest { * @memberof PlaylistsApiGetPlaylistContents */ readonly type: any - - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof PlaylistsApiGetPlaylistContents - */ - readonly xPlexDeviceName?: any - - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof PlaylistsApiGetPlaylistContents - */ - readonly xPlexDevice?: any - - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof PlaylistsApiGetPlaylistContents - */ - readonly xPlexPlatformVersion?: any - - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof PlaylistsApiGetPlaylistContents - */ - readonly xPlexPlatform?: any - - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof PlaylistsApiGetPlaylistContents - */ - readonly xPlexProduct?: any - - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof PlaylistsApiGetPlaylistContents - */ - readonly xPlexProvides?: any - - /** - * Your application version number - * @type {any} - * @memberof PlaylistsApiGetPlaylistContents - */ - readonly xPlexVersion?: any } /** @@ -6572,55 +3870,6 @@ export interface PlaylistsApiGetPlaylistsRequest { * @memberof PlaylistsApiGetPlaylists */ readonly smart?: any - - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof PlaylistsApiGetPlaylists - */ - readonly xPlexDeviceName?: any - - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof PlaylistsApiGetPlaylists - */ - readonly xPlexDevice?: any - - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof PlaylistsApiGetPlaylists - */ - readonly xPlexPlatformVersion?: any - - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof PlaylistsApiGetPlaylists - */ - readonly xPlexPlatform?: any - - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof PlaylistsApiGetPlaylists - */ - readonly xPlexProduct?: any - - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof PlaylistsApiGetPlaylists - */ - readonly xPlexProvides?: any - - /** - * Your application version number - * @type {any} - * @memberof PlaylistsApiGetPlaylists - */ - readonly xPlexVersion?: any } /** @@ -6656,55 +3905,6 @@ export interface PlaylistsApiUploadPlaylistRequest { * @memberof PlaylistsApiUploadPlaylist */ readonly force: any - - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof PlaylistsApiUploadPlaylist - */ - readonly xPlexDeviceName?: any - - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof PlaylistsApiUploadPlaylist - */ - readonly xPlexDevice?: any - - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof PlaylistsApiUploadPlaylist - */ - readonly xPlexPlatformVersion?: any - - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof PlaylistsApiUploadPlaylist - */ - readonly xPlexPlatform?: any - - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof PlaylistsApiUploadPlaylist - */ - readonly xPlexProduct?: any - - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof PlaylistsApiUploadPlaylist - */ - readonly xPlexProvides?: any - - /** - * Your application version number - * @type {any} - * @memberof PlaylistsApiUploadPlaylist - */ - readonly xPlexVersion?: any } /** @@ -6723,7 +3923,7 @@ export class PlaylistsApi extends BaseAPI { * @memberof PlaylistsApi */ public addPlaylistContents(requestParameters: PlaylistsApiAddPlaylistContentsRequest, axiosOptions?: AxiosRequestConfig) { - return PlaylistsApiFp(this.configuration).addPlaylistContents(requestParameters.playlistID, requestParameters.uri, requestParameters.playQueueID, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then((request) => request(this.axios, this.basePath)); + return PlaylistsApiFp(this.configuration).addPlaylistContents(requestParameters.playlistID, requestParameters.uri, requestParameters.playQueueID, axiosOptions).then((request) => request(this.axios, this.basePath)); } /** @@ -6735,7 +3935,7 @@ export class PlaylistsApi extends BaseAPI { * @memberof PlaylistsApi */ public clearPlaylistContents(requestParameters: PlaylistsApiClearPlaylistContentsRequest, axiosOptions?: AxiosRequestConfig) { - return PlaylistsApiFp(this.configuration).clearPlaylistContents(requestParameters.playlistID, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then((request) => request(this.axios, this.basePath)); + return PlaylistsApiFp(this.configuration).clearPlaylistContents(requestParameters.playlistID, axiosOptions).then((request) => request(this.axios, this.basePath)); } /** @@ -6747,7 +3947,7 @@ export class PlaylistsApi extends BaseAPI { * @memberof PlaylistsApi */ public createPlaylist(requestParameters: PlaylistsApiCreatePlaylistRequest, axiosOptions?: AxiosRequestConfig) { - return PlaylistsApiFp(this.configuration).createPlaylist(requestParameters.title, requestParameters.type, requestParameters.smart, requestParameters.uri, requestParameters.playQueueID, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then((request) => request(this.axios, this.basePath)); + return PlaylistsApiFp(this.configuration).createPlaylist(requestParameters.title, requestParameters.type, requestParameters.smart, requestParameters.uri, requestParameters.playQueueID, axiosOptions).then((request) => request(this.axios, this.basePath)); } /** @@ -6759,7 +3959,7 @@ export class PlaylistsApi extends BaseAPI { * @memberof PlaylistsApi */ public deletePlaylist(requestParameters: PlaylistsApiDeletePlaylistRequest, axiosOptions?: AxiosRequestConfig) { - return PlaylistsApiFp(this.configuration).deletePlaylist(requestParameters.playlistID, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then((request) => request(this.axios, this.basePath)); + return PlaylistsApiFp(this.configuration).deletePlaylist(requestParameters.playlistID, axiosOptions).then((request) => request(this.axios, this.basePath)); } /** @@ -6771,7 +3971,7 @@ export class PlaylistsApi extends BaseAPI { * @memberof PlaylistsApi */ public getPlaylist(requestParameters: PlaylistsApiGetPlaylistRequest, axiosOptions?: AxiosRequestConfig) { - return PlaylistsApiFp(this.configuration).getPlaylist(requestParameters.playlistID, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then((request) => request(this.axios, this.basePath)); + return PlaylistsApiFp(this.configuration).getPlaylist(requestParameters.playlistID, axiosOptions).then((request) => request(this.axios, this.basePath)); } /** @@ -6783,7 +3983,7 @@ export class PlaylistsApi extends BaseAPI { * @memberof PlaylistsApi */ public getPlaylistContents(requestParameters: PlaylistsApiGetPlaylistContentsRequest, axiosOptions?: AxiosRequestConfig) { - return PlaylistsApiFp(this.configuration).getPlaylistContents(requestParameters.playlistID, requestParameters.type, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then((request) => request(this.axios, this.basePath)); + return PlaylistsApiFp(this.configuration).getPlaylistContents(requestParameters.playlistID, requestParameters.type, axiosOptions).then((request) => request(this.axios, this.basePath)); } /** @@ -6795,7 +3995,7 @@ export class PlaylistsApi extends BaseAPI { * @memberof PlaylistsApi */ public getPlaylists(requestParameters: PlaylistsApiGetPlaylistsRequest = {}, axiosOptions?: AxiosRequestConfig) { - return PlaylistsApiFp(this.configuration).getPlaylists(requestParameters.playlistType, requestParameters.smart, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then((request) => request(this.axios, this.basePath)); + return PlaylistsApiFp(this.configuration).getPlaylists(requestParameters.playlistType, requestParameters.smart, axiosOptions).then((request) => request(this.axios, this.basePath)); } /** @@ -6819,7 +4019,7 @@ export class PlaylistsApi extends BaseAPI { * @memberof PlaylistsApi */ public uploadPlaylist(requestParameters: PlaylistsApiUploadPlaylistRequest, axiosOptions?: AxiosRequestConfig) { - return PlaylistsApiFp(this.configuration).uploadPlaylist(requestParameters.path, requestParameters.force, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then((request) => request(this.axios, this.basePath)); + return PlaylistsApiFp(this.configuration).uploadPlaylist(requestParameters.path, requestParameters.force, axiosOptions).then((request) => request(this.axios, this.basePath)); } } @@ -6836,17 +4036,10 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio * @param {any} query The query term * @param {any} [sectionId] This gives context to the search, and can result in re-ordering of search result hubs * @param {any} [limit] The number of items to return per hub - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - performSearch: async (query: any, sectionId?: any, limit?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { + performSearch: async (query: any, sectionId?: any, limit?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { // verify required parameter 'query' is not null or undefined assertParamExists('performSearch', 'query', query) const localVarPath = `/hubs/search`; @@ -6861,10 +4054,16 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + + // authentication Host required + await setApiKeyToObject(localVarHeaderParameter, "Host", configuration) + + // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Token", configuration) if (query !== undefined) { @@ -6879,34 +4078,6 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio localVarQueryParameter['limit'] = limit; } - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } - setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -6924,17 +4095,10 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio * @param {any} query The query term * @param {any} [sectionId] This gives context to the search, and can result in re-ordering of search result hubs * @param {any} [limit] The number of items to return per hub - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - performVoiceSearch: async (query: any, sectionId?: any, limit?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { + performVoiceSearch: async (query: any, sectionId?: any, limit?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { // verify required parameter 'query' is not null or undefined assertParamExists('performVoiceSearch', 'query', query) const localVarPath = `/hubs/search/voice`; @@ -6949,10 +4113,16 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + + // authentication Host required + await setApiKeyToObject(localVarHeaderParameter, "Host", configuration) + + // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Token", configuration) if (query !== undefined) { @@ -6967,34 +4137,6 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio localVarQueryParameter['limit'] = limit; } - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } - setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -7022,18 +4164,11 @@ export const SearchApiFp = function(configuration?: Configuration) { * @param {any} query The query term * @param {any} [sectionId] This gives context to the search, and can result in re-ordering of search result hubs * @param {any} [limit] The number of items to return per hub - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - async performSearch(query: any, sectionId?: any, limit?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.performSearch(query, sectionId, limit, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions); + async performSearch(query: any, sectionId?: any, limit?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.performSearch(query, sectionId, limit, axiosOptions); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -7042,18 +4177,11 @@ export const SearchApiFp = function(configuration?: Configuration) { * @param {any} query The query term * @param {any} [sectionId] This gives context to the search, and can result in re-ordering of search result hubs * @param {any} [limit] The number of items to return per hub - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - async performVoiceSearch(query: any, sectionId?: any, limit?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.performVoiceSearch(query, sectionId, limit, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions); + async performVoiceSearch(query: any, sectionId?: any, limit?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.performVoiceSearch(query, sectionId, limit, axiosOptions); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, } @@ -7072,18 +4200,11 @@ export const SearchApiFactory = function (configuration?: Configuration, basePat * @param {any} query The query term * @param {any} [sectionId] This gives context to the search, and can result in re-ordering of search result hubs * @param {any} [limit] The number of items to return per hub - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - performSearch(query: any, sectionId?: any, limit?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise { - return localVarFp.performSearch(query, sectionId, limit, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then((request) => request(axios, basePath)); + performSearch(query: any, sectionId?: any, limit?: any, axiosOptions?: any): AxiosPromise { + return localVarFp.performSearch(query, sectionId, limit, axiosOptions).then((request) => request(axios, basePath)); }, /** * This endpoint performs a search specifically tailored towards voice or other imprecise input which may work badly with the substring and spell-checking heuristics used by the `/hubs/search` endpoint. It uses a [Levenshtein distance](https://en.wikipedia.org/wiki/Levenshtein_distance) heuristic to search titles, and as such is much slower than the other search endpoint. Whenever possible, clients should limit the search to the appropriate type. Results, as well as their containing per-type hubs, contain a `distance` attribute which can be used to judge result quality. @@ -7091,18 +4212,11 @@ export const SearchApiFactory = function (configuration?: Configuration, basePat * @param {any} query The query term * @param {any} [sectionId] This gives context to the search, and can result in re-ordering of search result hubs * @param {any} [limit] The number of items to return per hub - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - performVoiceSearch(query: any, sectionId?: any, limit?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise { - return localVarFp.performVoiceSearch(query, sectionId, limit, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then((request) => request(axios, basePath)); + performVoiceSearch(query: any, sectionId?: any, limit?: any, axiosOptions?: any): AxiosPromise { + return localVarFp.performVoiceSearch(query, sectionId, limit, axiosOptions).then((request) => request(axios, basePath)); }, }; }; @@ -7133,55 +4247,6 @@ export interface SearchApiPerformSearchRequest { * @memberof SearchApiPerformSearch */ readonly limit?: any - - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof SearchApiPerformSearch - */ - readonly xPlexDeviceName?: any - - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof SearchApiPerformSearch - */ - readonly xPlexDevice?: any - - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof SearchApiPerformSearch - */ - readonly xPlexPlatformVersion?: any - - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof SearchApiPerformSearch - */ - readonly xPlexPlatform?: any - - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof SearchApiPerformSearch - */ - readonly xPlexProduct?: any - - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof SearchApiPerformSearch - */ - readonly xPlexProvides?: any - - /** - * Your application version number - * @type {any} - * @memberof SearchApiPerformSearch - */ - readonly xPlexVersion?: any } /** @@ -7210,55 +4275,6 @@ export interface SearchApiPerformVoiceSearchRequest { * @memberof SearchApiPerformVoiceSearch */ readonly limit?: any - - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof SearchApiPerformVoiceSearch - */ - readonly xPlexDeviceName?: any - - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof SearchApiPerformVoiceSearch - */ - readonly xPlexDevice?: any - - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof SearchApiPerformVoiceSearch - */ - readonly xPlexPlatformVersion?: any - - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof SearchApiPerformVoiceSearch - */ - readonly xPlexPlatform?: any - - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof SearchApiPerformVoiceSearch - */ - readonly xPlexProduct?: any - - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof SearchApiPerformVoiceSearch - */ - readonly xPlexProvides?: any - - /** - * Your application version number - * @type {any} - * @memberof SearchApiPerformVoiceSearch - */ - readonly xPlexVersion?: any } /** @@ -7277,7 +4293,7 @@ export class SearchApi extends BaseAPI { * @memberof SearchApi */ public performSearch(requestParameters: SearchApiPerformSearchRequest, axiosOptions?: AxiosRequestConfig) { - return SearchApiFp(this.configuration).performSearch(requestParameters.query, requestParameters.sectionId, requestParameters.limit, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then((request) => request(this.axios, this.basePath)); + return SearchApiFp(this.configuration).performSearch(requestParameters.query, requestParameters.sectionId, requestParameters.limit, axiosOptions).then((request) => request(this.axios, this.basePath)); } /** @@ -7289,7 +4305,7 @@ export class SearchApi extends BaseAPI { * @memberof SearchApi */ public performVoiceSearch(requestParameters: SearchApiPerformVoiceSearchRequest, axiosOptions?: AxiosRequestConfig) { - return SearchApiFp(this.configuration).performVoiceSearch(requestParameters.query, requestParameters.sectionId, requestParameters.limit, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then((request) => request(this.axios, this.basePath)); + return SearchApiFp(this.configuration).performVoiceSearch(requestParameters.query, requestParameters.sectionId, requestParameters.limit, axiosOptions).then((request) => request(this.axios, this.basePath)); } } @@ -7304,17 +4320,10 @@ export const SecurityApiAxiosParamCreator = function (configuration?: Configurat * If a caller requires connection details and a transient token for a source that is known to the server, for example a cloud media provider or shared PMS, then this endpoint can be called. This endpoint is only accessible with either an admin token or a valid transient token generated from an admin token. Note: requires Plex Media Server >= 1.15.4. * @summary Get Source Connection Information * @param {any} source The source identifier with an included prefix. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getSourceConnectionInformation: async (source: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { + getSourceConnectionInformation: async (source: any, axiosOptions: AxiosRequestConfig = {}): Promise => { // verify required parameter 'source' is not null or undefined assertParamExists('getSourceConnectionInformation', 'source', source) const localVarPath = `/security/resources`; @@ -7329,44 +4338,22 @@ export const SecurityApiAxiosParamCreator = function (configuration?: Configurat const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + + // authentication Host required + await setApiKeyToObject(localVarHeaderParameter, "Host", configuration) + + // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Token", configuration) if (source !== undefined) { localVarQueryParameter['source'] = source; } - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } - setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -7383,17 +4370,10 @@ export const SecurityApiAxiosParamCreator = function (configuration?: Configurat * @summary Get a Transient Token. * @param {any} type `delegation` - This is the only supported `type` parameter. * @param {any} scope `all` - This is the only supported `scope` parameter. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getTransientToken: async (type: any, scope: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { + getTransientToken: async (type: any, scope: any, axiosOptions: AxiosRequestConfig = {}): Promise => { // verify required parameter 'type' is not null or undefined assertParamExists('getTransientToken', 'type', type) // verify required parameter 'scope' is not null or undefined @@ -7410,10 +4390,16 @@ export const SecurityApiAxiosParamCreator = function (configuration?: Configurat const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + + // authentication Host required + await setApiKeyToObject(localVarHeaderParameter, "Host", configuration) + + // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Token", configuration) if (type !== undefined) { @@ -7424,34 +4410,6 @@ export const SecurityApiAxiosParamCreator = function (configuration?: Configurat localVarQueryParameter['scope'] = scope; } - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } - setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -7477,18 +4435,11 @@ export const SecurityApiFp = function(configuration?: Configuration) { * If a caller requires connection details and a transient token for a source that is known to the server, for example a cloud media provider or shared PMS, then this endpoint can be called. This endpoint is only accessible with either an admin token or a valid transient token generated from an admin token. Note: requires Plex Media Server >= 1.15.4. * @summary Get Source Connection Information * @param {any} source The source identifier with an included prefix. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - async getSourceConnectionInformation(source: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getSourceConnectionInformation(source, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions); + async getSourceConnectionInformation(source: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getSourceConnectionInformation(source, axiosOptions); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -7496,18 +4447,11 @@ export const SecurityApiFp = function(configuration?: Configuration) { * @summary Get a Transient Token. * @param {any} type `delegation` - This is the only supported `type` parameter. * @param {any} scope `all` - This is the only supported `scope` parameter. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - async getTransientToken(type: any, scope: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getTransientToken(type, scope, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions); + async getTransientToken(type: any, scope: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getTransientToken(type, scope, axiosOptions); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, } @@ -7524,36 +4468,22 @@ export const SecurityApiFactory = function (configuration?: Configuration, baseP * If a caller requires connection details and a transient token for a source that is known to the server, for example a cloud media provider or shared PMS, then this endpoint can be called. This endpoint is only accessible with either an admin token or a valid transient token generated from an admin token. Note: requires Plex Media Server >= 1.15.4. * @summary Get Source Connection Information * @param {any} source The source identifier with an included prefix. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getSourceConnectionInformation(source: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise { - return localVarFp.getSourceConnectionInformation(source, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then((request) => request(axios, basePath)); + getSourceConnectionInformation(source: any, axiosOptions?: any): AxiosPromise { + return localVarFp.getSourceConnectionInformation(source, axiosOptions).then((request) => request(axios, basePath)); }, /** * This endpoint provides the caller with a temporary token with the same access level as the caller\'s token. These tokens are valid for up to 48 hours and are destroyed if the server instance is restarted. * @summary Get a Transient Token. * @param {any} type `delegation` - This is the only supported `type` parameter. * @param {any} scope `all` - This is the only supported `scope` parameter. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getTransientToken(type: any, scope: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise { - return localVarFp.getTransientToken(type, scope, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then((request) => request(axios, basePath)); + getTransientToken(type: any, scope: any, axiosOptions?: any): AxiosPromise { + return localVarFp.getTransientToken(type, scope, axiosOptions).then((request) => request(axios, basePath)); }, }; }; @@ -7570,55 +4500,6 @@ export interface SecurityApiGetSourceConnectionInformationRequest { * @memberof SecurityApiGetSourceConnectionInformation */ readonly source: any - - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof SecurityApiGetSourceConnectionInformation - */ - readonly xPlexDeviceName?: any - - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof SecurityApiGetSourceConnectionInformation - */ - readonly xPlexDevice?: any - - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof SecurityApiGetSourceConnectionInformation - */ - readonly xPlexPlatformVersion?: any - - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof SecurityApiGetSourceConnectionInformation - */ - readonly xPlexPlatform?: any - - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof SecurityApiGetSourceConnectionInformation - */ - readonly xPlexProduct?: any - - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof SecurityApiGetSourceConnectionInformation - */ - readonly xPlexProvides?: any - - /** - * Your application version number - * @type {any} - * @memberof SecurityApiGetSourceConnectionInformation - */ - readonly xPlexVersion?: any } /** @@ -7640,55 +4521,6 @@ export interface SecurityApiGetTransientTokenRequest { * @memberof SecurityApiGetTransientToken */ readonly scope: any - - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof SecurityApiGetTransientToken - */ - readonly xPlexDeviceName?: any - - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof SecurityApiGetTransientToken - */ - readonly xPlexDevice?: any - - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof SecurityApiGetTransientToken - */ - readonly xPlexPlatformVersion?: any - - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof SecurityApiGetTransientToken - */ - readonly xPlexPlatform?: any - - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof SecurityApiGetTransientToken - */ - readonly xPlexProduct?: any - - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof SecurityApiGetTransientToken - */ - readonly xPlexProvides?: any - - /** - * Your application version number - * @type {any} - * @memberof SecurityApiGetTransientToken - */ - readonly xPlexVersion?: any } /** @@ -7707,7 +4539,7 @@ export class SecurityApi extends BaseAPI { * @memberof SecurityApi */ public getSourceConnectionInformation(requestParameters: SecurityApiGetSourceConnectionInformationRequest, axiosOptions?: AxiosRequestConfig) { - return SecurityApiFp(this.configuration).getSourceConnectionInformation(requestParameters.source, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then((request) => request(this.axios, this.basePath)); + return SecurityApiFp(this.configuration).getSourceConnectionInformation(requestParameters.source, axiosOptions).then((request) => request(this.axios, this.basePath)); } /** @@ -7719,7 +4551,7 @@ export class SecurityApi extends BaseAPI { * @memberof SecurityApi */ public getTransientToken(requestParameters: SecurityApiGetTransientTokenRequest, axiosOptions?: AxiosRequestConfig) { - return SecurityApiFp(this.configuration).getTransientToken(requestParameters.type, requestParameters.scope, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then((request) => request(this.axios, this.basePath)); + return SecurityApiFp(this.configuration).getTransientToken(requestParameters.type, requestParameters.scope, axiosOptions).then((request) => request(this.axios, this.basePath)); } } @@ -7733,17 +4565,10 @@ export const ServerApiAxiosParamCreator = function (configuration?: Configuratio /** * Server Capabilities * @summary Server Capabilities - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getServerCapabilities: async (xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { + getServerCapabilities: async (axiosOptions: AxiosRequestConfig = {}): Promise => { const localVarPath = `/`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -7756,40 +4581,18 @@ export const ServerApiAxiosParamCreator = function (configuration?: Configuratio const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + + // authentication Host required + await setApiKeyToObject(localVarHeaderParameter, "Host", configuration) + + // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Token", configuration) - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } - setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -7804,17 +4607,10 @@ export const ServerApiAxiosParamCreator = function (configuration?: Configuratio /** * Get Server Preferences * @summary Get Server Preferences - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getServerPreferences: async (xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { + getServerPreferences: async (axiosOptions: AxiosRequestConfig = {}): Promise => { const localVarPath = `/:/prefs`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -7827,40 +4623,18 @@ export const ServerApiAxiosParamCreator = function (configuration?: Configuratio const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + + // authentication Host required + await setApiKeyToObject(localVarHeaderParameter, "Host", configuration) + + // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Token", configuration) - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } - setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -7885,35 +4659,21 @@ export const ServerApiFp = function(configuration?: Configuration) { /** * Server Capabilities * @summary Server Capabilities - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - async getServerCapabilities(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getServerCapabilities(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions); + async getServerCapabilities(axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getServerCapabilities(axiosOptions); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** * Get Server Preferences * @summary Get Server Preferences - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - async getServerPreferences(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getServerPreferences(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions); + async getServerPreferences(axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getServerPreferences(axiosOptions); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, } @@ -7929,150 +4689,24 @@ export const ServerApiFactory = function (configuration?: Configuration, basePat /** * Server Capabilities * @summary Server Capabilities - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getServerCapabilities(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise { - return localVarFp.getServerCapabilities(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then((request) => request(axios, basePath)); + getServerCapabilities(axiosOptions?: any): AxiosPromise { + return localVarFp.getServerCapabilities(axiosOptions).then((request) => request(axios, basePath)); }, /** * Get Server Preferences * @summary Get Server Preferences - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getServerPreferences(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise { - return localVarFp.getServerPreferences(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then((request) => request(axios, basePath)); + getServerPreferences(axiosOptions?: any): AxiosPromise { + return localVarFp.getServerPreferences(axiosOptions).then((request) => request(axios, basePath)); }, }; }; -/** - * Request parameters for getServerCapabilities operation in ServerApi. - * @export - * @interface ServerApiGetServerCapabilitiesRequest - */ -export interface ServerApiGetServerCapabilitiesRequest { - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof ServerApiGetServerCapabilities - */ - readonly xPlexDeviceName?: any - - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof ServerApiGetServerCapabilities - */ - readonly xPlexDevice?: any - - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof ServerApiGetServerCapabilities - */ - readonly xPlexPlatformVersion?: any - - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof ServerApiGetServerCapabilities - */ - readonly xPlexPlatform?: any - - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof ServerApiGetServerCapabilities - */ - readonly xPlexProduct?: any - - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof ServerApiGetServerCapabilities - */ - readonly xPlexProvides?: any - - /** - * Your application version number - * @type {any} - * @memberof ServerApiGetServerCapabilities - */ - readonly xPlexVersion?: any -} - -/** - * Request parameters for getServerPreferences operation in ServerApi. - * @export - * @interface ServerApiGetServerPreferencesRequest - */ -export interface ServerApiGetServerPreferencesRequest { - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof ServerApiGetServerPreferences - */ - readonly xPlexDeviceName?: any - - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof ServerApiGetServerPreferences - */ - readonly xPlexDevice?: any - - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof ServerApiGetServerPreferences - */ - readonly xPlexPlatformVersion?: any - - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof ServerApiGetServerPreferences - */ - readonly xPlexPlatform?: any - - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof ServerApiGetServerPreferences - */ - readonly xPlexProduct?: any - - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof ServerApiGetServerPreferences - */ - readonly xPlexProvides?: any - - /** - * Your application version number - * @type {any} - * @memberof ServerApiGetServerPreferences - */ - readonly xPlexVersion?: any -} - /** * ServerApi - object-oriented interface * @export @@ -8083,25 +4717,23 @@ export class ServerApi extends BaseAPI { /** * Server Capabilities * @summary Server Capabilities - * @param {ServerApiGetServerCapabilitiesRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof ServerApi */ - public getServerCapabilities(requestParameters: ServerApiGetServerCapabilitiesRequest = {}, axiosOptions?: AxiosRequestConfig) { - return ServerApiFp(this.configuration).getServerCapabilities(requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then((request) => request(this.axios, this.basePath)); + public getServerCapabilities(axiosOptions?: AxiosRequestConfig) { + return ServerApiFp(this.configuration).getServerCapabilities(axiosOptions).then((request) => request(this.axios, this.basePath)); } /** * Get Server Preferences * @summary Get Server Preferences - * @param {ServerApiGetServerPreferencesRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof ServerApi */ - public getServerPreferences(requestParameters: ServerApiGetServerPreferencesRequest = {}, axiosOptions?: AxiosRequestConfig) { - return ServerApiFp(this.configuration).getServerPreferences(requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then((request) => request(this.axios, this.basePath)); + public getServerPreferences(axiosOptions?: AxiosRequestConfig) { + return ServerApiFp(this.configuration).getServerPreferences(axiosOptions).then((request) => request(this.axios, this.basePath)); } } @@ -8115,17 +4747,10 @@ export const SessionsApiAxiosParamCreator = function (configuration?: Configurat /** * This will Retrieve a listing of all history views. * @summary Get Session History - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getSessionHistory: async (xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { + getSessionHistory: async (axiosOptions: AxiosRequestConfig = {}): Promise => { const localVarPath = `/status/sessions/history/all`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -8138,40 +4763,18 @@ export const SessionsApiAxiosParamCreator = function (configuration?: Configurat const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + + // authentication Host required + await setApiKeyToObject(localVarHeaderParameter, "Host", configuration) + + // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Token", configuration) - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } - setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -8186,17 +4789,10 @@ export const SessionsApiAxiosParamCreator = function (configuration?: Configurat /** * This will retrieve the \"Now Playing\" Information of the PMS. * @summary Get Active Sessions - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getSessions: async (xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { + getSessions: async (axiosOptions: AxiosRequestConfig = {}): Promise => { const localVarPath = `/status/sessions`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -8209,40 +4805,18 @@ export const SessionsApiAxiosParamCreator = function (configuration?: Configurat const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + + // authentication Host required + await setApiKeyToObject(localVarHeaderParameter, "Host", configuration) + + // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Token", configuration) - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } - setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -8267,35 +4841,21 @@ export const SessionsApiFp = function(configuration?: Configuration) { /** * This will Retrieve a listing of all history views. * @summary Get Session History - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - async getSessionHistory(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getSessionHistory(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions); + async getSessionHistory(axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getSessionHistory(axiosOptions); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** * This will retrieve the \"Now Playing\" Information of the PMS. * @summary Get Active Sessions - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - async getSessions(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getSessions(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions); + async getSessions(axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getSessions(axiosOptions); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, } @@ -8311,150 +4871,24 @@ export const SessionsApiFactory = function (configuration?: Configuration, baseP /** * This will Retrieve a listing of all history views. * @summary Get Session History - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getSessionHistory(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise { - return localVarFp.getSessionHistory(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then((request) => request(axios, basePath)); + getSessionHistory(axiosOptions?: any): AxiosPromise { + return localVarFp.getSessionHistory(axiosOptions).then((request) => request(axios, basePath)); }, /** * This will retrieve the \"Now Playing\" Information of the PMS. * @summary Get Active Sessions - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getSessions(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise { - return localVarFp.getSessions(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then((request) => request(axios, basePath)); + getSessions(axiosOptions?: any): AxiosPromise { + return localVarFp.getSessions(axiosOptions).then((request) => request(axios, basePath)); }, }; }; -/** - * Request parameters for getSessionHistory operation in SessionsApi. - * @export - * @interface SessionsApiGetSessionHistoryRequest - */ -export interface SessionsApiGetSessionHistoryRequest { - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof SessionsApiGetSessionHistory - */ - readonly xPlexDeviceName?: any - - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof SessionsApiGetSessionHistory - */ - readonly xPlexDevice?: any - - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof SessionsApiGetSessionHistory - */ - readonly xPlexPlatformVersion?: any - - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof SessionsApiGetSessionHistory - */ - readonly xPlexPlatform?: any - - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof SessionsApiGetSessionHistory - */ - readonly xPlexProduct?: any - - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof SessionsApiGetSessionHistory - */ - readonly xPlexProvides?: any - - /** - * Your application version number - * @type {any} - * @memberof SessionsApiGetSessionHistory - */ - readonly xPlexVersion?: any -} - -/** - * Request parameters for getSessions operation in SessionsApi. - * @export - * @interface SessionsApiGetSessionsRequest - */ -export interface SessionsApiGetSessionsRequest { - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof SessionsApiGetSessions - */ - readonly xPlexDeviceName?: any - - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof SessionsApiGetSessions - */ - readonly xPlexDevice?: any - - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof SessionsApiGetSessions - */ - readonly xPlexPlatformVersion?: any - - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof SessionsApiGetSessions - */ - readonly xPlexPlatform?: any - - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof SessionsApiGetSessions - */ - readonly xPlexProduct?: any - - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof SessionsApiGetSessions - */ - readonly xPlexProvides?: any - - /** - * Your application version number - * @type {any} - * @memberof SessionsApiGetSessions - */ - readonly xPlexVersion?: any -} - /** * SessionsApi - object-oriented interface * @export @@ -8465,25 +4899,23 @@ export class SessionsApi extends BaseAPI { /** * This will Retrieve a listing of all history views. * @summary Get Session History - * @param {SessionsApiGetSessionHistoryRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof SessionsApi */ - public getSessionHistory(requestParameters: SessionsApiGetSessionHistoryRequest = {}, axiosOptions?: AxiosRequestConfig) { - return SessionsApiFp(this.configuration).getSessionHistory(requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then((request) => request(this.axios, this.basePath)); + public getSessionHistory(axiosOptions?: AxiosRequestConfig) { + return SessionsApiFp(this.configuration).getSessionHistory(axiosOptions).then((request) => request(this.axios, this.basePath)); } /** * This will retrieve the \"Now Playing\" Information of the PMS. * @summary Get Active Sessions - * @param {SessionsApiGetSessionsRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof SessionsApi */ - public getSessions(requestParameters: SessionsApiGetSessionsRequest = {}, axiosOptions?: AxiosRequestConfig) { - return SessionsApiFp(this.configuration).getSessions(requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then((request) => request(this.axios, this.basePath)); + public getSessions(axiosOptions?: AxiosRequestConfig) { + return SessionsApiFp(this.configuration).getSessions(axiosOptions).then((request) => request(this.axios, this.basePath)); } } @@ -8499,17 +4931,10 @@ export const UpdaterApiAxiosParamCreator = function (configuration?: Configurati * @summary Apply Updates * @param {any} [tonight] Indicate that you want the update to run during the next Butler execution. Omitting this or setting it to false indicates that the update should install * @param {any} [skip] Indicate that the latest version should be marked as skipped. The <Release> entry for this version will have the `state` set to `skipped`. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - applyUpdates: async (tonight?: any, skip?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { + applyUpdates: async (tonight?: any, skip?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { const localVarPath = `/updater/apply`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -8522,10 +4947,16 @@ export const UpdaterApiAxiosParamCreator = function (configuration?: Configurati const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + + // authentication Host required + await setApiKeyToObject(localVarHeaderParameter, "Host", configuration) + + // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Token", configuration) if (tonight !== undefined) { @@ -8536,34 +4967,6 @@ export const UpdaterApiAxiosParamCreator = function (configuration?: Configurati localVarQueryParameter['skip'] = skip; } - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } - setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -8579,17 +4982,10 @@ export const UpdaterApiAxiosParamCreator = function (configuration?: Configurati * Checking for updates * @summary Checking for updates * @param {any} [download] Indicate that you want to start download any updates found. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - checkForUpdates: async (download?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { + checkForUpdates: async (download?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { const localVarPath = `/updater/check`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -8602,44 +4998,22 @@ export const UpdaterApiAxiosParamCreator = function (configuration?: Configurati const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + + // authentication Host required + await setApiKeyToObject(localVarHeaderParameter, "Host", configuration) + + // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Token", configuration) if (download !== undefined) { localVarQueryParameter['download'] = download; } - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } - setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -8654,17 +5028,10 @@ export const UpdaterApiAxiosParamCreator = function (configuration?: Configurati /** * Querying status of updates * @summary Querying status of updates - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - queryUpdateStatus: async (xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { + queryUpdateStatus: async (axiosOptions: AxiosRequestConfig = {}): Promise => { const localVarPath = `/updater/status`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -8677,40 +5044,18 @@ export const UpdaterApiAxiosParamCreator = function (configuration?: Configurati const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + + // authentication Host required + await setApiKeyToObject(localVarHeaderParameter, "Host", configuration) + + // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Token", configuration) - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } - setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -8737,53 +5082,32 @@ export const UpdaterApiFp = function(configuration?: Configuration) { * @summary Apply Updates * @param {any} [tonight] Indicate that you want the update to run during the next Butler execution. Omitting this or setting it to false indicates that the update should install * @param {any} [skip] Indicate that the latest version should be marked as skipped. The <Release> entry for this version will have the `state` set to `skipped`. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - async applyUpdates(tonight?: any, skip?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.applyUpdates(tonight, skip, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions); + async applyUpdates(tonight?: any, skip?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.applyUpdates(tonight, skip, axiosOptions); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** * Checking for updates * @summary Checking for updates * @param {any} [download] Indicate that you want to start download any updates found. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - async checkForUpdates(download?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.checkForUpdates(download, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions); + async checkForUpdates(download?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.checkForUpdates(download, axiosOptions); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** * Querying status of updates * @summary Querying status of updates - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - async queryUpdateStatus(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.queryUpdateStatus(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions); + async queryUpdateStatus(axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.queryUpdateStatus(axiosOptions); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, } @@ -8801,51 +5125,30 @@ export const UpdaterApiFactory = function (configuration?: Configuration, basePa * @summary Apply Updates * @param {any} [tonight] Indicate that you want the update to run during the next Butler execution. Omitting this or setting it to false indicates that the update should install * @param {any} [skip] Indicate that the latest version should be marked as skipped. The <Release> entry for this version will have the `state` set to `skipped`. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - applyUpdates(tonight?: any, skip?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise { - return localVarFp.applyUpdates(tonight, skip, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then((request) => request(axios, basePath)); + applyUpdates(tonight?: any, skip?: any, axiosOptions?: any): AxiosPromise { + return localVarFp.applyUpdates(tonight, skip, axiosOptions).then((request) => request(axios, basePath)); }, /** * Checking for updates * @summary Checking for updates * @param {any} [download] Indicate that you want to start download any updates found. - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - checkForUpdates(download?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise { - return localVarFp.checkForUpdates(download, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then((request) => request(axios, basePath)); + checkForUpdates(download?: any, axiosOptions?: any): AxiosPromise { + return localVarFp.checkForUpdates(download, axiosOptions).then((request) => request(axios, basePath)); }, /** * Querying status of updates * @summary Querying status of updates - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - queryUpdateStatus(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise { - return localVarFp.queryUpdateStatus(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then((request) => request(axios, basePath)); + queryUpdateStatus(axiosOptions?: any): AxiosPromise { + return localVarFp.queryUpdateStatus(axiosOptions).then((request) => request(axios, basePath)); }, }; }; @@ -8869,55 +5172,6 @@ export interface UpdaterApiApplyUpdatesRequest { * @memberof UpdaterApiApplyUpdates */ readonly skip?: any - - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof UpdaterApiApplyUpdates - */ - readonly xPlexDeviceName?: any - - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof UpdaterApiApplyUpdates - */ - readonly xPlexDevice?: any - - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof UpdaterApiApplyUpdates - */ - readonly xPlexPlatformVersion?: any - - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof UpdaterApiApplyUpdates - */ - readonly xPlexPlatform?: any - - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof UpdaterApiApplyUpdates - */ - readonly xPlexProduct?: any - - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof UpdaterApiApplyUpdates - */ - readonly xPlexProvides?: any - - /** - * Your application version number - * @type {any} - * @memberof UpdaterApiApplyUpdates - */ - readonly xPlexVersion?: any } /** @@ -8932,111 +5186,6 @@ export interface UpdaterApiCheckForUpdatesRequest { * @memberof UpdaterApiCheckForUpdates */ readonly download?: any - - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof UpdaterApiCheckForUpdates - */ - readonly xPlexDeviceName?: any - - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof UpdaterApiCheckForUpdates - */ - readonly xPlexDevice?: any - - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof UpdaterApiCheckForUpdates - */ - readonly xPlexPlatformVersion?: any - - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof UpdaterApiCheckForUpdates - */ - readonly xPlexPlatform?: any - - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof UpdaterApiCheckForUpdates - */ - readonly xPlexProduct?: any - - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof UpdaterApiCheckForUpdates - */ - readonly xPlexProvides?: any - - /** - * Your application version number - * @type {any} - * @memberof UpdaterApiCheckForUpdates - */ - readonly xPlexVersion?: any -} - -/** - * Request parameters for queryUpdateStatus operation in UpdaterApi. - * @export - * @interface UpdaterApiQueryUpdateStatusRequest - */ -export interface UpdaterApiQueryUpdateStatusRequest { - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof UpdaterApiQueryUpdateStatus - */ - readonly xPlexDeviceName?: any - - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof UpdaterApiQueryUpdateStatus - */ - readonly xPlexDevice?: any - - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof UpdaterApiQueryUpdateStatus - */ - readonly xPlexPlatformVersion?: any - - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof UpdaterApiQueryUpdateStatus - */ - readonly xPlexPlatform?: any - - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof UpdaterApiQueryUpdateStatus - */ - readonly xPlexProduct?: any - - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof UpdaterApiQueryUpdateStatus - */ - readonly xPlexProvides?: any - - /** - * Your application version number - * @type {any} - * @memberof UpdaterApiQueryUpdateStatus - */ - readonly xPlexVersion?: any } /** @@ -9055,7 +5204,7 @@ export class UpdaterApi extends BaseAPI { * @memberof UpdaterApi */ public applyUpdates(requestParameters: UpdaterApiApplyUpdatesRequest = {}, axiosOptions?: AxiosRequestConfig) { - return UpdaterApiFp(this.configuration).applyUpdates(requestParameters.tonight, requestParameters.skip, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then((request) => request(this.axios, this.basePath)); + return UpdaterApiFp(this.configuration).applyUpdates(requestParameters.tonight, requestParameters.skip, axiosOptions).then((request) => request(this.axios, this.basePath)); } /** @@ -9067,19 +5216,18 @@ export class UpdaterApi extends BaseAPI { * @memberof UpdaterApi */ public checkForUpdates(requestParameters: UpdaterApiCheckForUpdatesRequest = {}, axiosOptions?: AxiosRequestConfig) { - return UpdaterApiFp(this.configuration).checkForUpdates(requestParameters.download, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then((request) => request(this.axios, this.basePath)); + return UpdaterApiFp(this.configuration).checkForUpdates(requestParameters.download, axiosOptions).then((request) => request(this.axios, this.basePath)); } /** * Querying status of updates * @summary Querying status of updates - * @param {UpdaterApiQueryUpdateStatusRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof UpdaterApi */ - public queryUpdateStatus(requestParameters: UpdaterApiQueryUpdateStatusRequest = {}, axiosOptions?: AxiosRequestConfig) { - return UpdaterApiFp(this.configuration).queryUpdateStatus(requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then((request) => request(this.axios, this.basePath)); + public queryUpdateStatus(axiosOptions?: AxiosRequestConfig) { + return UpdaterApiFp(this.configuration).queryUpdateStatus(axiosOptions).then((request) => request(this.axios, this.basePath)); } } @@ -9093,17 +5241,10 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration) /** * Get Logged in User * @summary Get Logged in User - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getUserDetails: async (xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions: AxiosRequestConfig = {}): Promise => { + getUserDetails: async (axiosOptions: AxiosRequestConfig = {}): Promise => { const localVarPath = `/user`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -9116,40 +5257,18 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration) const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - // authentication PlexClientIdentifier required + // authentication ClientIdentifier required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Client-Identifier", configuration) - // authentication PlexToken required + // authentication DeviceName required + await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Device-Name", configuration) + + // authentication Host required + await setApiKeyToObject(localVarHeaderParameter, "Host", configuration) + + // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "X-Plex-Token", configuration) - if (xPlexDeviceName !== undefined && xPlexDeviceName !== null) { - localVarHeaderParameter['X-Plex-Device-Name'] = String(JSON.stringify(xPlexDeviceName)); - } - - if (xPlexDevice !== undefined && xPlexDevice !== null) { - localVarHeaderParameter['X-Plex-Device'] = String(JSON.stringify(xPlexDevice)); - } - - if (xPlexPlatformVersion !== undefined && xPlexPlatformVersion !== null) { - localVarHeaderParameter['X-Plex-Platform-Version'] = String(JSON.stringify(xPlexPlatformVersion)); - } - - if (xPlexPlatform !== undefined && xPlexPlatform !== null) { - localVarHeaderParameter['X-Plex-Platform'] = String(JSON.stringify(xPlexPlatform)); - } - - if (xPlexProduct !== undefined && xPlexProduct !== null) { - localVarHeaderParameter['X-Plex-Product'] = String(JSON.stringify(xPlexProduct)); - } - - if (xPlexProvides !== undefined && xPlexProvides !== null) { - localVarHeaderParameter['X-Plex-Provides'] = String(JSON.stringify(xPlexProvides)); - } - - if (xPlexVersion !== undefined && xPlexVersion !== null) { - localVarHeaderParameter['X-Plex-Version'] = String(JSON.stringify(xPlexVersion)); - } - setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -9174,18 +5293,11 @@ export const UserApiFp = function(configuration?: Configuration) { /** * Get Logged in User * @summary Get Logged in User - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - async getUserDetails(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getUserDetails(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions); + async getUserDetails(axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getUserDetails(axiosOptions); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, } @@ -9201,78 +5313,15 @@ export const UserApiFactory = function (configuration?: Configuration, basePath? /** * Get Logged in User * @summary Get Logged in User - * @param {any} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)` - * @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @param {any} [xPlexPlatform] Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @param {any} [xPlexProduct] Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @param {any} [xPlexProvides] One or more of `[player, controller, server]` - * @param {any} [xPlexVersion] Your application version number * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} */ - getUserDetails(xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise { - return localVarFp.getUserDetails(xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then((request) => request(axios, basePath)); + getUserDetails(axiosOptions?: any): AxiosPromise { + return localVarFp.getUserDetails(axiosOptions).then((request) => request(axios, basePath)); }, }; }; -/** - * Request parameters for getUserDetails operation in UserApi. - * @export - * @interface UserApiGetUserDetailsRequest - */ -export interface UserApiGetUserDetailsRequest { - /** - * Primary name for the device eg. `Plex Web (Chrome)` - * @type {any} - * @memberof UserApiGetUserDetails - */ - readonly xPlexDeviceName?: any - - /** - * The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV` - * @type {any} - * @memberof UserApiGetUserDetails - */ - readonly xPlexDevice?: any - - /** - * Operating system version, eg `4.3.1`, `10.6.7`, `3.2` - * @type {any} - * @memberof UserApiGetUserDetails - */ - readonly xPlexPlatformVersion?: any - - /** - * Platform name, eg `Web`, `iOS`, `MacOSX`, `Android`, `LG` - * @type {any} - * @memberof UserApiGetUserDetails - */ - readonly xPlexPlatform?: any - - /** - * Plex application name, eg `Laika`, `Plex Media Server`, `Media Link` - * @type {any} - * @memberof UserApiGetUserDetails - */ - readonly xPlexProduct?: any - - /** - * One or more of `[player, controller, server]` - * @type {any} - * @memberof UserApiGetUserDetails - */ - readonly xPlexProvides?: any - - /** - * Your application version number - * @type {any} - * @memberof UserApiGetUserDetails - */ - readonly xPlexVersion?: any -} - /** * UserApi - object-oriented interface * @export @@ -9283,13 +5332,12 @@ export class UserApi extends BaseAPI { /** * Get Logged in User * @summary Get Logged in User - * @param {UserApiGetUserDetailsRequest} requestParameters Request parameters. * @param {*} [axiosOptions] Override http request option. * @throws {RequiredError} * @memberof UserApi */ - public getUserDetails(requestParameters: UserApiGetUserDetailsRequest = {}, axiosOptions?: AxiosRequestConfig) { - return UserApiFp(this.configuration).getUserDetails(requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then((request) => request(this.axios, this.basePath)); + public getUserDetails(axiosOptions?: AxiosRequestConfig) { + return UserApiFp(this.configuration).getUserDetails(axiosOptions).then((request) => request(this.axios, this.basePath)); } }