ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.598.0

This commit is contained in:
speakeasybot
2025-08-06 00:13:53 +00:00
parent fe48f93ccb
commit c56a0f5d3c
28 changed files with 215 additions and 408 deletions

View File

@@ -3,10 +3,10 @@ id: 16f22cbf-f23f-4419-8924-3a4b06381947
management: management:
docChecksum: 4a7c64e455521ea3ac1e4957e621f694 docChecksum: 4a7c64e455521ea3ac1e4957e621f694
docVersion: 0.0.3 docVersion: 0.0.3
speakeasyVersion: 1.580.1 speakeasyVersion: 1.598.0
generationVersion: 2.656.3 generationVersion: 2.674.1
releaseVersion: 0.40.0 releaseVersion: 0.40.1
configChecksum: 3e8220b93e9fb4f5d3c6500daf058fae configChecksum: 3e740e4147dce43e9e063384bef81cbb
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
@@ -15,7 +15,7 @@ features:
typescript: typescript:
additionalDependencies: 0.1.0 additionalDependencies: 0.1.0
constsAndDefaults: 0.1.12 constsAndDefaults: 0.1.12
core: 3.21.14 core: 3.21.19
defaultEnabledRetries: 0.1.0 defaultEnabledRetries: 0.1.0
deprecations: 2.81.1 deprecations: 2.81.1
downloadStreams: 0.1.1 downloadStreams: 0.1.1

View File

@@ -21,7 +21,7 @@ generation:
generateNewTests: false generateNewTests: false
skipResponseBodyAssertions: false skipResponseBodyAssertions: false
typescript: typescript:
version: 0.40.0 version: 0.40.1
additionalDependencies: additionalDependencies:
dependencies: {} dependencies: {}
devDependencies: {} devDependencies: {}

View File

@@ -1,4 +1,4 @@
speakeasyVersion: 1.580.1 speakeasyVersion: 1.598.0
sources: sources:
my-source: my-source:
sourceNamespace: my-source sourceNamespace: my-source
@@ -13,7 +13,7 @@ sources:
sourceBlobDigest: sha256:f84dd2bfdaea4074454cea3c7fbc6c9e05515c5e9e961abb4923b77f8faf48f1 sourceBlobDigest: sha256:f84dd2bfdaea4074454cea3c7fbc6c9e05515c5e9e961abb4923b77f8faf48f1
tags: tags:
- latest - latest
- speakeasy-sdk-regen-1752106317 - speakeasy-sdk-regen-1754439152
- 0.0.3 - 0.0.3
targets: targets:
plexjs: plexjs:
@@ -22,7 +22,7 @@ targets:
sourceRevisionDigest: sha256:b4fa89a3571fbdcb4228800772a5fe1c292170babcd3e055161ae54402f89577 sourceRevisionDigest: sha256:b4fa89a3571fbdcb4228800772a5fe1c292170babcd3e055161ae54402f89577
sourceBlobDigest: sha256:f84dd2bfdaea4074454cea3c7fbc6c9e05515c5e9e961abb4923b77f8faf48f1 sourceBlobDigest: sha256:f84dd2bfdaea4074454cea3c7fbc6c9e05515c5e9e961abb4923b77f8faf48f1
codeSamplesNamespace: code-samples-typescript-plexjs codeSamplesNamespace: code-samples-typescript-plexjs
codeSamplesRevisionDigest: sha256:a4ed38eeac4610af5ac9189665922e6cad283ce730eb8b1a20dd4857afda3fd3 codeSamplesRevisionDigest: sha256:7e539ca104c7b4fdbaad8b7a6b0158f1b4d560475aed3c8d2fb0dae6a2f01700
workflow: workflow:
workflowVersion: 1.0.0 workflowVersion: 1.0.0
speakeasyVersion: latest speakeasyVersion: latest

View File

@@ -1368,4 +1368,14 @@ Based on:
### Generated ### Generated
- [typescript v0.40.0] . - [typescript v0.40.0] .
### Releases ### Releases
- [NPM v0.40.0] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.40.0 - . - [NPM v0.40.0] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.40.0 - .
## 2025-08-06 00:12:14
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.598.0 (2.674.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.40.1] .
### Releases
- [NPM v0.40.1] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.40.1 - .

View File

@@ -23,6 +23,7 @@ Get Server Activities
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="getServerActivities" method="get" path="/activities" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -92,6 +93,7 @@ Cancel Server Activities
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="cancelServerActivities" method="delete" path="/activities/{activityUUID}" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";

View File

@@ -20,6 +20,7 @@ This endpoint provides the caller with a temporary token with the same access le
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="getTransientToken" method="get" path="/security/token" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
import { GetTransientTokenQueryParamType, Scope } from "@lukehagar/plexjs/sdk/models/operations"; import { GetTransientTokenQueryParamType, Scope } from "@lukehagar/plexjs/sdk/models/operations";
@@ -95,6 +96,7 @@ Note: requires Plex Media Server >= 1.15.4.
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="getSourceConnectionInformation" method="get" path="/security/resources" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -165,6 +167,7 @@ Get the User data from the provided X-Plex-Token
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="getTokenDetails" method="get" path="/user" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -235,6 +238,7 @@ Sign in user with username and password and return user data with Plex authentic
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="post-users-sign-in-data" method="post" path="/users/signin" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";

View File

