mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 12:37:46 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2492807c65 |
@@ -1,12 +1,12 @@
|
|||||||
lockVersion: 2.0.0
|
lockVersion: 2.0.0
|
||||||
id: 16f22cbf-f23f-4419-8924-3a4b06381947
|
id: 16f22cbf-f23f-4419-8924-3a4b06381947
|
||||||
management:
|
management:
|
||||||
docChecksum: f12b653820ae77ca3b2820bc9459d866
|
docChecksum: 8211d52d43d85f28d036343732de833a
|
||||||
docVersion: 0.0.3
|
docVersion: 0.0.3
|
||||||
speakeasyVersion: 1.405.6
|
speakeasyVersion: 1.405.6
|
||||||
generationVersion: 2.428.1
|
generationVersion: 2.428.1
|
||||||
releaseVersion: 0.24.0
|
releaseVersion: 0.24.1
|
||||||
configChecksum: 12acbc7182c6906e6ba67c064cf39c2c
|
configChecksum: 3e2876ee2c8211e7dbed88c3d78e86ed
|
||||||
repoURL: https://github.com/LukeHagar/plexjs.git
|
repoURL: https://github.com/LukeHagar/plexjs.git
|
||||||
repoSubDirectory: .
|
repoSubDirectory: .
|
||||||
installationURL: https://github.com/LukeHagar/plexjs
|
installationURL: https://github.com/LukeHagar/plexjs
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ generation:
|
|||||||
auth:
|
auth:
|
||||||
oAuth2ClientCredentialsEnabled: true
|
oAuth2ClientCredentialsEnabled: true
|
||||||
typescript:
|
typescript:
|
||||||
version: 0.24.0
|
version: 0.24.1
|
||||||
additionalDependencies:
|
additionalDependencies:
|
||||||
dependencies: {}
|
dependencies: {}
|
||||||
devDependencies: {}
|
devDependencies: {}
|
||||||
|
|||||||
@@ -9,8 +9,8 @@ sources:
|
|||||||
- main
|
- main
|
||||||
plexapi:
|
plexapi:
|
||||||
sourceNamespace: plexapi
|
sourceNamespace: plexapi
|
||||||
sourceRevisionDigest: sha256:c52cde0b8d51e160f7b9f1a3d3ea4dbb1aca6d5caad714e549201fb757fadd57
|
sourceRevisionDigest: sha256:b377f79289070406b0d4adcf59fa6886c6c90cb13a7893c07b44cae956ee25e4
|
||||||
sourceBlobDigest: sha256:f417b03ff71356808554313f24c3d06d670474bf51bc9a0631de1ad49c13a361
|
sourceBlobDigest: sha256:92072097f693005146db1ceb5728eee08693d61bb5578b26c32dcbe1cc32927f
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
- main
|
- main
|
||||||
@@ -18,10 +18,10 @@ targets:
|
|||||||
plexjs:
|
plexjs:
|
||||||
source: plexapi
|
source: plexapi
|
||||||
sourceNamespace: plexapi
|
sourceNamespace: plexapi
|
||||||
sourceRevisionDigest: sha256:c52cde0b8d51e160f7b9f1a3d3ea4dbb1aca6d5caad714e549201fb757fadd57
|
sourceRevisionDigest: sha256:b377f79289070406b0d4adcf59fa6886c6c90cb13a7893c07b44cae956ee25e4
|
||||||
sourceBlobDigest: sha256:f417b03ff71356808554313f24c3d06d670474bf51bc9a0631de1ad49c13a361
|
sourceBlobDigest: sha256:92072097f693005146db1ceb5728eee08693d61bb5578b26c32dcbe1cc32927f
|
||||||
codeSamplesNamespace: code-samples-typescript-plexjs
|
codeSamplesNamespace: code-samples-typescript-plexjs
|
||||||
codeSamplesRevisionDigest: sha256:0f48dbf8695dfd00a5ebd3fec72c0d71282b0d395790fe53811866c2756be38d
|
codeSamplesRevisionDigest: sha256:d2b20286cc2cb6f6ffcd416a467a29872b97bcc88d2e1ffe51e681666ef7ed17
|
||||||
workflow:
|
workflow:
|
||||||
workflowVersion: 1.0.0
|
workflowVersion: 1.0.0
|
||||||
speakeasyVersion: latest
|
speakeasyVersion: latest
|
||||||
|
|||||||
@@ -630,10 +630,10 @@ The following global parameters are available.
|
|||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
| ---- | ---- |:--------:| ----------- |
|
| ---- | ---- |:--------:| ----------- |
|
||||||
| clientID | string | | The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device) |
|
| clientID | string | | The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device) |
|
||||||
| clientName | string | | The clientName parameter. |
|
| clientName | string | | The name of the client application. This is used to track the client application and its usage. (Plex Web, Plex Media Server, etc.) |
|
||||||
| clientVersion | string | | The clientVersion parameter. |
|
| clientVersion | string | | The version of the client application. This is used to track the client application and its usage. (4.133.0, 5.0.0, etc.) |
|
||||||
| clientPlatform | string | | The clientPlatform parameter. |
|
| clientPlatform | string | | The platform of the client application. This is used to track the client application and its usage. (Chrome, Safari, etc.) |
|
||||||
| deviceName | string | | The deviceName parameter. |
|
| deviceName | string | | The name of the device the client application is running on. This is used to track the client application and its usage. (Linux, iOS, Android, etc.) |
|
||||||
|
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|||||||
10
RELEASES.md
10
RELEASES.md
@@ -1079,3 +1079,13 @@ Based on:
|
|||||||
- [typescript v0.24.0] .
|
- [typescript v0.24.0] .
|
||||||
### Releases
|
### Releases
|
||||||
- [NPM v0.24.0] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.24.0 - .
|
- [NPM v0.24.0] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.24.0 - .
|
||||||
|
|
||||||
|
## 2024-10-01 15:35:33
|
||||||
|
### Changes
|
||||||
|
Based on:
|
||||||
|
- OpenAPI Doc
|
||||||
|
- Speakeasy CLI 1.405.6 (2.428.1) https://github.com/speakeasy-api/speakeasy
|
||||||
|
### Generated
|
||||||
|
- [typescript v0.24.1] .
|
||||||
|
### Releases
|
||||||
|
- [NPM v0.24.1] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.24.1 - .
|
||||||
@@ -13,7 +13,7 @@ let value: GetPinGlobals = {};
|
|||||||
| Field | Type | Required | Description | Example |
|
| Field | Type | Required | Description | Example |
|
||||||
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| `clientID` | *string* | :heavy_minus_sign: | The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device) | gcgzw5rz2xovp84b4vha3a40 |
|
| `clientID` | *string* | :heavy_minus_sign: | The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device) | gcgzw5rz2xovp84b4vha3a40 |
|
||||||
| `clientName` | *string* | :heavy_minus_sign: | N/A | Plex Web |
|
| `clientName` | *string* | :heavy_minus_sign: | The name of the client application. This is used to track the client application and its usage. (Plex Web, Plex Media Server, etc.) | Plex Web |
|
||||||
| `deviceName` | *string* | :heavy_minus_sign: | N/A | Linux |
|
| `deviceName` | *string* | :heavy_minus_sign: | The name of the device the client application is running on. This is used to track the client application and its usage. (Linux, iOS, Android, etc.) | Linux |
|
||||||
| `clientVersion` | *string* | :heavy_minus_sign: | N/A | 4.133.0 |
|
| `clientVersion` | *string* | :heavy_minus_sign: | The version of the client application. This is used to track the client application and its usage. (4.133.0, 5.0.0, etc.) | 4.133.0 |
|
||||||
| `clientPlatform` | *string* | :heavy_minus_sign: | N/A | Chrome |
|
| `clientPlatform` | *string* | :heavy_minus_sign: | The platform of the client application. This is used to track the client application and its usage. (Chrome, Safari, etc.) | Chrome |
|
||||||
@@ -14,7 +14,7 @@ let value: GetPinRequest = {};
|
|||||||
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| `strong` | *boolean* | :heavy_minus_sign: | Determines the kind of code returned by the API call<br/>Strong codes are used for Pin authentication flows<br/>Non-Strong codes are used for `Plex.tv/link`<br/> | |
|
| `strong` | *boolean* | :heavy_minus_sign: | Determines the kind of code returned by the API call<br/>Strong codes are used for Pin authentication flows<br/>Non-Strong codes are used for `Plex.tv/link`<br/> | |
|
||||||
| `clientID` | *string* | :heavy_minus_sign: | The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device) | gcgzw5rz2xovp84b4vha3a40 |
|
| `clientID` | *string* | :heavy_minus_sign: | The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device) | gcgzw5rz2xovp84b4vha3a40 |
|
||||||
| `clientName` | *string* | :heavy_minus_sign: | N/A | Plex Web |
|
| `clientName` | *string* | :heavy_minus_sign: | The name of the client application. This is used to track the client application and its usage. (Plex Web, Plex Media Server, etc.) | Plex Web |
|
||||||
| `deviceName` | *string* | :heavy_minus_sign: | N/A | Linux |
|
| `deviceName` | *string* | :heavy_minus_sign: | The name of the device the client application is running on. This is used to track the client application and its usage. (Linux, iOS, Android, etc.) | Linux |
|
||||||
| `clientVersion` | *string* | :heavy_minus_sign: | N/A | 4.133.0 |
|
| `clientVersion` | *string* | :heavy_minus_sign: | The version of the client application. This is used to track the client application and its usage. (4.133.0, 5.0.0, etc.) | 4.133.0 |
|
||||||
| `clientPlatform` | *string* | :heavy_minus_sign: | N/A | Chrome |
|
| `clientPlatform` | *string* | :heavy_minus_sign: | The platform of the client application. This is used to track the client application and its usage. (Chrome, Safari, etc.) | Chrome |
|
||||||
@@ -13,7 +13,7 @@ let value: GetTokenByPinIdGlobals = {};
|
|||||||
| Field | Type | Required | Description | Example |
|
| Field | Type | Required | Description | Example |
|
||||||
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| `clientID` | *string* | :heavy_minus_sign: | The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device) | gcgzw5rz2xovp84b4vha3a40 |
|
| `clientID` | *string* | :heavy_minus_sign: | The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device) | gcgzw5rz2xovp84b4vha3a40 |
|
||||||
| `clientName` | *string* | :heavy_minus_sign: | N/A | Plex Web |
|
| `clientName` | *string* | :heavy_minus_sign: | The name of the client application. This is used to track the client application and its usage. (Plex Web, Plex Media Server, etc.) | Plex Web |
|
||||||
| `deviceName` | *string* | :heavy_minus_sign: | N/A | Linux |
|
| `deviceName` | *string* | :heavy_minus_sign: | The name of the device the client application is running on. This is used to track the client application and its usage. (Linux, iOS, Android, etc.) | Linux |
|
||||||
| `clientVersion` | *string* | :heavy_minus_sign: | N/A | 4.133.0 |
|
| `clientVersion` | *string* | :heavy_minus_sign: | The version of the client application. This is used to track the client application and its usage. (4.133.0, 5.0.0, etc.) | 4.133.0 |
|
||||||
| `clientPlatform` | *string* | :heavy_minus_sign: | N/A | Chrome |
|
| `clientPlatform` | *string* | :heavy_minus_sign: | The platform of the client application. This is used to track the client application and its usage. (Chrome, Safari, etc.) | Chrome |
|
||||||
@@ -16,7 +16,7 @@ let value: GetTokenByPinIdRequest = {
|
|||||||
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| `pinID` | *number* | :heavy_check_mark: | The PinID to retrieve an access token for | |
|
| `pinID` | *number* | :heavy_check_mark: | The PinID to retrieve an access token for | |
|
||||||
| `clientID` | *string* | :heavy_minus_sign: | The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device) | gcgzw5rz2xovp84b4vha3a40 |
|
| `clientID` | *string* | :heavy_minus_sign: | The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device) | gcgzw5rz2xovp84b4vha3a40 |
|
||||||
| `clientName` | *string* | :heavy_minus_sign: | N/A | Plex Web |
|
| `clientName` | *string* | :heavy_minus_sign: | The name of the client application. This is used to track the client application and its usage. (Plex Web, Plex Media Server, etc.) | Plex Web |
|
||||||
| `deviceName` | *string* | :heavy_minus_sign: | N/A | Linux |
|
| `deviceName` | *string* | :heavy_minus_sign: | The name of the device the client application is running on. This is used to track the client application and its usage. (Linux, iOS, Android, etc.) | Linux |
|
||||||
| `clientVersion` | *string* | :heavy_minus_sign: | N/A | 4.133.0 |
|
| `clientVersion` | *string* | :heavy_minus_sign: | The version of the client application. This is used to track the client application and its usage. (4.133.0, 5.0.0, etc.) | 4.133.0 |
|
||||||
| `clientPlatform` | *string* | :heavy_minus_sign: | N/A | Chrome |
|
| `clientPlatform` | *string* | :heavy_minus_sign: | The platform of the client application. This is used to track the client application and its usage. (Chrome, Safari, etc.) | Chrome |
|
||||||
@@ -13,7 +13,7 @@ let value: PostUsersSignInDataGlobals = {};
|
|||||||
| Field | Type | Required | Description | Example |
|
| Field | Type | Required | Description | Example |
|
||||||
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| `clientID` | *string* | :heavy_minus_sign: | The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device) | gcgzw5rz2xovp84b4vha3a40 |
|
| `clientID` | *string* | :heavy_minus_sign: | The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device) | gcgzw5rz2xovp84b4vha3a40 |
|
||||||
| `clientName` | *string* | :heavy_minus_sign: | N/A | Plex Web |
|
| `clientName` | *string* | :heavy_minus_sign: | The name of the client application. This is used to track the client application and its usage. (Plex Web, Plex Media Server, etc.) | Plex Web |
|
||||||
| `deviceName` | *string* | :heavy_minus_sign: | N/A | Linux |
|
| `deviceName` | *string* | :heavy_minus_sign: | The name of the device the client application is running on. This is used to track the client application and its usage. (Linux, iOS, Android, etc.) | Linux |
|
||||||
| `clientVersion` | *string* | :heavy_minus_sign: | N/A | 4.133.0 |
|
| `clientVersion` | *string* | :heavy_minus_sign: | The version of the client application. This is used to track the client application and its usage. (4.133.0, 5.0.0, etc.) | 4.133.0 |
|
||||||
| `clientPlatform` | *string* | :heavy_minus_sign: | N/A | Chrome |
|
| `clientPlatform` | *string* | :heavy_minus_sign: | The platform of the client application. This is used to track the client application and its usage. (Chrome, Safari, etc.) | Chrome |
|
||||||
@@ -19,8 +19,8 @@ let value: PostUsersSignInDataRequest = {
|
|||||||
| Field | Type | Required | Description | Example |
|
| Field | Type | Required | Description | Example |
|
||||||
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| `clientID` | *string* | :heavy_minus_sign: | The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device) | gcgzw5rz2xovp84b4vha3a40 |
|
| `clientID` | *string* | :heavy_minus_sign: | The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device) | gcgzw5rz2xovp84b4vha3a40 |
|
||||||
| `clientName` | *string* | :heavy_minus_sign: | N/A | Plex Web |
|
| `clientName` | *string* | :heavy_minus_sign: | The name of the client application. This is used to track the client application and its usage. (Plex Web, Plex Media Server, etc.) | Plex Web |
|
||||||
| `deviceName` | *string* | :heavy_minus_sign: | N/A | Linux |
|
| `deviceName` | *string* | :heavy_minus_sign: | The name of the device the client application is running on. This is used to track the client application and its usage. (Linux, iOS, Android, etc.) | Linux |
|
||||||
| `clientVersion` | *string* | :heavy_minus_sign: | N/A | 4.133.0 |
|
| `clientVersion` | *string* | :heavy_minus_sign: | The version of the client application. This is used to track the client application and its usage. (4.133.0, 5.0.0, etc.) | 4.133.0 |
|
||||||
| `clientPlatform` | *string* | :heavy_minus_sign: | N/A | Chrome |
|
| `clientPlatform` | *string* | :heavy_minus_sign: | The platform of the client application. This is used to track the client application and its usage. (Chrome, Safari, etc.) | Chrome |
|
||||||
| `requestBody` | [operations.PostUsersSignInDataRequestBody](../../../sdk/models/operations/postuserssignindatarequestbody.md) | :heavy_minus_sign: | Login credentials | |
|
| `requestBody` | [operations.PostUsersSignInDataRequestBody](../../../sdk/models/operations/postuserssignindatarequestbody.md) | :heavy_minus_sign: | Login credentials | |
|
||||||
2
jsr.json
2
jsr.json
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
"name": "@lukehagar/plexjs",
|
"name": "@lukehagar/plexjs",
|
||||||
"version": "0.24.0",
|
"version": "0.24.1",
|
||||||
"exports": {
|
"exports": {
|
||||||
".": "./src/index.ts",
|
".": "./src/index.ts",
|
||||||
"./sdk/models/errors": "./src/sdk/models/errors/index.ts",
|
"./sdk/models/errors": "./src/sdk/models/errors/index.ts",
|
||||||
|
|||||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "@lukehagar/plexjs",
|
"name": "@lukehagar/plexjs",
|
||||||
"version": "0.24.0",
|
"version": "0.24.1",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@lukehagar/plexjs",
|
"name": "@lukehagar/plexjs",
|
||||||
"version": "0.24.0",
|
"version": "0.24.1",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@typescript-eslint/eslint-plugin": "^7.7.1",
|
"@typescript-eslint/eslint-plugin": "^7.7.1",
|
||||||
"@typescript-eslint/parser": "^7.7.1",
|
"@typescript-eslint/parser": "^7.7.1",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@lukehagar/plexjs",
|
"name": "@lukehagar/plexjs",
|
||||||
"version": "0.24.0",
|
"version": "0.24.1",
|
||||||
"author": "LukeHagar",
|
"author": "LukeHagar",
|
||||||
"main": "./index.js",
|
"main": "./index.js",
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
|
|||||||
@@ -71,16 +71,16 @@ export async function authenticationPostUsersSignInData(
|
|||||||
const path = pathToFunc("/users/signin")();
|
const path = pathToFunc("/users/signin")();
|
||||||
|
|
||||||
const query = encodeFormQuery({
|
const query = encodeFormQuery({
|
||||||
"X-Plex-Client-Identifier": payload.ClientID,
|
|
||||||
"X-Plex-Client-Identifier": client._options.clientID,
|
"X-Plex-Client-Identifier": client._options.clientID,
|
||||||
|
"X-Plex-Client-Identifier": payload.ClientID,
|
||||||
"X-Plex-Device": payload.DeviceName,
|
"X-Plex-Device": payload.DeviceName,
|
||||||
"X-Plex-Device": client._options.deviceName,
|
"X-Plex-Device": client._options.deviceName,
|
||||||
"X-Plex-Platform": payload.ClientPlatform,
|
|
||||||
"X-Plex-Platform": client._options.clientPlatform,
|
"X-Plex-Platform": client._options.clientPlatform,
|
||||||
|
"X-Plex-Platform": payload.ClientPlatform,
|
||||||
"X-Plex-Product": client._options.clientName,
|
"X-Plex-Product": client._options.clientName,
|
||||||
"X-Plex-Product": payload.ClientName,
|
"X-Plex-Product": payload.ClientName,
|
||||||
"X-Plex-Version": client._options.clientVersion,
|
|
||||||
"X-Plex-Version": payload.ClientVersion,
|
"X-Plex-Version": payload.ClientVersion,
|
||||||
|
"X-Plex-Version": client._options.clientVersion,
|
||||||
});
|
});
|
||||||
|
|
||||||
const headers = new Headers({
|
const headers = new Headers({
|
||||||
|
|||||||
@@ -65,14 +65,14 @@ export async function plexGetPin(
|
|||||||
|
|
||||||
const query = encodeFormQuery({
|
const query = encodeFormQuery({
|
||||||
"strong": payload.strong,
|
"strong": payload.strong,
|
||||||
"X-Plex-Client-Identifier": client._options.clientID,
|
|
||||||
"X-Plex-Client-Identifier": payload.ClientID,
|
"X-Plex-Client-Identifier": payload.ClientID,
|
||||||
"X-Plex-Device": payload.DeviceName,
|
"X-Plex-Client-Identifier": client._options.clientID,
|
||||||
"X-Plex-Device": client._options.deviceName,
|
"X-Plex-Device": client._options.deviceName,
|
||||||
"X-Plex-Platform": client._options.clientPlatform,
|
"X-Plex-Device": payload.DeviceName,
|
||||||
"X-Plex-Platform": payload.ClientPlatform,
|
"X-Plex-Platform": payload.ClientPlatform,
|
||||||
"X-Plex-Product": client._options.clientName,
|
"X-Plex-Platform": client._options.clientPlatform,
|
||||||
"X-Plex-Product": payload.ClientName,
|
"X-Plex-Product": payload.ClientName,
|
||||||
|
"X-Plex-Product": client._options.clientName,
|
||||||
"X-Plex-Version": payload.ClientVersion,
|
"X-Plex-Version": payload.ClientVersion,
|
||||||
"X-Plex-Version": client._options.clientVersion,
|
"X-Plex-Version": client._options.clientVersion,
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -79,8 +79,8 @@ export async function plexGetServerResources(
|
|||||||
"includeHttps": payload.includeHttps,
|
"includeHttps": payload.includeHttps,
|
||||||
"includeIPv6": payload.includeIPv6,
|
"includeIPv6": payload.includeIPv6,
|
||||||
"includeRelay": payload.includeRelay,
|
"includeRelay": payload.includeRelay,
|
||||||
"X-Plex-Client-Identifier": client._options.clientID,
|
|
||||||
"X-Plex-Client-Identifier": payload.ClientID,
|
"X-Plex-Client-Identifier": payload.ClientID,
|
||||||
|
"X-Plex-Client-Identifier": client._options.clientID,
|
||||||
});
|
});
|
||||||
|
|
||||||
const headers = new Headers({
|
const headers = new Headers({
|
||||||
|
|||||||
@@ -74,12 +74,12 @@ export async function plexGetTokenByPinId(
|
|||||||
const query = encodeFormQuery({
|
const query = encodeFormQuery({
|
||||||
"X-Plex-Client-Identifier": client._options.clientID,
|
"X-Plex-Client-Identifier": client._options.clientID,
|
||||||
"X-Plex-Client-Identifier": payload.ClientID,
|
"X-Plex-Client-Identifier": payload.ClientID,
|
||||||
"X-Plex-Device": payload.DeviceName,
|
|
||||||
"X-Plex-Device": client._options.deviceName,
|
"X-Plex-Device": client._options.deviceName,
|
||||||
"X-Plex-Platform": client._options.clientPlatform,
|
"X-Plex-Device": payload.DeviceName,
|
||||||
"X-Plex-Platform": payload.ClientPlatform,
|
"X-Plex-Platform": payload.ClientPlatform,
|
||||||
"X-Plex-Product": payload.ClientName,
|
"X-Plex-Platform": client._options.clientPlatform,
|
||||||
"X-Plex-Product": client._options.clientName,
|
"X-Plex-Product": client._options.clientName,
|
||||||
|
"X-Plex-Product": payload.ClientName,
|
||||||
"X-Plex-Version": payload.ClientVersion,
|
"X-Plex-Version": payload.ClientVersion,
|
||||||
"X-Plex-Version": client._options.clientVersion,
|
"X-Plex-Version": client._options.clientVersion,
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -115,7 +115,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|||||||
export const SDK_METADATA = {
|
export const SDK_METADATA = {
|
||||||
language: "typescript",
|
language: "typescript",
|
||||||
openapiDocVersion: "0.0.3",
|
openapiDocVersion: "0.0.3",
|
||||||
sdkVersion: "0.24.0",
|
sdkVersion: "0.24.1",
|
||||||
genVersion: "2.428.1",
|
genVersion: "2.428.1",
|
||||||
userAgent: "speakeasy-sdk/typescript 0.24.0 2.428.1 0.0.3 @lukehagar/plexjs",
|
userAgent: "speakeasy-sdk/typescript 0.24.1 2.428.1 0.0.3 @lukehagar/plexjs",
|
||||||
} as const;
|
} as const;
|
||||||
|
|||||||
@@ -14,9 +14,21 @@ export type GetPinGlobals = {
|
|||||||
* The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device)
|
* The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device)
|
||||||
*/
|
*/
|
||||||
clientID?: string | undefined;
|
clientID?: string | undefined;
|
||||||
|
/**
|
||||||
|
* The name of the client application. This is used to track the client application and its usage. (Plex Web, Plex Media Server, etc.)
|
||||||
|
*/
|
||||||
clientName?: string | undefined;
|
clientName?: string | undefined;
|
||||||
|
/**
|
||||||
|
* The name of the device the client application is running on. This is used to track the client application and its usage. (Linux, iOS, Android, etc.)
|
||||||
|
*/
|
||||||
deviceName?: string | undefined;
|
deviceName?: string | undefined;
|
||||||
|
/**
|
||||||
|
* The version of the client application. This is used to track the client application and its usage. (4.133.0, 5.0.0, etc.)
|
||||||
|
*/
|
||||||
clientVersion?: string | undefined;
|
clientVersion?: string | undefined;
|
||||||
|
/**
|
||||||
|
* The platform of the client application. This is used to track the client application and its usage. (Chrome, Safari, etc.)
|
||||||
|
*/
|
||||||
clientPlatform?: string | undefined;
|
clientPlatform?: string | undefined;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -33,9 +45,21 @@ export type GetPinRequest = {
|
|||||||
* The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device)
|
* The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device)
|
||||||
*/
|
*/
|
||||||
clientID?: string | undefined;
|
clientID?: string | undefined;
|
||||||
|
/**
|
||||||
|
* The name of the client application. This is used to track the client application and its usage. (Plex Web, Plex Media Server, etc.)
|
||||||
|
*/
|
||||||
clientName?: string | undefined;
|
clientName?: string | undefined;
|
||||||
|
/**
|
||||||
|
* The name of the device the client application is running on. This is used to track the client application and its usage. (Linux, iOS, Android, etc.)
|
||||||
|
*/
|
||||||
deviceName?: string | undefined;
|
deviceName?: string | undefined;
|
||||||
|
/**
|
||||||
|
* The version of the client application. This is used to track the client application and its usage. (4.133.0, 5.0.0, etc.)
|
||||||
|
*/
|
||||||
clientVersion?: string | undefined;
|
clientVersion?: string | undefined;
|
||||||
|
/**
|
||||||
|
* The platform of the client application. This is used to track the client application and its usage. (Chrome, Safari, etc.)
|
||||||
|
*/
|
||||||
clientPlatform?: string | undefined;
|
clientPlatform?: string | undefined;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -14,9 +14,21 @@ export type GetTokenByPinIdGlobals = {
|
|||||||
* The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device)
|
* The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device)
|
||||||
*/
|
*/
|
||||||
clientID?: string | undefined;
|
clientID?: string | undefined;
|
||||||
|
/**
|
||||||
|
* The name of the client application. This is used to track the client application and its usage. (Plex Web, Plex Media Server, etc.)
|
||||||
|
*/
|
||||||
clientName?: string | undefined;
|
clientName?: string | undefined;
|
||||||
|
/**
|
||||||
|
* The name of the device the client application is running on. This is used to track the client application and its usage. (Linux, iOS, Android, etc.)
|
||||||
|
*/
|
||||||
deviceName?: string | undefined;
|
deviceName?: string | undefined;
|
||||||
|
/**
|
||||||
|
* The version of the client application. This is used to track the client application and its usage. (4.133.0, 5.0.0, etc.)
|
||||||
|
*/
|
||||||
clientVersion?: string | undefined;
|
clientVersion?: string | undefined;
|
||||||
|
/**
|
||||||
|
* The platform of the client application. This is used to track the client application and its usage. (Chrome, Safari, etc.)
|
||||||
|
*/
|
||||||
clientPlatform?: string | undefined;
|
clientPlatform?: string | undefined;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -29,9 +41,21 @@ export type GetTokenByPinIdRequest = {
|
|||||||
* The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device)
|
* The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device)
|
||||||
*/
|
*/
|
||||||
clientID?: string | undefined;
|
clientID?: string | undefined;
|
||||||
|
/**
|
||||||
|
* The name of the client application. This is used to track the client application and its usage. (Plex Web, Plex Media Server, etc.)
|
||||||
|
*/
|
||||||
clientName?: string | undefined;
|
clientName?: string | undefined;
|
||||||
|
/**
|
||||||
|
* The name of the device the client application is running on. This is used to track the client application and its usage. (Linux, iOS, Android, etc.)
|
||||||
|
*/
|
||||||
deviceName?: string | undefined;
|
deviceName?: string | undefined;
|
||||||
|
/**
|
||||||
|
* The version of the client application. This is used to track the client application and its usage. (4.133.0, 5.0.0, etc.)
|
||||||
|
*/
|
||||||
clientVersion?: string | undefined;
|
clientVersion?: string | undefined;
|
||||||
|
/**
|
||||||
|
* The platform of the client application. This is used to track the client application and its usage. (Chrome, Safari, etc.)
|
||||||
|
*/
|
||||||
clientPlatform?: string | undefined;
|
clientPlatform?: string | undefined;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -19,9 +19,21 @@ export type PostUsersSignInDataGlobals = {
|
|||||||
* The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device)
|
* The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device)
|
||||||
*/
|
*/
|
||||||
clientID?: string | undefined;
|
clientID?: string | undefined;
|
||||||
|
/**
|
||||||
|
* The name of the client application. This is used to track the client application and its usage. (Plex Web, Plex Media Server, etc.)
|
||||||
|
*/
|
||||||
clientName?: string | undefined;
|
clientName?: string | undefined;
|
||||||
|
/**
|
||||||
|
* The name of the device the client application is running on. This is used to track the client application and its usage. (Linux, iOS, Android, etc.)
|
||||||
|
*/
|
||||||
deviceName?: string | undefined;
|
deviceName?: string | undefined;
|
||||||
|
/**
|
||||||
|
* The version of the client application. This is used to track the client application and its usage. (4.133.0, 5.0.0, etc.)
|
||||||
|
*/
|
||||||
clientVersion?: string | undefined;
|
clientVersion?: string | undefined;
|
||||||
|
/**
|
||||||
|
* The platform of the client application. This is used to track the client application and its usage. (Chrome, Safari, etc.)
|
||||||
|
*/
|
||||||
clientPlatform?: string | undefined;
|
clientPlatform?: string | undefined;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -40,9 +52,21 @@ export type PostUsersSignInDataRequest = {
|
|||||||
* The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device)
|
* The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device)
|
||||||
*/
|
*/
|
||||||
clientID?: string | undefined;
|
clientID?: string | undefined;
|
||||||
|
/**
|
||||||
|
* The name of the client application. This is used to track the client application and its usage. (Plex Web, Plex Media Server, etc.)
|
||||||
|
*/
|
||||||
clientName?: string | undefined;
|
clientName?: string | undefined;
|
||||||
|
/**
|
||||||
|
* The name of the device the client application is running on. This is used to track the client application and its usage. (Linux, iOS, Android, etc.)
|
||||||
|
*/
|
||||||
deviceName?: string | undefined;
|
deviceName?: string | undefined;
|
||||||
|
/**
|
||||||
|
* The version of the client application. This is used to track the client application and its usage. (4.133.0, 5.0.0, etc.)
|
||||||
|
*/
|
||||||
clientVersion?: string | undefined;
|
clientVersion?: string | undefined;
|
||||||
|
/**
|
||||||
|
* The platform of the client application. This is used to track the client application and its usage. (Chrome, Safari, etc.)
|
||||||
|
*/
|
||||||
clientPlatform?: string | undefined;
|
clientPlatform?: string | undefined;
|
||||||
/**
|
/**
|
||||||
* Login credentials
|
* Login credentials
|
||||||
|
|||||||
Reference in New Issue
Block a user