mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 12:37:46 +00:00
Merge branch 'main' of https://github.com/LukeHagar/plexjs
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
lockVersion: 2.0.0
|
||||
id: 16f22cbf-f23f-4419-8924-3a4b06381947
|
||||
management:
|
||||
docChecksum: eae2a027b2467f033ac397a5d9f0add5
|
||||
docChecksum: e86dd5a81cd11202edc0a62b99f0e4ff
|
||||
docVersion: 0.0.3
|
||||
speakeasyVersion: 1.392.1
|
||||
generationVersion: 2.411.9
|
||||
releaseVersion: 0.20.1
|
||||
configChecksum: f629192d4499bb36b01927f9b0146f69
|
||||
releaseVersion: 0.20.2
|
||||
configChecksum: 82c9b6fbb4fc184a9c738a1c06d6e1c7
|
||||
repoURL: https://github.com/LukeHagar/plexjs.git
|
||||
repoSubDirectory: .
|
||||
installationURL: https://github.com/LukeHagar/plexjs
|
||||
@@ -894,6 +894,7 @@ examples:
|
||||
responses:
|
||||
"401":
|
||||
application/json: {"errors": []}
|
||||
"200": {}
|
||||
getServerPreferences:
|
||||
speakeasy-default-get-server-preferences:
|
||||
responses:
|
||||
@@ -951,6 +952,7 @@ examples:
|
||||
responses:
|
||||
"401":
|
||||
application/json: {"errors": []}
|
||||
"200": {}
|
||||
getServerList:
|
||||
speakeasy-default-get-server-list:
|
||||
responses:
|
||||
@@ -998,6 +1000,7 @@ examples:
|
||||
responses:
|
||||
"401":
|
||||
application/json: {"errors": []}
|
||||
"200": {}
|
||||
get-thumb-image:
|
||||
speakeasy-default-get-thumb-image:
|
||||
parameters:
|
||||
@@ -1012,6 +1015,7 @@ examples:
|
||||
responses:
|
||||
"401":
|
||||
application/json: {"errors": []}
|
||||
"200": {}
|
||||
getTimeline:
|
||||
"":
|
||||
parameters:
|
||||
@@ -1057,6 +1061,7 @@ examples:
|
||||
responses:
|
||||
"401":
|
||||
application/json: {"errors": []}
|
||||
"200": {}
|
||||
cancelServerActivities:
|
||||
"":
|
||||
parameters:
|
||||
@@ -1137,6 +1142,7 @@ examples:
|
||||
responses:
|
||||
"401":
|
||||
application/json: {"errors": []}
|
||||
"200": {}
|
||||
getPin:
|
||||
"":
|
||||
parameters:
|
||||
@@ -1364,6 +1370,7 @@ examples:
|
||||
responses:
|
||||
"401":
|
||||
application/json: {"errors": []}
|
||||
"200": {}
|
||||
logLine:
|
||||
speakeasy-default-log-line:
|
||||
parameters:
|
||||
|
||||
@@ -12,7 +12,7 @@ generation:
|
||||
auth:
|
||||
oAuth2ClientCredentialsEnabled: true
|
||||
typescript:
|
||||
version: 0.20.1
|
||||
version: 0.20.2
|
||||
additionalDependencies:
|
||||
dependencies: {}
|
||||
devDependencies: {}
|
||||
|
||||
@@ -2,19 +2,20 @@ speakeasyVersion: 1.392.1
|
||||
sources:
|
||||
my-source:
|
||||
sourceNamespace: my-source
|
||||
sourceRevisionDigest: sha256:893baf00932f1b8e49b2e60af272be6a9a62934af6eb3a2f96dd9f2302ef69c5
|
||||
sourceBlobDigest: sha256:f689cdc9c740f4e5120422720722d2d256d56ceb62bc13370713ec1661a433df
|
||||
sourceRevisionDigest: sha256:facfe37caadd8c575513e97dbc389d0e4d7166c5310c891edb352e65da942367
|
||||
sourceBlobDigest: sha256:f816f80e55e2eeb2a0c30bfb6bfe919f0a1a7284e996cec3a680aa661d39e3c6
|
||||
tags:
|
||||
- latest
|
||||
- main
|
||||
targets:
|
||||
plexjs:
|
||||
source: my-source
|
||||
sourceNamespace: my-source
|
||||
sourceRevisionDigest: sha256:893baf00932f1b8e49b2e60af272be6a9a62934af6eb3a2f96dd9f2302ef69c5
|
||||
sourceBlobDigest: sha256:f689cdc9c740f4e5120422720722d2d256d56ceb62bc13370713ec1661a433df
|
||||
sourceRevisionDigest: sha256:facfe37caadd8c575513e97dbc389d0e4d7166c5310c891edb352e65da942367
|
||||
sourceBlobDigest: sha256:f816f80e55e2eeb2a0c30bfb6bfe919f0a1a7284e996cec3a680aa661d39e3c6
|
||||
codeSamplesNamespace: code-samples-typescript-plexjs
|
||||
codeSamplesRevisionDigest: sha256:b3fb1b3f53be806e5ae44adc1c7d9ce9bd9230f8138f033595e3ae2a68d73462
|
||||
outLocation: /home/luke/github/plexjs
|
||||
codeSamplesRevisionDigest: sha256:7b7fc9efdcfb2e57e099c7a3da0c064c908a9862cec1a419d9785af091277b8c
|
||||
outLocation: /github/workspace/repo
|
||||
workflow:
|
||||
workflowVersion: 1.0.0
|
||||
speakeasyVersion: latest
|
||||
@@ -28,7 +29,7 @@ workflow:
|
||||
source: my-source
|
||||
publish:
|
||||
npm:
|
||||
token: $NPM_TOKEN
|
||||
token: $npm_token
|
||||
codeSamples:
|
||||
output: codeSamples.yaml
|
||||
registry:
|
||||
|
||||
@@ -347,7 +347,7 @@ const plexAPI = new PlexAPI({
|
||||
|
||||
async function run() {
|
||||
const result = await plexAPI.plex.getCompanionsData({
|
||||
serverURL: "https://plex.tv/api/v2",
|
||||
serverURL: "https://plex.tv/api/v2/",
|
||||
});
|
||||
|
||||
// Handle the result
|
||||
|
||||
12
RELEASES.md
12
RELEASES.md
@@ -948,4 +948,14 @@ Based on:
|
||||
### Generated
|
||||
- [typescript v0.20.0] .
|
||||
### Releases
|
||||
- [NPM v0.20.0] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.20.0 - .
|
||||
- [NPM v0.20.0] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.20.0 - .
|
||||
|
||||
## 2024-09-08 03:21:12
|
||||
### Changes
|
||||
Based on:
|
||||
- OpenAPI Doc
|
||||
- Speakeasy CLI 1.392.1 (2.411.9) https://github.com/speakeasy-api/speakeasy
|
||||
### Generated
|
||||
- [typescript v0.20.2] .
|
||||
### Releases
|
||||
- [NPM v0.20.2] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.20.2 - .
|
||||
2
jsr.json
2
jsr.json
@@ -2,7 +2,7 @@
|
||||
|
||||
{
|
||||
"name": "@lukehagar/plexjs",
|
||||
"version": "0.20.1",
|
||||
"version": "0.20.2",
|
||||
"exports": {
|
||||
".": "./src/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",
|
||||
"version": "0.20.1",
|
||||
"version": "0.20.2",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@lukehagar/plexjs",
|
||||
"version": "0.20.1",
|
||||
"version": "0.20.2",
|
||||
"devDependencies": {
|
||||
"@types/node": "^18.19.3",
|
||||
"@typescript-eslint/eslint-plugin": "^7.7.1",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@lukehagar/plexjs",
|
||||
"version": "0.20.1",
|
||||
"version": "0.20.2",
|
||||
"author": "LukeHagar",
|
||||
"main": "./index.js",
|
||||
"sideEffects": false,
|
||||
|
||||
@@ -89,7 +89,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
||||
export const SDK_METADATA = {
|
||||
language: "typescript",
|
||||
openapiDocVersion: "0.0.3",
|
||||
sdkVersion: "0.20.1",
|
||||
sdkVersion: "0.20.2",
|
||||
genVersion: "2.411.9",
|
||||
userAgent: "speakeasy-sdk/typescript 0.20.1 2.411.9 0.0.3 @lukehagar/plexjs",
|
||||
userAgent: "speakeasy-sdk/typescript 0.20.2 2.411.9 0.0.3 @lukehagar/plexjs",
|
||||
} as const;
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
import { remap as remap$ } from "../../../lib/primitives.js";
|
||||
import * as z from "zod";
|
||||
|
||||
export const GetCompanionsDataServerList = ["https://plex.tv/api/v2"] as const;
|
||||
export const GetCompanionsDataServerList = ["https://plex.tv/api/v2/"] as const;
|
||||
|
||||
export type ResponseBody = {
|
||||
identifier: string;
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
import { remap as remap$ } from "../../../lib/primitives.js";
|
||||
import * as z from "zod";
|
||||
|
||||
export const GetGeoDataServerList = ["https://plex.tv/api/v2"] as const;
|
||||
export const GetGeoDataServerList = ["https://plex.tv/api/v2/"] as const;
|
||||
|
||||
/**
|
||||
* Geo location data
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
import { remap as remap$ } from "../../../lib/primitives.js";
|
||||
import * as z from "zod";
|
||||
|
||||
export const GetPinServerList = ["https://plex.tv/api/v2"] as const;
|
||||
export const GetPinServerList = ["https://plex.tv/api/v2/"] as const;
|
||||
|
||||
export type GetPinGlobals = {
|
||||
/**
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
import { remap as remap$ } from "../../../lib/primitives.js";
|
||||
import * as z from "zod";
|
||||
|
||||
export const GetServerResourcesServerList = ["https://plex.tv/api/v2"] as const;
|
||||
export const GetServerResourcesServerList = ["https://plex.tv/api/v2/"] as const;
|
||||
|
||||
export type GetServerResourcesGlobals = {
|
||||
/**
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
import { remap as remap$ } from "../../../lib/primitives.js";
|
||||
import * as z from "zod";
|
||||
|
||||
export const GetTokenByPinIdServerList = ["https://plex.tv/api/v2"] as const;
|
||||
export const GetTokenByPinIdServerList = ["https://plex.tv/api/v2/"] as const;
|
||||
|
||||
export type GetTokenByPinIdGlobals = {
|
||||
/**
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
import { remap as remap$ } from "../../../lib/primitives.js";
|
||||
import * as z from "zod";
|
||||
|
||||
export const GetUserDetailsServerList = ["https://plex.tv/api/v2"] as const;
|
||||
export const GetUserDetailsServerList = ["https://plex.tv/api/v2/"] as const;
|
||||
|
||||
export type GetUserDetailsRequest = {
|
||||
/**
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
import { remap as remap$ } from "../../../lib/primitives.js";
|
||||
import * as z from "zod";
|
||||
|
||||
export const GetUserFriendsServerList = ["https://plex.tv/api/v2"] as const;
|
||||
export const GetUserFriendsServerList = ["https://plex.tv/api/v2/"] as const;
|
||||
|
||||
export type SharedServers = {};
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
import { remap as remap$ } from "../../../lib/primitives.js";
|
||||
import * as z from "zod";
|
||||
|
||||
export const PostUsersSignInDataServerList = ["https://plex.tv/api/v2"] as const;
|
||||
export const PostUsersSignInDataServerList = ["https://plex.tv/api/v2/"] as const;
|
||||
|
||||
export type PostUsersSignInDataGlobals = {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user