@@ -20,6 +20,7 @@ Returns a list of butler tasks
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="getButlerTasks" method="get" path="/butler" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -94,6 +95,7 @@ This endpoint will attempt to start all Butler tasks that are enabled in the set
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="startAllTasks" method="post" path="/butler" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -164,6 +166,7 @@ This endpoint will stop all currently running tasks and remove any scheduled tas
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="stopAllTasks" method="delete" path="/butler" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -238,6 +241,7 @@ This endpoint will attempt to start a single Butler task that is enabled in the
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="startTask" method="post" path="/butler/{taskName}" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
import { TaskName } from "@lukehagar/plexjs/sdk/models/operations"; import { TaskName } from "@lukehagar/plexjs/sdk/models/operations";
@@ -311,6 +315,7 @@ This endpoint will stop a currently running task by name, or remove it from the
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="stopTask" method="delete" path="/butler/{taskName}" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
import { PathParamTaskName } from "@lukehagar/plexjs/sdk/models/operations"; import { PathParamTaskName } from "@lukehagar/plexjs/sdk/models/operations";

View File

@@ -18,6 +18,7 @@ Get Global Hubs filtered by the parameters provided.
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="getGlobalHubs" method="get" path="/hubs" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -90,6 +91,7 @@ This endpoint will return the recently added content.
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="get-recently-added" method="get" path="/hubs/home/recentlyAdded" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
import { IncludeMeta, Type } from "@lukehagar/plexjs/sdk/models/operations"; import { IncludeMeta, Type } from "@lukehagar/plexjs/sdk/models/operations";
@@ -171,6 +173,7 @@ This endpoint will return a list of library specific hubs
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="getLibraryHubs" method="get" path="/hubs/sections/{sectionId}" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";

View File

