Compare commits

...

1 Commits

Author SHA1 Message Date
speakeasybot
6bd12d8759 ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.542.1 2025-05-05 00:13:14 +00:00
11 changed files with 47 additions and 32 deletions

View File

@@ -1,12 +1,12 @@
lockVersion: 2.0.0 lockVersion: 2.0.0
id: 16f22cbf-f23f-4419-8924-3a4b06381947 id: 16f22cbf-f23f-4419-8924-3a4b06381947
management: management:
docChecksum: 240f8c1c261507210580a28b30721518 docChecksum: 2e1e3353e484ae5ccfa2c07317f86acf
docVersion: 0.0.3 docVersion: 0.0.3
speakeasyVersion: 1.541.2 speakeasyVersion: 1.542.1
generationVersion: 2.595.4 generationVersion: 2.597.9
releaseVersion: 0.37.1 releaseVersion: 0.37.2
configChecksum: 2cfb133867c26731df6045dd2da5e216 configChecksum: 93a6d519c728de6193c3a0fc8f03ddfd
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

View File

@@ -16,7 +16,7 @@ generation:
oAuth2ClientCredentialsEnabled: true oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: false oAuth2PasswordEnabled: false
typescript: typescript:
version: 0.37.1 version: 0.37.2
additionalDependencies: additionalDependencies:
dependencies: {} dependencies: {}
devDependencies: {} devDependencies: {}

View File

@@ -1,4 +1,4 @@
speakeasyVersion: 1.541.2 speakeasyVersion: 1.542.1
sources: sources:
my-source: my-source:
sourceNamespace: my-source sourceNamespace: my-source
@@ -9,20 +9,20 @@ sources:
- main - main
plexapi: plexapi:
sourceNamespace: plexapi sourceNamespace: plexapi
sourceRevisionDigest: sha256:31ab7b2e65ccf1e0349bcd8b35791d1ce80091313481874749163fc0c80fd8ed sourceRevisionDigest: sha256:37adc934a79841fb00cfe6ed569f5b1c88534b20202ecbde64b4e84828cee22a
sourceBlobDigest: sha256:d971fff9723c626fe70403a2a83d813c396a20b06ccd6b899263762038cfdbb0 sourceBlobDigest: sha256:ffb5b8d288111a763e4d035c8c9e37f5c89690d146b7297493b43a71d8298e6c
tags: tags:
- latest - latest
- speakeasy-sdk-regen-1746058355 - speakeasy-sdk-regen-1746403916
- 0.0.3 - 0.0.3
targets: targets:
plexjs: plexjs:
source: plexapi source: plexapi
sourceNamespace: plexapi sourceNamespace: plexapi
sourceRevisionDigest: sha256:31ab7b2e65ccf1e0349bcd8b35791d1ce80091313481874749163fc0c80fd8ed sourceRevisionDigest: sha256:37adc934a79841fb00cfe6ed569f5b1c88534b20202ecbde64b4e84828cee22a
sourceBlobDigest: sha256:d971fff9723c626fe70403a2a83d813c396a20b06ccd6b899263762038cfdbb0 sourceBlobDigest: sha256:ffb5b8d288111a763e4d035c8c9e37f5c89690d146b7297493b43a71d8298e6c
codeSamplesNamespace: code-samples-typescript-plexjs codeSamplesNamespace: code-samples-typescript-plexjs
codeSamplesRevisionDigest: sha256:a91f578e701b7e8f5859b16094a73f590cbbec59c3b81c7f8baeafbef0f3a47e codeSamplesRevisionDigest: sha256:945657568eb11e06b45691a4a4a058c37170f5919329abbb42e23a5016781ba8
workflow: workflow:
workflowVersion: 1.0.0 workflowVersion: 1.0.0
speakeasyVersion: latest speakeasyVersion: latest

View File

@@ -1329,3 +1329,13 @@ Based on:
- [typescript v0.37.1] . - [typescript v0.37.1] .
### Releases ### Releases
- [NPM v0.37.1] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.37.1 - . - [NPM v0.37.1] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.37.1 - .
## 2025-05-05 00:11:37
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.542.1 (2.597.9) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.37.2] .
### Releases
- [NPM v0.37.2] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.37.2 - .

View File

