Skip to content

Commit cdcdc0c

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.474.0
1 parent b03cc6a commit cdcdc0c

File tree

126 files changed

+1413
-816
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+1413
-816
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/.speakeasy/reports
12
/react-query
23
/sdk/models/errors
34
/sdk/types

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
!/REACT_QUERY.md
55
!/**/*.ts
66
!/**/*.js
7+
!/**/*.json
78
!/**/*.map
89

910
/.eslintrc.js

.speakeasy/gen.lock

Lines changed: 342 additions & 432 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ generation:
1313
oAuth2ClientCredentialsEnabled: true
1414
oAuth2PasswordEnabled: false
1515
typescript:
16-
version: 0.32.1
16+
version: 0.32.2
1717
additionalDependencies:
1818
dependencies: {}
1919
devDependencies: {}
@@ -22,6 +22,7 @@ typescript:
2222
author: LukeHagar
2323
clientServerStatusCodesAsErrors: true
2424
defaultErrorName: SDKError
25+
enableCustomCodeRegions: false
2526
enableReactQuery: false
2627
enumFormat: enum
2728
flattenGlobalSecurity: true

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
speakeasyVersion: 1.459.2
1+
speakeasyVersion: 1.474.0
22
sources:
33
my-source:
44
sourceNamespace: my-source
@@ -9,20 +9,20 @@ sources:
99
- main
1010
plexapi:
1111
sourceNamespace: plexapi
12-
sourceRevisionDigest: sha256:28e2213b78ff9c789846a4a0b7ab9fb219079a1699d44b22d28474efc4f48eac
13-
sourceBlobDigest: sha256:fa76c39de0ff801844dd56a76c26ab6ca88695fc9b42bb9ff9a8aab5b2b21277
12+
sourceRevisionDigest: sha256:b146684d2d813daa8ba29e432a12334838753d0b20183beca8178a74ec4d895a
13+
sourceBlobDigest: sha256:58f51c4319fcda931d63950fd926e8650e20a2e1375e356bf3a930111e246a58
1414
tags:
1515
- latest
16-
- speakeasy-sdk-regen-1734826254
16+
- speakeasy-sdk-regen-1737677393
1717
- 0.0.3
1818
targets:
1919
plexjs:
2020
source: plexapi
2121
sourceNamespace: plexapi
22-
sourceRevisionDigest: sha256:28e2213b78ff9c789846a4a0b7ab9fb219079a1699d44b22d28474efc4f48eac
23-
sourceBlobDigest: sha256:fa76c39de0ff801844dd56a76c26ab6ca88695fc9b42bb9ff9a8aab5b2b21277
22+
sourceRevisionDigest: sha256:b146684d2d813daa8ba29e432a12334838753d0b20183beca8178a74ec4d895a
23+
sourceBlobDigest: sha256:58f51c4319fcda931d63950fd926e8650e20a2e1375e356bf3a930111e246a58
2424
codeSamplesNamespace: code-samples-typescript-plexjs
25-
codeSamplesRevisionDigest: sha256:7d4fa9b8b7f828000504117f5d5075b647941dd02857cd0c4dded2aafa917a83
25+
codeSamplesRevisionDigest: sha256:96ce210c9c8c0b5ae45ce5fe2e62d64d6914bb1b1b6c18eaee6e1e379fb40e13
2626
workflow:
2727
workflowVersion: 1.0.0
2828
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1168,4 +1168,14 @@ Based on:
11681168
### Generated
11691169
- [typescript v0.32.1] .
11701170
### Releases
1171-
- [NPM v0.32.1] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.32.1 - .
1171+
- [NPM v0.32.1] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.32.1 - .
1172+
1173+
## 2025-01-24 00:09:35
1174+
### Changes
1175+
Based on:
1176+
- OpenAPI Doc
1177+
- Speakeasy CLI 1.474.0 (2.495.0) https://github.com/speakeasy-api/speakeasy
1178+
### Generated
1179+
- [typescript v0.32.2] .
1180+
### Releases
1181+
- [NPM v0.32.2] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.32.2 - .

RUNTIMES.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,29 @@ Runtime environments that are explicitly supported are:
2020
- Note that Deno does not currently have native support for streaming file uploads backed by the filesystem ([issue link][deno-file-streaming])
2121