@@ -35,6 +35,7 @@ This resource returns hash values for local files
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="getFileHash" method="get" path="/library/hashes" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -107,6 +108,7 @@ This endpoint will return the recently added content.
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="get-recently-added-library" method="get" path="/library/recentlyAdded" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
import { QueryParamIncludeMeta, QueryParamType } from "@lukehagar/plexjs/sdk/models/operations"; import { QueryParamIncludeMeta, QueryParamType } from "@lukehagar/plexjs/sdk/models/operations";
@@ -223,6 +225,7 @@ This allows a client to provide a rich interface around the media (e.g. allow so
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="get-all-libraries" method="get" path="/library/sections" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -331,6 +334,7 @@ Each type in the library comes with a set of filters and sorts, aiding in buildi
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="get-library-details" method="get" path="/library/sections/{sectionKey}" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -402,6 +406,7 @@ Delete a library using a specific section id
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="deleteLibrary" method="delete" path="/library/sections/{sectionKey}" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -493,6 +498,7 @@ Fetches details from a specific section of the library identified by a section k
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="get-library-items" method="get" path="/library/sections/{sectionKey}/{tag}" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
import { import {
@@ -588,6 +594,7 @@ Retrieves a list of all general media data for this library.
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="get-library-sections-all" method="get" path="/library/sections/{sectionKey}/all" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
import { import {
@@ -691,6 +698,7 @@ This endpoint Refreshes all the Metadata of the library.
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="get-refresh-library-metadata" method="get" path="/library/sections/{sectionKey}/refresh" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
import { Force } from "@lukehagar/plexjs/sdk/models/operations"; import { Force } from "@lukehagar/plexjs/sdk/models/operations";
@@ -782,6 +790,7 @@ Each type in the library comes with a set of filters and sorts, aiding in buildi
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="get-search-library" method="get" path="/library/sections/{sectionKey}/search" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
import { GetSearchLibraryQueryParamType } from "@lukehagar/plexjs/sdk/models/operations"; import { GetSearchLibraryQueryParamType } from "@lukehagar/plexjs/sdk/models/operations";
@@ -856,6 +865,7 @@ Retrieves a list of all the genres that are found for the media in this library.
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="get-genres-library" method="get" path="/library/sections/{sectionKey}/genre" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
import { GetGenresLibraryQueryParamType } from "@lukehagar/plexjs/sdk/models/operations"; import { GetGenresLibraryQueryParamType } from "@lukehagar/plexjs/sdk/models/operations";
@@ -930,6 +940,7 @@ Retrieves a list of all the countries that are found for the media in this libra
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="get-countries-library" method="get" path="/library/sections/{sectionKey}/country" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
import { GetCountriesLibraryQueryParamType } from "@lukehagar/plexjs/sdk/models/operations"; import { GetCountriesLibraryQueryParamType } from "@lukehagar/plexjs/sdk/models/operations";
@@ -1004,6 +1015,7 @@ Retrieves a list of all the actors that are found for the media in this library.
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="get-actors-library" method="get" path="/library/sections/{sectionKey}/actor" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
import { GetActorsLibraryQueryParamType } from "@lukehagar/plexjs/sdk/models/operations"; import { GetActorsLibraryQueryParamType } from "@lukehagar/plexjs/sdk/models/operations";
@@ -1078,6 +1090,7 @@ Search the provided query across all library sections, or a single section, and
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="get-search-all-libraries" method="get" path="/library/search" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
import { import {
@@ -1176,6 +1189,7 @@ Multiple rating keys can be provided as a comma-separated list (e.g., "21119,216
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="get-media-meta-data" method="get" path="/library/metadata/{ratingKey}" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -1276,6 +1290,7 @@ Returns the background artwork for a library item.
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="get-media-arts" method="get" path="/library/metadata/{ratingKey}/arts" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -1344,6 +1359,7 @@ Uploads an image to use as the background artwork for a library item, either fro
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="post-media-arts" method="post" path="/library/metadata/{ratingKey}/arts" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -1414,6 +1430,7 @@ Returns the available posters for a library item.
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="get-media-posters" method="get" path="/library/metadata/{ratingKey}/posters" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -1482,6 +1499,7 @@ Uploads a poster to a library item, either from a local file or a remote URL
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="post-media-poster" method="post" path="/library/metadata/{ratingKey}/posters" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -1553,6 +1571,7 @@ This endpoint will return the children of of a library item specified with the r
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="getMetadataChildren" method="get" path="/library/metadata/{ratingKey}/children" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -1625,6 +1644,7 @@ This endpoint will return the top watched content from libraries of a certain ty
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="getTopWatchedContent" method="get" path="/library/all/top" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
import { GetTopWatchedContentQueryParamType } from "@lukehagar/plexjs/sdk/models/operations"; import { GetTopWatchedContentQueryParamType } from "@lukehagar/plexjs/sdk/models/operations";

View File

@@ -19,6 +19,7 @@ This endpoint will write a single-line log message, including a level and source
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="logLine" method="get" path="/log" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
import { Level } from "@lukehagar/plexjs/sdk/models/operations"; import { Level } from "@lukehagar/plexjs/sdk/models/operations";
@@ -114,6 +115,7 @@ Ensure each parameter is properly URL-encoded to avoid interpretation issues.
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="logMultiLine" method="post" path="/log" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -189,6 +191,7 @@ This endpoint will enable all Plex Media Serverlogs to be sent to the Papertrail
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="enablePaperTrail" method="get" path="/log/networked" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";

View File

@@ -20,6 +20,7 @@ This will mark the provided media key as Played.
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="markPlayed" method="get" path="/:/scrobble" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -90,6 +91,7 @@ This will mark the provided media key as Unplayed.
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="markUnplayed" method="get" path="/:/unscrobble" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -161,6 +163,7 @@ This API command can be used to update the play progress of a media item.
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="updatePlayProgress" method="post" path="/:/progress" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -233,6 +236,7 @@ Gets the banner image of the media item
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="get-banner-image" method="get" path="/library/metadata/{ratingKey}/banner" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -317,6 +321,7 @@ Gets the thumbnail image of the media item
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="get-thumb-image" method="get" path="/library/metadata/{ratingKey}/thumb" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";

View File

@@ -30,6 +30,7 @@ Create a new playlist. By default the playlist is blank. To create a playlist al
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="createPlaylist" method="post" path="/playlists" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
import { CreatePlaylistQueryParamType, Smart } from "@lukehagar/plexjs/sdk/models/operations"; import { CreatePlaylistQueryParamType, Smart } from "@lukehagar/plexjs/sdk/models/operations";
@@ -112,6 +113,7 @@ Get All Playlists given the specified filters.
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="getPlaylists" method="get" path="/playlists" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -185,6 +187,7 @@ Smart playlist details contain the `content` attribute. This is the content URI
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="getPlaylist" method="get" path="/playlists/{playlistID}" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -256,6 +259,7 @@ This endpoint will delete a playlist
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="deletePlaylist" method="delete" path="/playlists/{playlistID}" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -327,6 +331,7 @@ From PMS version 1.9.1 clients can also edit playlist metadata using this endpoi
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="updatePlaylist" method="put" path="/playlists/{playlistID}" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -403,6 +408,7 @@ Note that for dumb playlists, items have a `playlistItemID` attribute which is u
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="getPlaylistContents" method="get" path="/playlists/{playlistID}/items" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
import { GetPlaylistContentsQueryParamType } from "@lukehagar/plexjs/sdk/models/operations"; import { GetPlaylistContentsQueryParamType } from "@lukehagar/plexjs/sdk/models/operations";
@@ -477,6 +483,7 @@ Clears a playlist, only works with dumb playlists. Returns the playlist.
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="clearPlaylistContents" method="delete" path="/playlists/{playlistID}/items" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -549,6 +556,7 @@ With a smart playlist, passing a new `uri` parameter replaces the rules for the
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="addPlaylistContents" method="put" path="/playlists/{playlistID}/items" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -622,6 +630,7 @@ Imports m3u playlists by passing a path on the server to scan for m3u-formatted
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="uploadPlaylist" method="post" path="/playlists/upload" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
import { QueryParamForce } from "@lukehagar/plexjs/sdk/models/operations"; import { QueryParamForce } from "@lukehagar/plexjs/sdk/models/operations";

View File

@@ -22,6 +22,7 @@ Get Companions Data
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="getCompanionsData" method="get" path="/companions" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -92,6 +93,7 @@ Get friends of provided auth token.
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="getUserFriends" method="get" path="/friends" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -162,6 +164,7 @@ Returns the geolocation and locale data of the caller
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="getGeoData" method="get" path="/geoip" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -228,6 +231,7 @@ Retrieves the home data for the authenticated user, including details like home
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="getHomeData" method="get" path="/home" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -297,6 +301,7 @@ Get Plex server access tokens and server connections
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="get-server-resources" method="get" path="/resources" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -371,6 +376,7 @@ Retrieve a Pin ID from Plex.tv to use for authentication flows
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="getPin" method="post" path="/pins" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -449,6 +455,7 @@ Retrieve an Access Token from Plex.tv after the Pin has been authenticated
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="getTokenByPinId" method="get" path="/pins/{pinID}" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";

View File

@@ -30,6 +30,7 @@ This request is intended to be very fast, and called as the user types.
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="performSearch" method="get" path="/hubs/search" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -106,6 +107,7 @@ Results, as well as their containing per-type hubs, contain a `distance` attribu
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="performVoiceSearch" method="get" path="/hubs/search/voice" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -178,6 +180,7 @@ This will search the database for the string provided.
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="getSearchResults" method="get" path="/search" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";

View File

@@ -24,6 +24,7 @@ Get Server Capabilities
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="getServerCapabilities" method="get" path="/" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -93,6 +94,7 @@ Get Server Preferences
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="getServerPreferences" method="get" path="/:/prefs" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -162,6 +164,7 @@ Get Available Clients
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="getAvailableClients" method="get" path="/clients" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -231,6 +234,7 @@ Get Devices
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="getDevices" method="get" path="/devices" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -300,6 +304,7 @@ This request is useful to determine if the server is online or offline
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="get-server-identity" method="get" path="/identity" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -364,6 +369,7 @@ Returns MyPlex Account Information
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="getMyPlexAccount" method="get" path="/myplex/account" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -434,6 +440,7 @@ Plex's Photo transcoder is used throughout the service to serve images at specif
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="getResizedPhoto" method="get" path="/photo/:/transcode" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
import { MinSize, Upscale } from "@lukehagar/plexjs/sdk/models/operations"; import { MinSize, Upscale } from "@lukehagar/plexjs/sdk/models/operations";
@@ -520,6 +527,7 @@ Retrieves media providers and their features from the Plex server.
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="get-media-providers" method="get" path="/media/providers" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -590,6 +598,7 @@ Get Server List
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="getServerList" method="get" path="/servers" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";

View File

@@ -19,6 +19,7 @@ This will retrieve the "Now Playing" Information of the PMS.
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="getSessions" method="get" path="/status/sessions" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -88,6 +89,7 @@ This will Retrieve a listing of all history views.
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="getSessionHistory" method="get" path="/status/sessions/history/all" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -161,6 +163,7 @@ Get Transcode Sessions
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="getTranscodeSessions" method="get" path="/transcode/sessions" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -230,6 +233,7 @@ Stop a Transcode Session
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="stopTranscodeSession" method="delete" path="/transcode/sessions/{sessionKey}" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";

View File

@@ -18,6 +18,7 @@ This will return the media statistics for the server
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="getStatistics" method="get" path="/statistics/media" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -88,6 +89,7 @@ This will return the resources for the server
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="getResourcesStatistics" method="get" path="/statistics/resources" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -158,6 +160,7 @@ This will return the bandwidth statistics for the server
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="getBandwidthStatistics" method="get" path="/statistics/bandwidth" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";

View File

@@ -19,6 +19,7 @@ Querying status of updates
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="getUpdateStatus" method="get" path="/updater/status" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
@@ -88,6 +89,7 @@ Checking for updates
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="checkForUpdates" method="put" path="/updater/check" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
import { Download } from "@lukehagar/plexjs/sdk/models/operations"; import { Download } from "@lukehagar/plexjs/sdk/models/operations";
@@ -161,6 +163,7 @@ Note that these two parameters are effectively mutually exclusive. The `tonight`
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="applyUpdates" method="put" path="/updater/apply" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
import { Skip, Tonight } from "@lukehagar/plexjs/sdk/models/operations"; import { Skip, Tonight } from "@lukehagar/plexjs/sdk/models/operations";

View File

@@ -13,6 +13,7 @@ Get list of all users that are friends and have library access with the provided
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="get-users" method="get" path="/users" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";

View File

@@ -17,6 +17,7 @@ Get the timeline for a media item
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="getTimeline" method="get" path="/:/timeline" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
import { State } from "@lukehagar/plexjs/sdk/models/operations"; import { State } from "@lukehagar/plexjs/sdk/models/operations";
@@ -111,6 +112,7 @@ Begin a Universal Transcode Session
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="startUniversalTranscode" method="get" path="/video/:/transcode/universal/start.mpd" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";

View File

@@ -16,6 +16,7 @@ Get User Watchlist
### Example Usage ### Example Usage
<!-- UsageSnippet language="typescript" operationID="get-watch-list" method="get" path="/library/sections/watchlist/{filter}" -->
```typescript ```typescript
import { PlexAPI } from "@lukehagar/plexjs"; import { PlexAPI } from "@lukehagar/plexjs";
import { Filter } from "@lukehagar/plexjs/sdk/models/operations"; import { Filter } from "@lukehagar/plexjs/sdk/models/operations";

View File

@@ -24,3 +24,8 @@ To run an example file from the examples directory:
npm run build && npx tsx example.ts npm run build && npx tsx example.ts
``` ```
## Creating new examples
Duplicate an existing example file, they won't be overwritten by the generation process.

View File

@@ -18,17 +18,16 @@
}, },
"..": { "..": {
"name": "@lukehagar/plexjs", "name": "@lukehagar/plexjs",
"version": "0.40.0", "version": "0.40.1",
"dependencies": {
"zod": "^3.20.0"
},
"devDependencies": { "devDependencies": {
"@eslint/js": "^9.19.0", "@eslint/js": "^9.19.0",
"eslint": "^9.19.0", "eslint": "^9.19.0",
"globals": "^15.14.0", "globals": "^15.14.0",
"typescript": "^5.4.5", "typescript": "~5.8.3",
"typescript-eslint": "^8.22.0", "typescript-eslint": "^8.22.0"
"zod": "^3.25.17"
},
"peerDependencies": {
"zod": "^3"
} }
}, },
"node_modules/@esbuild/aix-ppc64": { "node_modules/@esbuild/aix-ppc64": {

View File

@@ -2,6 +2,8 @@
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/ */
import dotenv from "dotenv";
dotenv.config();
/** /**
* Example usage of the @lukehagar/plexjs SDK * Example usage of the @lukehagar/plexjs SDK
* *

View File

@@ -2,7 +2,7 @@
{ {
"name": "@lukehagar/plexjs", "name": "@lukehagar/plexjs",
"version": "0.40.0", "version": "0.40.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",

470
package-lock.json generated
View File

@@ -1,22 +1,21 @@
{ {
"name": "@lukehagar/plexjs", "name": "@lukehagar/plexjs",
"version": "0.40.0", "version": "0.40.1",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@lukehagar/plexjs", "name": "@lukehagar/plexjs",
"version": "0.40.0", "version": "0.40.1",
"dependencies": {
"zod": "^3.20.0"
},
"devDependencies": { "devDependencies": {
"@eslint/js": "^9.19.0", "@eslint/js": "^9.19.0",
"eslint": "^9.19.0", "eslint": "^9.19.0",
"globals": "^15.14.0", "globals": "^15.14.0",
"typescript": "^5.4.5", "typescript": "~5.8.3",
"typescript-eslint": "^8.22.0", "typescript-eslint": "^8.22.0"
"zod": "^3.25.17"
},
"peerDependencies": {
"zod": "^3"
} }
}, },
"node_modules/@aashutoshrathi/word-wrap": { "node_modules/@aashutoshrathi/word-wrap": {
@@ -314,242 +313,6 @@
"dev": true, "dev": true,
"license": "MIT" "license": "MIT"
}, },
"node_modules/@typescript-eslint/type-utils": {
"version": "8.23.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.23.0.tgz",
"integrity": "sha512-iIuLdYpQWZKbiH+RkCGc6iu+VwscP5rCtQ1lyQ7TYuKLrcZoeJVpcLiG8DliXVkUxirW/PWlmS+d6yD51L9jvA==",
"dev": true,
"license": "MIT",
"dependencies": {
"@typescript-eslint/typescript-estree": "8.23.0",
"@typescript-eslint/utils": "8.23.0",
"debug": "^4.3.4",
"ts-api-utils": "^2.0.1"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/typescript-eslint"
},
"peerDependencies": {
"eslint": "^8.57.0 || ^9.0.0",
"typescript": ">=4.8.4 <5.8.0"
}
},
"node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types": {
"version": "8.23.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.23.0.tgz",
"integrity": "sha512-1sK4ILJbCmZOTt9k4vkoulT6/y5CHJ1qUYxqpF1K/DBAd8+ZUL4LlSCxOssuH5m4rUaaN0uS0HlVPvd45zjduQ==",
"dev": true,
"license": "MIT",
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/typescript-eslint"
}
},
"node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree": {
"version": "8.23.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.23.0.tgz",
"integrity": "sha512-LcqzfipsB8RTvH8FX24W4UUFk1bl+0yTOf9ZA08XngFwMg4Kj8A+9hwz8Cr/ZS4KwHrmo9PJiLZkOt49vPnuvQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@typescript-eslint/types": "8.23.0",
"@typescript-eslint/visitor-keys": "8.23.0",
"debug": "^4.3.4",
"fast-glob": "^3.3.2",
"is-glob": "^4.0.3",
"minimatch": "^9.0.4",
"semver": "^7.6.0",
"ts-api-utils": "^2.0.1"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/typescript-eslint"
},
"peerDependencies": {
"typescript": ">=4.8.4 <5.8.0"
}
},
"node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys": {
"version": "8.23.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.23.0.tgz",
"integrity": "sha512-oWWhcWDLwDfu++BGTZcmXWqpwtkwb5o7fxUIGksMQQDSdPW9prsSnfIOZMlsj4vBOSrcnjIUZMiIjODgGosFhQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@typescript-eslint/types": "8.23.0",
"eslint-visitor-keys": "^4.2.0"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/typescript-eslint"
}
},
"node_modules/@typescript-eslint/type-utils/node_modules/eslint-visitor-keys": {
"version": "4.2.0",
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz",
"integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==",
"dev": true,
"license": "Apache-2.0",
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},
"funding": {
"url": "https://opencollective.com/eslint"
}
},
"node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.0.1.tgz",
"integrity": "sha512-dnlgjFSVetynI8nzgJ+qF62efpglpWRk8isUEWZGWlJYySCTD6aKvbUDu+zbPeDakk3bg5H4XpitHukgfL1m9w==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=18.12"
},
"peerDependencies": {
"typescript": ">=4.8.4"
}
},
"node_modules/@typescript-eslint/utils": {
"version": "8.23.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.23.0.tgz",
"integrity": "sha512-uB/+PSo6Exu02b5ZEiVtmY6RVYO7YU5xqgzTIVZwTHvvK3HsL8tZZHFaTLFtRG3CsV4A5mhOv+NZx5BlhXPyIA==",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.4.0",
"@typescript-eslint/scope-manager": "8.23.0",
"@typescript-eslint/types": "8.23.0",
"@typescript-eslint/typescript-estree": "8.23.0"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/typescript-eslint"
},
"peerDependencies": {
"eslint": "^8.57.0 || ^9.0.0",
"typescript": ">=4.8.4 <5.8.0"
}
},
"node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/scope-manager": {
"version": "8.23.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.23.0.tgz",
"integrity": "sha512-OGqo7+dXHqI7Hfm+WqkZjKjsiRtFUQHPdGMXzk5mYXhJUedO7e/Y7i8AK3MyLMgZR93TX4bIzYrfyVjLC+0VSw==",
"dev": true,
"license": "MIT",
"dependencies": {
"@typescript-eslint/types": "8.23.0",
"@typescript-eslint/visitor-keys": "8.23.0"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/typescript-eslint"
}
},
"node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/types": {
"version": "8.23.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.23.0.tgz",
"integrity": "sha512-1sK4ILJbCmZOTt9k4vkoulT6/y5CHJ1qUYxqpF1K/DBAd8+ZUL4LlSCxOssuH5m4rUaaN0uS0HlVPvd45zjduQ==",
"dev": true,
"license": "MIT",
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/typescript-eslint"
}
},
"node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/typescript-estree": {
"version": "8.23.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.23.0.tgz",
"integrity": "sha512-LcqzfipsB8RTvH8FX24W4UUFk1bl+0yTOf9ZA08XngFwMg4Kj8A+9hwz8Cr/ZS4KwHrmo9PJiLZkOt49vPnuvQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@typescript-eslint/types": "8.23.0",
"@typescript-eslint/visitor-keys": "8.23.0",
"debug": "^4.3.4",
"fast-glob": "^3.3.2",
"is-glob": "^4.0.3",
"minimatch": "^9.0.4",
"semver": "^7.6.0",
"ts-api-utils": "^2.0.1"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/typescript-eslint"
},
"peerDependencies": {
"typescript": ">=4.8.4 <5.8.0"
}
},
"node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/visitor-keys": {
"version": "8.23.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.23.0.tgz",
"integrity": "sha512-oWWhcWDLwDfu++BGTZcmXWqpwtkwb5o7fxUIGksMQQDSdPW9prsSnfIOZMlsj4vBOSrcnjIUZMiIjODgGosFhQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@typescript-eslint/types": "8.23.0",
"eslint-visitor-keys": "^4.2.0"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/typescript-eslint"
}
},
"node_modules/@typescript-eslint/utils/node_modules/eslint-visitor-keys": {
"version": "4.2.0",
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz",
"integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==",
"dev": true,
"license": "Apache-2.0",
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},
"funding": {
"url": "https://opencollective.com/eslint"
}
},
"node_modules/@typescript-eslint/utils/node_modules/ts-api-utils": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.0.1.tgz",
"integrity": "sha512-dnlgjFSVetynI8nzgJ+qF62efpglpWRk8isUEWZGWlJYySCTD6aKvbUDu+zbPeDakk3bg5H4XpitHukgfL1m9w==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=18.12"
},
"peerDependencies": {
"typescript": ">=4.8.4"
}
},
"node_modules/acorn": { "node_modules/acorn": {
"version": "8.14.0", "version": "8.14.0",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz",
@@ -1567,10 +1330,11 @@
} }
}, },
"node_modules/typescript": { "node_modules/typescript": {
"version": "5.4.5", "version": "5.8.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz",
"integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", "integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==",
"dev": true, "dev": true,
"license": "Apache-2.0",
"bin": { "bin": {
"tsc": "bin/tsc", "tsc": "bin/tsc",
"tsserver": "bin/tsserver" "tsserver": "bin/tsserver"
@@ -1632,6 +1396,30 @@
"typescript": ">=4.8.4 <5.8.0" "typescript": ">=4.8.4 <5.8.0"
} }
}, },
"node_modules/typescript-eslint/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/type-utils": {
"version": "8.23.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.23.0.tgz",
"integrity": "sha512-iIuLdYpQWZKbiH+RkCGc6iu+VwscP5rCtQ1lyQ7TYuKLrcZoeJVpcLiG8DliXVkUxirW/PWlmS+d6yD51L9jvA==",
"dev": true,
"license": "MIT",
"dependencies": {
"@typescript-eslint/typescript-estree": "8.23.0",
"@typescript-eslint/utils": "8.23.0",
"debug": "^4.3.4",
"ts-api-utils": "^2.0.1"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/typescript-eslint"
},
"peerDependencies": {
"eslint": "^8.57.0 || ^9.0.0",
"typescript": ">=4.8.4 <5.8.0"
}
},
"node_modules/typescript-eslint/node_modules/@typescript-eslint/parser": { "node_modules/typescript-eslint/node_modules/@typescript-eslint/parser": {
"version": "8.23.0", "version": "8.23.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.23.0.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.23.0.tgz",
@@ -1716,6 +1504,30 @@
"typescript": ">=4.8.4 <5.8.0" "typescript": ">=4.8.4 <5.8.0"
} }
}, },
"node_modules/typescript-eslint/node_modules/@typescript-eslint/utils": {
"version": "8.23.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.23.0.tgz",
"integrity": "sha512-uB/+PSo6Exu02b5ZEiVtmY6RVYO7YU5xqgzTIVZwTHvvK3HsL8tZZHFaTLFtRG3CsV4A5mhOv+NZx5BlhXPyIA==",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.4.0",
"@typescript-eslint/scope-manager": "8.23.0",
"@typescript-eslint/types": "8.23.0",
"@typescript-eslint/typescript-estree": "8.23.0"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/typescript-eslint"
},
"peerDependencies": {
"eslint": "^8.57.0 || ^9.0.0",
"typescript": ">=4.8.4 <5.8.0"
}
},
"node_modules/typescript-eslint/node_modules/@typescript-eslint/visitor-keys": { "node_modules/typescript-eslint/node_modules/@typescript-eslint/visitor-keys": {
"version": "8.23.0", "version": "8.23.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.23.0.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.23.0.tgz",
@@ -1808,7 +1620,6 @@
"version": "3.25.50", "version": "3.25.50",
"resolved": "https://registry.npmjs.org/zod/-/zod-3.25.50.tgz", "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.50.tgz",
"integrity": "sha512-VstOnRxf4tlSq0raIwbn0n+LA34SxVoZ8r3pkwSUM0jqNiA/HCMQEVjTuS5FZmHsge+9MDGTiAuHyml5T0um6A==", "integrity": "sha512-VstOnRxf4tlSq0raIwbn0n+LA34SxVoZ8r3pkwSUM0jqNiA/HCMQEVjTuS5FZmHsge+9MDGTiAuHyml5T0um6A==",
"dev": true,
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"url": "https://github.com/sponsors/colinhacks" "url": "https://github.com/sponsors/colinhacks"
@@ -2018,134 +1829,6 @@
"integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==",
"dev": true "dev": true
}, },
"@typescript-eslint/type-utils": {
"version": "8.23.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.23.0.tgz",
"integrity": "sha512-iIuLdYpQWZKbiH+RkCGc6iu+VwscP5rCtQ1lyQ7TYuKLrcZoeJVpcLiG8DliXVkUxirW/PWlmS+d6yD51L9jvA==",
"dev": true,
"requires": {
"@typescript-eslint/typescript-estree": "8.23.0",
"@typescript-eslint/utils": "8.23.0",
"debug": "^4.3.4",
"ts-api-utils": "^2.0.1"
},
"dependencies": {
"@typescript-eslint/types": {
"version": "8.23.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.23.0.tgz",
"integrity": "sha512-1sK4ILJbCmZOTt9k4vkoulT6/y5CHJ1qUYxqpF1K/DBAd8+ZUL4LlSCxOssuH5m4rUaaN0uS0HlVPvd45zjduQ==",
"dev": true
},
"@typescript-eslint/typescript-estree": {
"version": "8.23.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.23.0.tgz",
"integrity": "sha512-LcqzfipsB8RTvH8FX24W4UUFk1bl+0yTOf9ZA08XngFwMg4Kj8A+9hwz8Cr/ZS4KwHrmo9PJiLZkOt49vPnuvQ==",
"dev": true,
"requires": {
"@typescript-eslint/types": "8.23.0",
"@typescript-eslint/visitor-keys": "8.23.0",
"debug": "^4.3.4",
"fast-glob": "^3.3.2",
"is-glob": "^4.0.3",
"minimatch": "^9.0.4",
"semver": "^7.6.0",
"ts-api-utils": "^2.0.1"
}
},
"@typescript-eslint/visitor-keys": {
"version": "8.23.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.23.0.tgz",
"integrity": "sha512-oWWhcWDLwDfu++BGTZcmXWqpwtkwb5o7fxUIGksMQQDSdPW9prsSnfIOZMlsj4vBOSrcnjIUZMiIjODgGosFhQ==",
"dev": true,
"requires": {
"@typescript-eslint/types": "8.23.0",
"eslint-visitor-keys": "^4.2.0"
}
},
"eslint-visitor-keys": {
"version": "4.2.0",
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz",
"integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==",
"dev": true
},
"ts-api-utils": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.0.1.tgz",
"integrity": "sha512-dnlgjFSVetynI8nzgJ+qF62efpglpWRk8isUEWZGWlJYySCTD6aKvbUDu+zbPeDakk3bg5H4XpitHukgfL1m9w==",
"dev": true,
"requires": {}
}
}
},
"@typescript-eslint/utils": {
"version": "8.23.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.23.0.tgz",
"integrity": "sha512-uB/+PSo6Exu02b5ZEiVtmY6RVYO7YU5xqgzTIVZwTHvvK3HsL8tZZHFaTLFtRG3CsV4A5mhOv+NZx5BlhXPyIA==",
"dev": true,
"requires": {
"@eslint-community/eslint-utils": "^4.4.0",
"@typescript-eslint/scope-manager": "8.23.0",
"@typescript-eslint/types": "8.23.0",
"@typescript-eslint/typescript-estree": "8.23.0"
},
"dependencies": {
"@typescript-eslint/scope-manager": {
"version": "8.23.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.23.0.tgz",
"integrity": "sha512-OGqo7+dXHqI7Hfm+WqkZjKjsiRtFUQHPdGMXzk5mYXhJUedO7e/Y7i8AK3MyLMgZR93TX4bIzYrfyVjLC+0VSw==",
"dev": true,
"requires": {
"@typescript-eslint/types": "8.23.0",
"@typescript-eslint/visitor-keys": "8.23.0"
}
},
"@typescript-eslint/types": {
"version": "8.23.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.23.0.tgz",
"integrity": "sha512-1sK4ILJbCmZOTt9k4vkoulT6/y5CHJ1qUYxqpF1K/DBAd8+ZUL4LlSCxOssuH5m4rUaaN0uS0HlVPvd45zjduQ==",
"dev": true
},
"@typescript-eslint/typescript-estree": {
"version": "8.23.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.23.0.tgz",
"integrity": "sha512-LcqzfipsB8RTvH8FX24W4UUFk1bl+0yTOf9ZA08XngFwMg4Kj8A+9hwz8Cr/ZS4KwHrmo9PJiLZkOt49vPnuvQ==",
"dev": true,
"requires": {
"@typescript-eslint/types": "8.23.0",
"@typescript-eslint/visitor-keys": "8.23.0",
"debug": "^4.3.4",
"fast-glob": "^3.3.2",
"is-glob": "^4.0.3",
"minimatch": "^9.0.4",
"semver": "^7.6.0",
"ts-api-utils": "^2.0.1"
}
},
"@typescript-eslint/visitor-keys": {
"version": "8.23.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.23.0.tgz",
"integrity": "sha512-oWWhcWDLwDfu++BGTZcmXWqpwtkwb5o7fxUIGksMQQDSdPW9prsSnfIOZMlsj4vBOSrcnjIUZMiIjODgGosFhQ==",
"dev": true,
"requires": {
"@typescript-eslint/types": "8.23.0",
"eslint-visitor-keys": "^4.2.0"
}
},
"eslint-visitor-keys": {
"version": "4.2.0",
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz",
"integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==",
"dev": true
},
"ts-api-utils": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.0.1.tgz",
"integrity": "sha512-dnlgjFSVetynI8nzgJ+qF62efpglpWRk8isUEWZGWlJYySCTD6aKvbUDu+zbPeDakk3bg5H4XpitHukgfL1m9w==",
"dev": true,
"requires": {}
}
}
},
"acorn": { "acorn": {
"version": "8.14.0", "version": "8.14.0",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz",
@@ -2847,9 +2530,9 @@
} }
}, },
"typescript": { "typescript": {
"version": "5.4.5", "version": "5.8.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz",
"integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", "integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==",
"dev": true "dev": true
}, },
"typescript-eslint": { "typescript-eslint": {
@@ -2878,6 +2561,20 @@
"ignore": "^5.3.1", "ignore": "^5.3.1",
"natural-compare": "^1.4.0", "natural-compare": "^1.4.0",
"ts-api-utils": "^2.0.1" "ts-api-utils": "^2.0.1"
},
"dependencies": {
"@typescript-eslint/type-utils": {
"version": "8.23.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.23.0.tgz",
"integrity": "sha512-iIuLdYpQWZKbiH+RkCGc6iu+VwscP5rCtQ1lyQ7TYuKLrcZoeJVpcLiG8DliXVkUxirW/PWlmS+d6yD51L9jvA==",
"dev": true,
"requires": {
"@typescript-eslint/typescript-estree": "8.23.0",
"@typescript-eslint/utils": "8.23.0",
"debug": "^4.3.4",
"ts-api-utils": "^2.0.1"
}
}
} }
}, },
"@typescript-eslint/parser": { "@typescript-eslint/parser": {
@@ -2925,6 +2622,18 @@
"ts-api-utils": "^2.0.1" "ts-api-utils": "^2.0.1"
} }
}, },
"@typescript-eslint/utils": {
"version": "8.23.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.23.0.tgz",
"integrity": "sha512-uB/+PSo6Exu02b5ZEiVtmY6RVYO7YU5xqgzTIVZwTHvvK3HsL8tZZHFaTLFtRG3CsV4A5mhOv+NZx5BlhXPyIA==",
"dev": true,
"requires": {
"@eslint-community/eslint-utils": "^4.4.0",
"@typescript-eslint/scope-manager": "8.23.0",
"@typescript-eslint/types": "8.23.0",
"@typescript-eslint/typescript-estree": "8.23.0"
}
},
"@typescript-eslint/visitor-keys": { "@typescript-eslint/visitor-keys": {
"version": "8.23.0", "version": "8.23.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.23.0.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.23.0.tgz",
@@ -2983,8 +2692,7 @@
"zod": { "zod": {
"version": "3.25.50", "version": "3.25.50",
"resolved": "https://registry.npmjs.org/zod/-/zod-3.25.50.tgz", "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.50.tgz",
"integrity": "sha512-VstOnRxf4tlSq0raIwbn0n+LA34SxVoZ8r3pkwSUM0jqNiA/HCMQEVjTuS5FZmHsge+9MDGTiAuHyml5T0um6A==", "integrity": "sha512-VstOnRxf4tlSq0raIwbn0n+LA34SxVoZ8r3pkwSUM0jqNiA/HCMQEVjTuS5FZmHsge+9MDGTiAuHyml5T0um6A=="
"dev": true
} }
} }
} }

View File

@@ -1,6 +1,6 @@
{ {
"name": "@lukehagar/plexjs", "name": "@lukehagar/plexjs",
"version": "0.40.0", "version": "0.40.1",
"author": "LukeHagar", "author": "LukeHagar",
"main": "./index.js", "main": "./index.js",
"sideEffects": false, "sideEffects": false,
@@ -15,17 +15,16 @@
"prepublishOnly": "npm run build" "prepublishOnly": "npm run build"
}, },
"peerDependencies": { "peerDependencies": {
"zod": "^3"
}, },
"devDependencies": { "devDependencies": {
"@eslint/js": "^9.19.0", "@eslint/js": "^9.19.0",
"eslint": "^9.19.0", "eslint": "^9.19.0",
"globals": "^15.14.0", "globals": "^15.14.0",
"typescript": "^5.4.5", "typescript": "~5.8.3",
"typescript-eslint": "^8.22.0", "typescript-eslint": "^8.22.0"
"zod": "^3.25.17"
}, },
"dependencies": { "dependencies": {
"zod": "^3.20.0"
} }
} }

View File

@@ -94,7 +94,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.40.0", sdkVersion: "0.40.1",
genVersion: "2.656.3", genVersion: "2.674.1",
userAgent: "speakeasy-sdk/typescript 0.40.0 2.656.3 0.0.3 @lukehagar/plexjs", userAgent: "speakeasy-sdk/typescript 0.40.1 2.674.1 0.0.3 @lukehagar/plexjs",
} as const; } as const;