diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 3ba13c6d..c268e60b 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -3,10 +3,10 @@ id: 16f22cbf-f23f-4419-8924-3a4b06381947 management: docChecksum: 4a7c64e455521ea3ac1e4957e621f694 docVersion: 0.0.3 - speakeasyVersion: 1.580.1 - generationVersion: 2.656.3 - releaseVersion: 0.40.0 - configChecksum: 3e8220b93e9fb4f5d3c6500daf058fae + speakeasyVersion: 1.598.0 + generationVersion: 2.674.1 + releaseVersion: 0.40.1 + configChecksum: 3e740e4147dce43e9e063384bef81cbb repoURL: https://github.com/LukeHagar/plexjs.git repoSubDirectory: . installationURL: https://github.com/LukeHagar/plexjs @@ -15,7 +15,7 @@ features: typescript: additionalDependencies: 0.1.0 constsAndDefaults: 0.1.12 - core: 3.21.14 + core: 3.21.19 defaultEnabledRetries: 0.1.0 deprecations: 2.81.1 downloadStreams: 0.1.1 diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 78ba68d8..f0eb17a1 100755 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -21,7 +21,7 @@ generation: generateNewTests: false skipResponseBodyAssertions: false typescript: - version: 0.40.0 + version: 0.40.1 additionalDependencies: dependencies: {} devDependencies: {} diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index fefc3808..bf09dade 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,4 +1,4 @@ -speakeasyVersion: 1.580.1 +speakeasyVersion: 1.598.0 sources: my-source: sourceNamespace: my-source @@ -13,7 +13,7 @@ sources: sourceBlobDigest: sha256:f84dd2bfdaea4074454cea3c7fbc6c9e05515c5e9e961abb4923b77f8faf48f1 tags: - latest - - speakeasy-sdk-regen-1752106317 + - speakeasy-sdk-regen-1754439152 - 0.0.3 targets: plexjs: @@ -22,7 +22,7 @@ targets: sourceRevisionDigest: sha256:b4fa89a3571fbdcb4228800772a5fe1c292170babcd3e055161ae54402f89577 sourceBlobDigest: sha256:f84dd2bfdaea4074454cea3c7fbc6c9e05515c5e9e961abb4923b77f8faf48f1 codeSamplesNamespace: code-samples-typescript-plexjs - codeSamplesRevisionDigest: sha256:a4ed38eeac4610af5ac9189665922e6cad283ce730eb8b1a20dd4857afda3fd3 + codeSamplesRevisionDigest: sha256:7e539ca104c7b4fdbaad8b7a6b0158f1b4d560475aed3c8d2fb0dae6a2f01700 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/RELEASES.md b/RELEASES.md index a4baaa39..810c4bd8 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1368,4 +1368,14 @@ Based on: ### Generated - [typescript v0.40.0] . ### Releases -- [NPM v0.40.0] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.40.0 - . \ No newline at end of file +- [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 - . \ No newline at end of file diff --git a/docs/sdks/activities/README.md b/docs/sdks/activities/README.md index c3448449..0cbf255b 100644 --- a/docs/sdks/activities/README.md +++ b/docs/sdks/activities/README.md @@ -23,6 +23,7 @@ Get Server Activities ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; @@ -92,6 +93,7 @@ Cancel Server Activities ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; diff --git a/docs/sdks/authentication/README.md b/docs/sdks/authentication/README.md index 74ed7dea..f124aadd 100644 --- a/docs/sdks/authentication/README.md +++ b/docs/sdks/authentication/README.md @@ -20,6 +20,7 @@ This endpoint provides the caller with a temporary token with the same access le ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; import { GetTransientTokenQueryParamType, Scope } from "@lukehagar/plexjs/sdk/models/operations"; @@ -95,6 +96,7 @@ Note: requires Plex Media Server >= 1.15.4. ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; @@ -165,6 +167,7 @@ Get the User data from the provided X-Plex-Token ### Example Usage + ```typescript 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 + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; diff --git a/docs/sdks/butler/README.md b/docs/sdks/butler/README.md index 8fcf8d86..c8afef43 100644 --- a/docs/sdks/butler/README.md +++ b/docs/sdks/butler/README.md @@ -20,6 +20,7 @@ Returns a list of butler tasks ### Example Usage + ```typescript 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 + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; @@ -164,6 +166,7 @@ This endpoint will stop all currently running tasks and remove any scheduled tas ### Example Usage + ```typescript 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 + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; 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 + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; import { PathParamTaskName } from "@lukehagar/plexjs/sdk/models/operations"; diff --git a/docs/sdks/hubs/README.md b/docs/sdks/hubs/README.md index d5a5057d..1183f7cb 100644 --- a/docs/sdks/hubs/README.md +++ b/docs/sdks/hubs/README.md @@ -18,6 +18,7 @@ Get Global Hubs filtered by the parameters provided. ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; @@ -90,6 +91,7 @@ This endpoint will return the recently added content. ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; 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 + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; diff --git a/docs/sdks/library/README.md b/docs/sdks/library/README.md index f5611a8d..d109991a 100644 --- a/docs/sdks/library/README.md +++ b/docs/sdks/library/README.md @@ -35,6 +35,7 @@ This resource returns hash values for local files ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; @@ -107,6 +108,7 @@ This endpoint will return the recently added content. ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; 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 + ```typescript 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 + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; @@ -402,6 +406,7 @@ Delete a library using a specific section id ### Example Usage + ```typescript 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 + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; import { @@ -588,6 +594,7 @@ Retrieves a list of all general media data for this library. ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; import { @@ -691,6 +698,7 @@ This endpoint Refreshes all the Metadata of the library. ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; 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 + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; 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 + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; 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 + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; 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 + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; 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 + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; import { @@ -1176,6 +1189,7 @@ Multiple rating keys can be provided as a comma-separated list (e.g., "21119,216 ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; @@ -1276,6 +1290,7 @@ Returns the background artwork for a library item. ### Example Usage + ```typescript 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 + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; @@ -1414,6 +1430,7 @@ Returns the available posters for a library item. ### Example Usage + ```typescript 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 + ```typescript 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 + ```typescript 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 + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; import { GetTopWatchedContentQueryParamType } from "@lukehagar/plexjs/sdk/models/operations"; diff --git a/docs/sdks/log/README.md b/docs/sdks/log/README.md index 71a251be..2340dad1 100644 --- a/docs/sdks/log/README.md +++ b/docs/sdks/log/README.md @@ -19,6 +19,7 @@ This endpoint will write a single-line log message, including a level and source ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; 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 + ```typescript 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 + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; diff --git a/docs/sdks/media/README.md b/docs/sdks/media/README.md index a0841a63..2254f74d 100644 --- a/docs/sdks/media/README.md +++ b/docs/sdks/media/README.md @@ -20,6 +20,7 @@ This will mark the provided media key as Played. ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; @@ -90,6 +91,7 @@ This will mark the provided media key as Unplayed. ### Example Usage + ```typescript 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 + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; @@ -233,6 +236,7 @@ Gets the banner image of the media item ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; @@ -317,6 +321,7 @@ Gets the thumbnail image of the media item ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; diff --git a/docs/sdks/playlists/README.md b/docs/sdks/playlists/README.md index cf57eca7..4bbb408d 100644 --- a/docs/sdks/playlists/README.md +++ b/docs/sdks/playlists/README.md @@ -30,6 +30,7 @@ Create a new playlist. By default the playlist is blank. To create a playlist al ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; import { CreatePlaylistQueryParamType, Smart } from "@lukehagar/plexjs/sdk/models/operations"; @@ -112,6 +113,7 @@ Get All Playlists given the specified filters. ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; @@ -185,6 +187,7 @@ Smart playlist details contain the `content` attribute. This is the content URI ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; @@ -256,6 +259,7 @@ This endpoint will delete a playlist ### Example Usage + ```typescript 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 + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; @@ -403,6 +408,7 @@ Note that for dumb playlists, items have a `playlistItemID` attribute which is u ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; 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 + ```typescript 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 + ```typescript 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 + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; import { QueryParamForce } from "@lukehagar/plexjs/sdk/models/operations"; diff --git a/docs/sdks/plex/README.md b/docs/sdks/plex/README.md index baf6dddb..899570c1 100644 --- a/docs/sdks/plex/README.md +++ b/docs/sdks/plex/README.md @@ -22,6 +22,7 @@ Get Companions Data ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; @@ -92,6 +93,7 @@ Get friends of provided auth token. ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; @@ -162,6 +164,7 @@ Returns the geolocation and locale data of the caller ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; @@ -228,6 +231,7 @@ Retrieves the home data for the authenticated user, including details like home ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; @@ -297,6 +301,7 @@ Get Plex server access tokens and server connections ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; @@ -371,6 +376,7 @@ Retrieve a Pin ID from Plex.tv to use for authentication flows ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; @@ -449,6 +455,7 @@ Retrieve an Access Token from Plex.tv after the Pin has been authenticated ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; diff --git a/docs/sdks/search/README.md b/docs/sdks/search/README.md index 9d575e07..67a45476 100644 --- a/docs/sdks/search/README.md +++ b/docs/sdks/search/README.md @@ -30,6 +30,7 @@ This request is intended to be very fast, and called as the user types. ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; @@ -106,6 +107,7 @@ Results, as well as their containing per-type hubs, contain a `distance` attribu ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; @@ -178,6 +180,7 @@ This will search the database for the string provided. ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; diff --git a/docs/sdks/server/README.md b/docs/sdks/server/README.md index b6870463..2a947cf8 100644 --- a/docs/sdks/server/README.md +++ b/docs/sdks/server/README.md @@ -24,6 +24,7 @@ Get Server Capabilities ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; @@ -93,6 +94,7 @@ Get Server Preferences ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; @@ -162,6 +164,7 @@ Get Available Clients ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; @@ -231,6 +234,7 @@ Get Devices ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; @@ -300,6 +304,7 @@ This request is useful to determine if the server is online or offline ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; @@ -364,6 +369,7 @@ Returns MyPlex Account Information ### Example Usage + ```typescript 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 + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; 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 + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; @@ -590,6 +598,7 @@ Get Server List ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; diff --git a/docs/sdks/sessions/README.md b/docs/sdks/sessions/README.md index 9ea69b96..237dfb14 100644 --- a/docs/sdks/sessions/README.md +++ b/docs/sdks/sessions/README.md @@ -19,6 +19,7 @@ This will retrieve the "Now Playing" Information of the PMS. ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; @@ -88,6 +89,7 @@ This will Retrieve a listing of all history views. ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; @@ -161,6 +163,7 @@ Get Transcode Sessions ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; @@ -230,6 +233,7 @@ Stop a Transcode Session ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; diff --git a/docs/sdks/statistics/README.md b/docs/sdks/statistics/README.md index 68a309e4..94f6e3b3 100644 --- a/docs/sdks/statistics/README.md +++ b/docs/sdks/statistics/README.md @@ -18,6 +18,7 @@ This will return the media statistics for the server ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; @@ -88,6 +89,7 @@ This will return the resources for the server ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; @@ -158,6 +160,7 @@ This will return the bandwidth statistics for the server ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; diff --git a/docs/sdks/updater/README.md b/docs/sdks/updater/README.md index 0e59109c..eae810cf 100644 --- a/docs/sdks/updater/README.md +++ b/docs/sdks/updater/README.md @@ -19,6 +19,7 @@ Querying status of updates ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; @@ -88,6 +89,7 @@ Checking for updates ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; 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 + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; import { Skip, Tonight } from "@lukehagar/plexjs/sdk/models/operations"; diff --git a/docs/sdks/users/README.md b/docs/sdks/users/README.md index 6af08e23..fe2e55c0 100644 --- a/docs/sdks/users/README.md +++ b/docs/sdks/users/README.md @@ -13,6 +13,7 @@ Get list of all users that are friends and have library access with the provided ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; diff --git a/docs/sdks/video/README.md b/docs/sdks/video/README.md index 35a50453..53903e2a 100644 --- a/docs/sdks/video/README.md +++ b/docs/sdks/video/README.md @@ -17,6 +17,7 @@ Get the timeline for a media item ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; import { State } from "@lukehagar/plexjs/sdk/models/operations"; @@ -111,6 +112,7 @@ Begin a Universal Transcode Session ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; diff --git a/docs/sdks/watchlist/README.md b/docs/sdks/watchlist/README.md index 62b0a7fa..5e8b75bd 100644 --- a/docs/sdks/watchlist/README.md +++ b/docs/sdks/watchlist/README.md @@ -16,6 +16,7 @@ Get User Watchlist ### Example Usage + ```typescript import { PlexAPI } from "@lukehagar/plexjs"; import { Filter } from "@lukehagar/plexjs/sdk/models/operations"; diff --git a/examples/README.md b/examples/README.md index 59dc9144..06a43e3b 100644 --- a/examples/README.md +++ b/examples/README.md @@ -24,3 +24,8 @@ To run an example file from the examples directory: npm run build && npx tsx example.ts ``` +## Creating new examples + +Duplicate an existing example file, they won't be overwritten by the generation process. + + diff --git a/examples/package-lock.json b/examples/package-lock.json index b9f6e685..42d1800a 100644 --- a/examples/package-lock.json +++ b/examples/package-lock.json @@ -18,17 +18,16 @@ }, "..": { "name": "@lukehagar/plexjs", - "version": "0.40.0", + "version": "0.40.1", + "dependencies": { + "zod": "^3.20.0" + }, "devDependencies": { "@eslint/js": "^9.19.0", "eslint": "^9.19.0", "globals": "^15.14.0", - "typescript": "^5.4.5", - "typescript-eslint": "^8.22.0", - "zod": "^3.25.17" - }, - "peerDependencies": { - "zod": "^3" + "typescript": "~5.8.3", + "typescript-eslint": "^8.22.0" } }, "node_modules/@esbuild/aix-ppc64": { diff --git a/examples/serverGetServerCapabilities.example.ts b/examples/serverGetServerCapabilities.example.ts index 594d2a95..b322180d 100644 --- a/examples/serverGetServerCapabilities.example.ts +++ b/examples/serverGetServerCapabilities.example.ts @@ -2,6 +2,8 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ +import dotenv from "dotenv"; +dotenv.config(); /** * Example usage of the @lukehagar/plexjs SDK * diff --git a/jsr.json b/jsr.json index 694863eb..02b2febc 100644 --- a/jsr.json +++ b/jsr.json @@ -2,7 +2,7 @@ { "name": "@lukehagar/plexjs", - "version": "0.40.0", + "version": "0.40.1", "exports": { ".": "./src/index.ts", "./sdk/models/errors": "./src/sdk/models/errors/index.ts", diff --git a/package-lock.json b/package-lock.json index f25fe2f0..c9820abc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,22 +1,21 @@ { "name": "@lukehagar/plexjs", - "version": "0.40.0", + "version": "0.40.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@lukehagar/plexjs", - "version": "0.40.0", + "version": "0.40.1", + "dependencies": { + "zod": "^3.20.0" + }, "devDependencies": { "@eslint/js": "^9.19.0", "eslint": "^9.19.0", "globals": "^15.14.0", - "typescript": "^5.4.5", - "typescript-eslint": "^8.22.0", - "zod": "^3.25.17" - }, - "peerDependencies": { - "zod": "^3" + "typescript": "~5.8.3", + "typescript-eslint": "^8.22.0" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -314,242 +313,6 @@ "dev": true, "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": { "version": "8.14.0", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz", @@ -1567,10 +1330,11 @@ } }, "node_modules/typescript": { - "version": "5.4.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", - "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", + "version": "5.8.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz", + "integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==", "dev": true, + "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -1632,6 +1396,30 @@ "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": { "version": "8.23.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.23.0.tgz", @@ -1716,6 +1504,30 @@ "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": { "version": "8.23.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.23.0.tgz", @@ -1808,7 +1620,6 @@ "version": "3.25.50", "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.50.tgz", "integrity": "sha512-VstOnRxf4tlSq0raIwbn0n+LA34SxVoZ8r3pkwSUM0jqNiA/HCMQEVjTuS5FZmHsge+9MDGTiAuHyml5T0um6A==", - "dev": true, "license": "MIT", "funding": { "url": "https://github.com/sponsors/colinhacks" @@ -2018,134 +1829,6 @@ "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", "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": { "version": "8.14.0", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz", @@ -2847,9 +2530,9 @@ } }, "typescript": { - "version": "5.4.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", - "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", + "version": "5.8.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz", + "integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==", "dev": true }, "typescript-eslint": { @@ -2878,6 +2561,20 @@ "ignore": "^5.3.1", "natural-compare": "^1.4.0", "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": { @@ -2925,6 +2622,18 @@ "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": { "version": "8.23.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.23.0.tgz", @@ -2983,8 +2692,7 @@ "zod": { "version": "3.25.50", "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.50.tgz", - "integrity": "sha512-VstOnRxf4tlSq0raIwbn0n+LA34SxVoZ8r3pkwSUM0jqNiA/HCMQEVjTuS5FZmHsge+9MDGTiAuHyml5T0um6A==", - "dev": true + "integrity": "sha512-VstOnRxf4tlSq0raIwbn0n+LA34SxVoZ8r3pkwSUM0jqNiA/HCMQEVjTuS5FZmHsge+9MDGTiAuHyml5T0um6A==" } } } diff --git a/package.json b/package.json index 8e87859a..60255b5c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lukehagar/plexjs", - "version": "0.40.0", + "version": "0.40.1", "author": "LukeHagar", "main": "./index.js", "sideEffects": false, @@ -15,17 +15,16 @@ "prepublishOnly": "npm run build" }, "peerDependencies": { - "zod": "^3" + }, "devDependencies": { "@eslint/js": "^9.19.0", "eslint": "^9.19.0", "globals": "^15.14.0", - "typescript": "^5.4.5", - "typescript-eslint": "^8.22.0", - "zod": "^3.25.17" + "typescript": "~5.8.3", + "typescript-eslint": "^8.22.0" }, "dependencies": { - + "zod": "^3.20.0" } } diff --git a/src/lib/config.ts b/src/lib/config.ts index dd4d7199..43ea6020 100644 --- a/src/lib/config.ts +++ b/src/lib/config.ts @@ -94,7 +94,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null { export const SDK_METADATA = { language: "typescript", openapiDocVersion: "0.0.3", - sdkVersion: "0.40.0", - genVersion: "2.656.3", - userAgent: "speakeasy-sdk/typescript 0.40.0 2.656.3 0.0.3 @lukehagar/plexjs", + sdkVersion: "0.40.1", + genVersion: "2.674.1", + userAgent: "speakeasy-sdk/typescript 0.40.1 2.674.1 0.0.3 @lukehagar/plexjs", } as const;