2222
[deno-file-streaming]: https://github.com/denoland/deno/issues/11018
23+
24+
## Recommended TypeScript compiler options
25+
26+
The following `tsconfig.json` options are recommended for projects using this
27+
SDK in order to get static type support for features like async iterables,
28+
streams and `fetch`-related APIs ([`for await...of`][for-await-of],
29+
[`AbortSignal`][abort-signal], [`Request`][request], [`Response`][response] and
30+
so on):
31+
32+
[for-await-of]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of
33+
[abort-signal]: https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal
34+
[request]: https://developer.mozilla.org/en-US/docs/Web/API/Request
35+
[response]: https://developer.mozilla.org/en-US/docs/Web/API/Response
36+
37+
```jsonc
38+
{
39+
"compilerOptions": {
40+
"target": "es2020", // or higher
41+
"lib": ["es2020", "dom", "dom.iterable"],
42+
}
43+
}
44+
```
45+
46+
While `target` can be set to older ECMAScript versions, it may result in extra,
47+
unnecessary compatibility code being generated if you are not targeting old
48+
runtimes.

codeSamples.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ actions:
622622
});
623623
624624
async function run() {
625-
const result = await plexAPI.library.getMetadataChildren(1539.15, "Stream");
625+
const result = await plexAPI.library.getMetadataChildren(1539.14, "Stream");
626626
627627
// Handle the result
628628
console.log(result);
@@ -820,13 +820,14 @@ actions:
820820
label: details
821821
source: |-
822822
import { PlexAPI } from "@lukehagar/plexjs";
823+
import { IncludeDetails } from "@lukehagar/plexjs/sdk/models/operations";
823824
824825
const plexAPI = new PlexAPI({
825826
accessToken: "<YOUR_API_KEY_HERE>",
826827
});
827828
828829
async function run() {
829-
const result = await plexAPI.library.getLibraryDetails(9518);
830+
const result = await plexAPI.library.getLibraryDetails(9518, IncludeDetails.Zero);
830831
831832
// Handle the result
832833
console.log(result);
@@ -1053,6 +1054,7 @@ actions:
10531054
10541055
async function run() {
10551056
const result = await plexAPI.plex.getPin({
1057+
strong: false,
10561058
clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58",
10571059
clientName: "Plex for Roku",
10581060
deviceNickname: "Roku 3",
@@ -1210,7 +1212,7 @@ actions:
12101212
});
12111213
12121214
async function run() {
1213-
const result = await plexAPI.playlists.updatePlaylist(3915.00);
1215+
const result = await plexAPI.playlists.updatePlaylist(3915);
12141216
12151217
// Handle the result
12161218
console.log(result);
@@ -1271,7 +1273,7 @@ actions:
12711273
});
12721274
12731275
async function run() {
1274-
const result = await plexAPI.playlists.addPlaylistContents(8502.00, "server://12345/com.plexapp.plugins.library/library/metadata/1", 123);
1276+
const result = await plexAPI.playlists.addPlaylistContents(8502.01, "server://12345/com.plexapp.plugins.library/library/metadata/1", 123);
12751277
12761278
// Handle the result
12771279
console.log(result);
@@ -1622,6 +1624,7 @@ actions:
16221624
requestBody: {
16231625
16241626
password: "password123",
1627+
rememberMe: false,
16251628
verificationCode: "123456",
16261629
},
16271630
});
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# EnableCreditsMarkerGeneration
2+
3+
Setting that indicates if credits markers detection is enabled. (-1 = Library default, 0 = Disabled).
4+
5+
## Example Usage
6+
7+
```typescript
8+
import { EnableCreditsMarkerGeneration } from "@lukehagar/plexjs/sdk/models/operations";
9+
10+
let value: EnableCreditsMarkerGeneration =
11+
EnableCreditsMarkerGeneration.LibraryDefault;
12+
```
13+
14+
## Values
15+
16+
| Name | Value |
17+
| ---------------- | ---------------- |
18+
| `LibraryDefault` | -1 |
19+
| `Disabled` | 0 |
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# EpisodeSort
2+
3+
Setting that indicates how episodes are sorted for the show. (-1 = Library default, 0 = Oldest first, 1 = Newest first).
4+
5+
## Example Usage
6+
7+
```typescript
8+
import { EpisodeSort } from "@lukehagar/plexjs/sdk/models/operations";
9+
10+
let value: EpisodeSort = EpisodeSort.OldestFirst;
11+
```
12+
13+
## Values
14+
15+
| Name | Value |
16+
| ---------------- | ---------------- |
17+
| `LibraryDefault` | -1 |
18+
| `OldestFirst` | 0 |
19+
| `NewestFirst` | 1 |

0 commit comments

Comments
 (0)