@@ -57,5 +57,5 @@ let value: GetAllLibrariesDirectory = {
| `content` | *boolean* | :heavy_check_mark: | UNKNOWN | true | | `content` | *boolean* | :heavy_check_mark: | UNKNOWN | true |
| `directory` | *boolean* | :heavy_check_mark: | UNKNOWN | true | | `directory` | *boolean* | :heavy_check_mark: | UNKNOWN | true |
| `contentChangedAt` | *number* | :heavy_check_mark: | Timestamp (in seconds) representing the last time the content was modified.<br/>NOTE: Some Plex server have some absurd values for this field, like 8457612157633039800 so it should be int64<br/> | 9173960 | | `contentChangedAt` | *number* | :heavy_check_mark: | Timestamp (in seconds) representing the last time the content was modified.<br/>NOTE: Some Plex server have some absurd values for this field, like 8457612157633039800 so it should be int64<br/> | 9173960 |
| `hidden` | [operations.Hidden](../../../sdk/models/operations/hidden.md) | :heavy_minus_sign: | N/A | 1 | | `hidden` | [operations.Hidden](../../../sdk/models/operations/hidden.md) | :heavy_minus_sign: | The Plex library visibility setting | 1 |
| `location` | [operations.GetAllLibrariesLocation](../../../sdk/models/operations/getalllibrarieslocation.md)[] | :heavy_check_mark: | N/A | | | `location` | [operations.GetAllLibrariesLocation](../../../sdk/models/operations/getalllibrarieslocation.md)[] | :heavy_check_mark: | N/A | |

View File

@@ -1,18 +1,19 @@
# Hidden # Hidden
UNKNOWN The Plex library visibility setting
## Example Usage ## Example Usage
```typescript ```typescript
import { Hidden } from "@lukehagar/plexjs/sdk/models/operations"; import { Hidden } from "@lukehagar/plexjs/sdk/models/operations";
let value: Hidden = Hidden.Enable; let value: Hidden = Hidden.ExcludeHomeScreen;
``` ```
## Values ## Values
| Name | Value | | Name | Value |
| --------- | --------- | | ---------------------------------- | ---------------------------------- |
| `Disable` | 0 | | `Visible` | 0 |
| `Enable` | 1 | | `ExcludeHomeScreen` | 1 |
| `ExcludeHomeScreenAndGlobalSearch` | 2 |

View File

@@ -2,7 +2,7 @@
{ {
"name": "@lukehagar/plexjs", "name": "@lukehagar/plexjs",
"version": "0.37.1", "version": "0.37.2",
"exports": { "exports": {
".": "./src/index.ts", ".": "./src/index.ts",
"./sdk/models/errors": "./src/sdk/models/errors/index.ts", "./sdk/models/errors": "./src/sdk/models/errors/index.ts",

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "@lukehagar/plexjs", "name": "@lukehagar/plexjs",
"version": "0.37.1", "version": "0.37.2",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@lukehagar/plexjs", "name": "@lukehagar/plexjs",
"version": "0.37.1", "version": "0.37.2",
"devDependencies": { "devDependencies": {
"@eslint/js": "^9.19.0", "@eslint/js": "^9.19.0",
"eslint": "^9.19.0", "eslint": "^9.19.0",

View File

@@ -1,6 +1,6 @@
{ {
"name": "@lukehagar/plexjs", "name": "@lukehagar/plexjs",
"version": "0.37.1", "version": "0.37.2",
"author": "LukeHagar", "author": "LukeHagar",
"main": "./index.js", "main": "./index.js",
"sideEffects": false, "sideEffects": false,

View File

@@ -90,7 +90,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.37.1", sdkVersion: "0.37.2",
genVersion: "2.595.4", genVersion: "2.597.9",
userAgent: "speakeasy-sdk/typescript 0.37.1 2.595.4 0.0.3 @lukehagar/plexjs", userAgent: "speakeasy-sdk/typescript 0.37.2 2.597.9 0.0.3 @lukehagar/plexjs",
} as const; } as const;

View File

@@ -30,11 +30,12 @@ export enum GetAllLibrariesType {
export type GetAllLibrariesTypeOpen = OpenEnum<typeof GetAllLibrariesType>; export type GetAllLibrariesTypeOpen = OpenEnum<typeof GetAllLibrariesType>;
/** /**
* UNKNOWN * The Plex library visibility setting
*/ */
export enum Hidden { export enum Hidden {
Disable = 0, Visible = 0,
Enable = 1, ExcludeHomeScreen = 1,
ExcludeHomeScreenAndGlobalSearch = 2,
} }
export type GetAllLibrariesLocation = { export type GetAllLibrariesLocation = {
@@ -122,6 +123,9 @@ export type GetAllLibrariesDirectory = {
* NOTE: Some Plex server have some absurd values for this field, like 8457612157633039800 so it should be int64 * NOTE: Some Plex server have some absurd values for this field, like 8457612157633039800 so it should be int64
*/ */
contentChangedAt: number; contentChangedAt: number;
/**
* The Plex library visibility setting
*/
hidden?: Hidden | undefined; hidden?: Hidden | undefined;
location: Array<GetAllLibrariesLocation>; location: Array<GetAllLibrariesLocation>;
}; };
@@ -359,7 +363,7 @@ export const GetAllLibrariesDirectory$outboundSchema: z.ZodType<
content: z.boolean(), content: z.boolean(),
directory: z.boolean(), directory: z.boolean(),
contentChangedAt: z.number().int(), contentChangedAt: z.number().int(),
hidden: Hidden$outboundSchema.default(Hidden.Disable), hidden: Hidden$outboundSchema.default(Hidden.Visible),
location: z.array(z.lazy(() => GetAllLibrariesLocation$outboundSchema)), location: z.array(z.lazy(() => GetAllLibrariesLocation$outboundSchema)),
}).transform((v) => { }).transform((v) => {
return remap$(v, { return remap$(v, {