mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 12:37:46 +00:00
Automated build 'Merge branch 'main' of https://github.com/LukeHagar/plex-api-spec' typescript-axios sdk: 4681161204
This commit is contained in:
24
dist/sdk-output/api.d.ts
vendored
24
dist/sdk-output/api.d.ts
vendored
@@ -651,8 +651,8 @@ export declare const AuthenticationApiAxiosParamCreator: (configuration?: Config
|
|||||||
/**
|
/**
|
||||||
* Retrieve a Pin from Plex.tv for authentication flows
|
* Retrieve a Pin from Plex.tv for authentication flows
|
||||||
* @summary Get a Pin
|
* @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} xPlexClientIdentifier Unique Id, UUID, serial number, or other number unique per device that identifies your client
|
* @param {any} xPlexClientIdentifier Unique Id, UUID, serial number, or other number unique per device that identifies your client
|
||||||
|
* @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} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)`
|
||||||
* @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV`
|
* @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV`
|
||||||
* @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2`
|
* @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2`
|
||||||
@@ -663,7 +663,7 @@ export declare const AuthenticationApiAxiosParamCreator: (configuration?: Config
|
|||||||
* @param {*} [axiosOptions] Override http request option.
|
* @param {*} [axiosOptions] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
getPin: (strong: any, xPlexClientIdentifier: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig) => Promise<RequestArgs>;
|
getPin: (xPlexClientIdentifier: any, strong?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig) => Promise<RequestArgs>;
|
||||||
/**
|
/**
|
||||||
* Retrieve a Pin from Plex.tv for authentication flows
|
* Retrieve a Pin from Plex.tv for authentication flows
|
||||||
* @summary Get Access Token
|
* @summary Get Access Token
|
||||||
@@ -689,8 +689,8 @@ export declare const AuthenticationApiFp: (configuration?: Configuration) => {
|
|||||||
/**
|
/**
|
||||||
* Retrieve a Pin from Plex.tv for authentication flows
|
* Retrieve a Pin from Plex.tv for authentication flows
|
||||||
* @summary Get a Pin
|
* @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} xPlexClientIdentifier Unique Id, UUID, serial number, or other number unique per device that identifies your client
|
* @param {any} xPlexClientIdentifier Unique Id, UUID, serial number, or other number unique per device that identifies your client
|
||||||
|
* @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} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)`
|
||||||
* @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV`
|
* @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV`
|
||||||
* @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2`
|
* @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2`
|
||||||
@@ -701,7 +701,7 @@ export declare const AuthenticationApiFp: (configuration?: Configuration) => {
|
|||||||
* @param {*} [axiosOptions] Override http request option.
|
* @param {*} [axiosOptions] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
getPin(strong: any, xPlexClientIdentifier: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPin200Response>>;
|
getPin(xPlexClientIdentifier: any, strong?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPin200Response>>;
|
||||||
/**
|
/**
|
||||||
* Retrieve a Pin from Plex.tv for authentication flows
|
* Retrieve a Pin from Plex.tv for authentication flows
|
||||||
* @summary Get Access Token
|
* @summary Get Access Token
|
||||||
@@ -727,8 +727,8 @@ export declare const AuthenticationApiFactory: (configuration?: Configuration, b
|
|||||||
/**
|
/**
|
||||||
* Retrieve a Pin from Plex.tv for authentication flows
|
* Retrieve a Pin from Plex.tv for authentication flows
|
||||||
* @summary Get a Pin
|
* @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} xPlexClientIdentifier Unique Id, UUID, serial number, or other number unique per device that identifies your client
|
* @param {any} xPlexClientIdentifier Unique Id, UUID, serial number, or other number unique per device that identifies your client
|
||||||
|
* @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} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)`
|
||||||
* @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV`
|
* @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV`
|
||||||
* @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2`
|
* @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2`
|
||||||
@@ -739,7 +739,7 @@ export declare const AuthenticationApiFactory: (configuration?: Configuration, b
|
|||||||
* @param {*} [axiosOptions] Override http request option.
|
* @param {*} [axiosOptions] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
getPin(strong: any, xPlexClientIdentifier: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise<GetPin200Response>;
|
getPin(xPlexClientIdentifier: any, strong?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise<GetPin200Response>;
|
||||||
/**
|
/**
|
||||||
* Retrieve a Pin from Plex.tv for authentication flows
|
* Retrieve a Pin from Plex.tv for authentication flows
|
||||||
* @summary Get Access Token
|
* @summary Get Access Token
|
||||||
@@ -763,18 +763,18 @@ export declare const AuthenticationApiFactory: (configuration?: Configuration, b
|
|||||||
* @interface AuthenticationApiGetPinRequest
|
* @interface AuthenticationApiGetPinRequest
|
||||||
*/
|
*/
|
||||||
export interface AuthenticationApiGetPinRequest {
|
export interface AuthenticationApiGetPinRequest {
|
||||||
/**
|
|
||||||
* 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`
|
|
||||||
* @type {any}
|
|
||||||
* @memberof AuthenticationApiGetPin
|
|
||||||
*/
|
|
||||||
readonly strong: any;
|
|
||||||
/**
|
/**
|
||||||
* Unique Id, UUID, serial number, or other number unique per device that identifies your client
|
* Unique Id, UUID, serial number, or other number unique per device that identifies your client
|
||||||
* @type {any}
|
* @type {any}
|
||||||
* @memberof AuthenticationApiGetPin
|
* @memberof AuthenticationApiGetPin
|
||||||
*/
|
*/
|
||||||
readonly xPlexClientIdentifier: any;
|
readonly xPlexClientIdentifier: any;
|
||||||
|
/**
|
||||||
|
* 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`
|
||||||
|
* @type {any}
|
||||||
|
* @memberof AuthenticationApiGetPin
|
||||||
|
*/
|
||||||
|
readonly strong?: any;
|
||||||
/**
|
/**
|
||||||
* Primary name for the device eg. `Plex Web (Chrome)`
|
* Primary name for the device eg. `Plex Web (Chrome)`
|
||||||
* @type {any}
|
* @type {any}
|
||||||
|
|||||||
20
dist/sdk-output/api.js
vendored
20
dist/sdk-output/api.js
vendored
@@ -296,8 +296,8 @@ var AuthenticationApiAxiosParamCreator = function (configuration) {
|
|||||||
/**
|
/**
|
||||||
* Retrieve a Pin from Plex.tv for authentication flows
|
* Retrieve a Pin from Plex.tv for authentication flows
|
||||||
* @summary Get a Pin
|
* @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} xPlexClientIdentifier Unique Id, UUID, serial number, or other number unique per device that identifies your client
|
* @param {any} xPlexClientIdentifier Unique Id, UUID, serial number, or other number unique per device that identifies your client
|
||||||
|
* @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} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)`
|
||||||
* @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV`
|
* @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV`
|
||||||
* @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2`
|
* @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2`
|
||||||
@@ -308,15 +308,13 @@ var AuthenticationApiAxiosParamCreator = function (configuration) {
|
|||||||
* @param {*} [axiosOptions] Override http request option.
|
* @param {*} [axiosOptions] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
getPin: function (strong, xPlexClientIdentifier, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) {
|
getPin: function (xPlexClientIdentifier, strong, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) {
|
||||||
if (axiosOptions === void 0) { axiosOptions = {}; }
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
||||||
return __awaiter(_this, void 0, void 0, function () {
|
return __awaiter(_this, void 0, void 0, function () {
|
||||||
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
||||||
return __generator(this, function (_a) {
|
return __generator(this, function (_a) {
|
||||||
switch (_a.label) {
|
switch (_a.label) {
|
||||||
case 0:
|
case 0:
|
||||||
// verify required parameter 'strong' is not null or undefined
|
|
||||||
(0, common_1.assertParamExists)('getPin', 'strong', strong);
|
|
||||||
// verify required parameter 'xPlexClientIdentifier' is not null or undefined
|
// verify required parameter 'xPlexClientIdentifier' is not null or undefined
|
||||||
(0, common_1.assertParamExists)('getPin', 'xPlexClientIdentifier', xPlexClientIdentifier);
|
(0, common_1.assertParamExists)('getPin', 'xPlexClientIdentifier', xPlexClientIdentifier);
|
||||||
localVarPath = "/pins";
|
localVarPath = "/pins";
|
||||||
@@ -458,8 +456,8 @@ var AuthenticationApiFp = function (configuration) {
|
|||||||
/**
|
/**
|
||||||
* Retrieve a Pin from Plex.tv for authentication flows
|
* Retrieve a Pin from Plex.tv for authentication flows
|
||||||
* @summary Get a Pin
|
* @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} xPlexClientIdentifier Unique Id, UUID, serial number, or other number unique per device that identifies your client
|
* @param {any} xPlexClientIdentifier Unique Id, UUID, serial number, or other number unique per device that identifies your client
|
||||||
|
* @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} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)`
|
||||||
* @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV`
|
* @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV`
|
||||||
* @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2`
|
* @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2`
|
||||||
@@ -470,12 +468,12 @@ var AuthenticationApiFp = function (configuration) {
|
|||||||
* @param {*} [axiosOptions] Override http request option.
|
* @param {*} [axiosOptions] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
getPin: function (strong, xPlexClientIdentifier, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) {
|
getPin: function (xPlexClientIdentifier, strong, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) {
|
||||||
return __awaiter(this, void 0, void 0, function () {
|
return __awaiter(this, void 0, void 0, function () {
|
||||||
var localVarAxiosArgs;
|
var localVarAxiosArgs;
|
||||||
return __generator(this, function (_a) {
|
return __generator(this, function (_a) {
|
||||||
switch (_a.label) {
|
switch (_a.label) {
|
||||||
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPin(strong, xPlexClientIdentifier, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions)];
|
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPin(xPlexClientIdentifier, strong, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions)];
|
||||||
case 1:
|
case 1:
|
||||||
localVarAxiosArgs = _a.sent();
|
localVarAxiosArgs = _a.sent();
|
||||||
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
||||||
@@ -524,8 +522,8 @@ var AuthenticationApiFactory = function (configuration, basePath, axios) {
|
|||||||
/**
|
/**
|
||||||
* Retrieve a Pin from Plex.tv for authentication flows
|
* Retrieve a Pin from Plex.tv for authentication flows
|
||||||
* @summary Get a Pin
|
* @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} xPlexClientIdentifier Unique Id, UUID, serial number, or other number unique per device that identifies your client
|
* @param {any} xPlexClientIdentifier Unique Id, UUID, serial number, or other number unique per device that identifies your client
|
||||||
|
* @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} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)`
|
||||||
* @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV`
|
* @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV`
|
||||||
* @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2`
|
* @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2`
|
||||||
@@ -536,8 +534,8 @@ var AuthenticationApiFactory = function (configuration, basePath, axios) {
|
|||||||
* @param {*} [axiosOptions] Override http request option.
|
* @param {*} [axiosOptions] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
getPin: function (strong, xPlexClientIdentifier, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) {
|
getPin: function (xPlexClientIdentifier, strong, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions) {
|
||||||
return localVarFp.getPin(strong, xPlexClientIdentifier, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then(function (request) { return request(axios, basePath); });
|
return localVarFp.getPin(xPlexClientIdentifier, strong, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then(function (request) { return request(axios, basePath); });
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Retrieve a Pin from Plex.tv for authentication flows
|
* Retrieve a Pin from Plex.tv for authentication flows
|
||||||
@@ -581,7 +579,7 @@ var AuthenticationApi = /** @class */ (function (_super) {
|
|||||||
*/
|
*/
|
||||||
AuthenticationApi.prototype.getPin = function (requestParameters, axiosOptions) {
|
AuthenticationApi.prototype.getPin = function (requestParameters, axiosOptions) {
|
||||||
var _this = this;
|
var _this = this;
|
||||||
return (0, exports.AuthenticationApiFp)(this.configuration).getPin(requestParameters.strong, requestParameters.xPlexClientIdentifier, 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.xPlexClientIdentifier, 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); });
|
||||||
};
|
};
|
||||||
/**
|
/**
|
||||||
* Retrieve a Pin from Plex.tv for authentication flows
|
* Retrieve a Pin from Plex.tv for authentication flows
|
||||||
|
|||||||
2
dist/sdk-output/api.js.map
vendored
2
dist/sdk-output/api.js.map
vendored
File diff suppressed because one or more lines are too long
@@ -746,8 +746,8 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf
|
|||||||
/**
|
/**
|
||||||
* Retrieve a Pin from Plex.tv for authentication flows
|
* Retrieve a Pin from Plex.tv for authentication flows
|
||||||
* @summary Get a Pin
|
* @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} xPlexClientIdentifier Unique Id, UUID, serial number, or other number unique per device that identifies your client
|
* @param {any} xPlexClientIdentifier Unique Id, UUID, serial number, or other number unique per device that identifies your client
|
||||||
|
* @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} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)`
|
||||||
* @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV`
|
* @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV`
|
||||||
* @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2`
|
* @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2`
|
||||||
@@ -758,9 +758,7 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf
|
|||||||
* @param {*} [axiosOptions] Override http request option.
|
* @param {*} [axiosOptions] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
getPin: async (strong: any, xPlexClientIdentifier: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
getPin: async (xPlexClientIdentifier: any, strong?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||||
// verify required parameter 'strong' is not null or undefined
|
|
||||||
assertParamExists('getPin', 'strong', strong)
|
|
||||||
// verify required parameter 'xPlexClientIdentifier' is not null or undefined
|
// verify required parameter 'xPlexClientIdentifier' is not null or undefined
|
||||||
assertParamExists('getPin', 'xPlexClientIdentifier', xPlexClientIdentifier)
|
assertParamExists('getPin', 'xPlexClientIdentifier', xPlexClientIdentifier)
|
||||||
const localVarPath = `/pins`;
|
const localVarPath = `/pins`;
|
||||||
@@ -917,8 +915,8 @@ export const AuthenticationApiFp = function(configuration?: Configuration) {
|
|||||||
/**
|
/**
|
||||||
* Retrieve a Pin from Plex.tv for authentication flows
|
* Retrieve a Pin from Plex.tv for authentication flows
|
||||||
* @summary Get a Pin
|
* @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} xPlexClientIdentifier Unique Id, UUID, serial number, or other number unique per device that identifies your client
|
* @param {any} xPlexClientIdentifier Unique Id, UUID, serial number, or other number unique per device that identifies your client
|
||||||
|
* @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} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)`
|
||||||
* @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV`
|
* @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV`
|
||||||
* @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2`
|
* @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2`
|
||||||
@@ -929,8 +927,8 @@ export const AuthenticationApiFp = function(configuration?: Configuration) {
|
|||||||
* @param {*} [axiosOptions] Override http request option.
|
* @param {*} [axiosOptions] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
async getPin(strong: any, xPlexClientIdentifier: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPin200Response>> {
|
async getPin(xPlexClientIdentifier: any, strong?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPin200Response>> {
|
||||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getPin(strong, xPlexClientIdentifier, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions);
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getPin(xPlexClientIdentifier, strong, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions);
|
||||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
@@ -965,8 +963,8 @@ export const AuthenticationApiFactory = function (configuration?: Configuration,
|
|||||||
/**
|
/**
|
||||||
* Retrieve a Pin from Plex.tv for authentication flows
|
* Retrieve a Pin from Plex.tv for authentication flows
|
||||||
* @summary Get a Pin
|
* @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} xPlexClientIdentifier Unique Id, UUID, serial number, or other number unique per device that identifies your client
|
* @param {any} xPlexClientIdentifier Unique Id, UUID, serial number, or other number unique per device that identifies your client
|
||||||
|
* @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} [xPlexDeviceName] Primary name for the device eg. `Plex Web (Chrome)`
|
||||||
* @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV`
|
* @param {any} [xPlexDevice] The type of device your application is running on Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV`
|
||||||
* @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2`
|
* @param {any} [xPlexPlatformVersion] Operating system version, eg `4.3.1`, `10.6.7`, `3.2`
|
||||||
@@ -977,8 +975,8 @@ export const AuthenticationApiFactory = function (configuration?: Configuration,
|
|||||||
* @param {*} [axiosOptions] Override http request option.
|
* @param {*} [axiosOptions] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
getPin(strong: any, xPlexClientIdentifier: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise<GetPin200Response> {
|
getPin(xPlexClientIdentifier: any, strong?: any, xPlexDeviceName?: any, xPlexDevice?: any, xPlexPlatformVersion?: any, xPlexPlatform?: any, xPlexProduct?: any, xPlexProvides?: any, xPlexVersion?: any, axiosOptions?: any): AxiosPromise<GetPin200Response> {
|
||||||
return localVarFp.getPin(strong, xPlexClientIdentifier, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then((request) => request(axios, basePath));
|
return localVarFp.getPin(xPlexClientIdentifier, strong, xPlexDeviceName, xPlexDevice, xPlexPlatformVersion, xPlexPlatform, xPlexProduct, xPlexProvides, xPlexVersion, axiosOptions).then((request) => request(axios, basePath));
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Retrieve a Pin from Plex.tv for authentication flows
|
* Retrieve a Pin from Plex.tv for authentication flows
|
||||||
@@ -1007,13 +1005,6 @@ export const AuthenticationApiFactory = function (configuration?: Configuration,
|
|||||||
* @interface AuthenticationApiGetPinRequest
|
* @interface AuthenticationApiGetPinRequest
|
||||||
*/
|
*/
|
||||||
export interface AuthenticationApiGetPinRequest {
|
export interface AuthenticationApiGetPinRequest {
|
||||||
/**
|
|
||||||
* 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`
|
|
||||||
* @type {any}
|
|
||||||
* @memberof AuthenticationApiGetPin
|
|
||||||
*/
|
|
||||||
readonly strong: any
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Unique Id, UUID, serial number, or other number unique per device that identifies your client
|
* Unique Id, UUID, serial number, or other number unique per device that identifies your client
|
||||||
* @type {any}
|
* @type {any}
|
||||||
@@ -1021,6 +1012,13 @@ export interface AuthenticationApiGetPinRequest {
|
|||||||
*/
|
*/
|
||||||
readonly xPlexClientIdentifier: any
|
readonly xPlexClientIdentifier: any
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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`
|
||||||
|
* @type {any}
|
||||||
|
* @memberof AuthenticationApiGetPin
|
||||||
|
*/
|
||||||
|
readonly strong?: any
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Primary name for the device eg. `Plex Web (Chrome)`
|
* Primary name for the device eg. `Plex Web (Chrome)`
|
||||||
* @type {any}
|
* @type {any}
|
||||||
@@ -1157,7 +1155,7 @@ export class AuthenticationApi extends BaseAPI {
|
|||||||
* @memberof AuthenticationApi
|
* @memberof AuthenticationApi
|
||||||
*/
|
*/
|
||||||
public getPin(requestParameters: AuthenticationApiGetPinRequest, axiosOptions?: AxiosRequestConfig) {
|
public getPin(requestParameters: AuthenticationApiGetPinRequest, axiosOptions?: AxiosRequestConfig) {
|
||||||
return AuthenticationApiFp(this.configuration).getPin(requestParameters.strong, requestParameters.xPlexClientIdentifier, 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.xPlexClientIdentifier, requestParameters.strong, requestParameters.xPlexDeviceName, requestParameters.xPlexDevice, requestParameters.xPlexPlatformVersion, requestParameters.xPlexPlatform, requestParameters.xPlexProduct, requestParameters.xPlexProvides, requestParameters.xPlexVersion, axiosOptions).then((request) => request(this.axios, this.basePath));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user