diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index f4fe173d..f2c3ff60 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 16f22cbf-f23f-4419-8924-3a4b06381947 management: - docChecksum: 56461ffb5578bc5d5609498b7566931a + docChecksum: 36ee724f848f28426c2a102c916f4e89 docVersion: 0.0.3 - speakeasyVersion: 1.529.1 - generationVersion: 2.566.5 - releaseVersion: 0.36.1 - configChecksum: 8d88187f30b36bd7b76ad5d77b2b59f9 + speakeasyVersion: 1.531.4 + generationVersion: 2.570.4 + releaseVersion: 0.36.2 + configChecksum: 10fab2b0d3dc4d904f07db6dd8c02510 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.11 - core: 3.21.5 + core: 3.21.6 defaultEnabledRetries: 0.1.0 deprecations: 2.81.1 downloadStreams: 0.1.1 diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 70712181..44a27c36 100755 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -15,7 +15,7 @@ generation: oAuth2ClientCredentialsEnabled: true oAuth2PasswordEnabled: false typescript: - version: 0.36.1 + version: 0.36.2 additionalDependencies: dependencies: {} devDependencies: {} diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 2c0419b6..0effa3dc 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,4 +1,4 @@ -speakeasyVersion: 1.529.1 +speakeasyVersion: 1.531.4 sources: my-source: sourceNamespace: my-source @@ -9,20 +9,20 @@ sources: - main plexapi: sourceNamespace: plexapi - sourceRevisionDigest: sha256:ea508e3da23b283f47aeb4384d6b3ab374a27bdffb8d8d8376cedbad3ad77a06 - sourceBlobDigest: sha256:c210adbd02b0213b9e6f95ffc27f60ec38f8f9040137d55ccf2b650d92ab0ff5 + sourceRevisionDigest: sha256:db75a06885b897418dcb580679b5f744348573ad317155172346d32442420e5e + sourceBlobDigest: sha256:ac0a3c3a6df002378b3522325c2330ba4309fbbbfa503a04b8267398f20033f5 tags: - latest - - speakeasy-sdk-regen-1743898297 + - speakeasy-sdk-regen-1744589502 - 0.0.3 targets: plexjs: source: plexapi sourceNamespace: plexapi - sourceRevisionDigest: sha256:ea508e3da23b283f47aeb4384d6b3ab374a27bdffb8d8d8376cedbad3ad77a06 - sourceBlobDigest: sha256:c210adbd02b0213b9e6f95ffc27f60ec38f8f9040137d55ccf2b650d92ab0ff5 + sourceRevisionDigest: sha256:db75a06885b897418dcb580679b5f744348573ad317155172346d32442420e5e + sourceBlobDigest: sha256:ac0a3c3a6df002378b3522325c2330ba4309fbbbfa503a04b8267398f20033f5 codeSamplesNamespace: code-samples-typescript-plexjs - codeSamplesRevisionDigest: sha256:871b7aa4b65bfb8932c4593238410f8f50b425e8039c1edd716be8b5f253ef9a + codeSamplesRevisionDigest: sha256:2542621903a932e966c28b4970e8b3a9e7f8b459e42d63ebebdc3940e551cd76 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/RELEASES.md b/RELEASES.md index e567d6de..132d33be 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1298,4 +1298,14 @@ Based on: ### Generated - [typescript v0.36.1] . ### Releases -- [NPM v0.36.1] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.36.1 - . \ No newline at end of file +- [NPM v0.36.1] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.36.1 - . + +## 2025-04-14 00:11:23 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.531.4 (2.570.4) https://github.com/speakeasy-api/speakeasy +### Generated +- [typescript v0.36.2] . +### Releases +- [NPM v0.36.2] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.36.2 - . \ No newline at end of file diff --git a/docs/sdk/models/operations/getalllibrariesdirectory.md b/docs/sdk/models/operations/getalllibrariesdirectory.md index f19d324d..ea9dd3d7 100644 --- a/docs/sdk/models/operations/getalllibrariesdirectory.md +++ b/docs/sdk/models/operations/getalllibrariesdirectory.md @@ -36,26 +36,26 @@ let value: GetAllLibrariesDirectory = { ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -| `allowSync` | *boolean* | :heavy_check_mark: | Indicates whether syncing is allowed. | false | -| `art` | *string* | :heavy_check_mark: | URL for the background artwork of the media container. | /:/resources/show-fanart.jpg | -| `composite` | *string* | :heavy_check_mark: | The relative path to the composite media item. | /library/sections/1/composite/1743824484 | -| `filters` | *boolean* | :heavy_check_mark: | UNKNOWN | true | -| `refreshing` | *boolean* | :heavy_check_mark: | Indicates whether the library is currently being refreshed or updated | true | -| `thumb` | *string* | :heavy_check_mark: | URL for the thumbnail image of the media container. | /:/resources/show.png | -| `key` | *string* | :heavy_check_mark: | The library key representing the unique identifier | 1 | -| `type` | [operations.GetAllLibrariesType](../../../sdk/models/operations/getalllibrariestype.md) | :heavy_check_mark: | N/A | movie | -| `title` | *string* | :heavy_check_mark: | The title of the library | Movies | -| `agent` | *string* | :heavy_check_mark: | The Plex agent used to match and retrieve media metadata. | tv.plex.agents.movie | -| `scanner` | *string* | :heavy_check_mark: | UNKNOWN | Plex Movie | -| `language` | *string* | :heavy_check_mark: | The Plex library language that has been set | en-US | -| `uuid` | *string* | :heavy_check_mark: | The universally unique identifier for the library. | e69655a2-ef48-4aba-bb19-01e7d3cc34d6 | -| `updatedAt` | *number* | :heavy_check_mark: | Unix epoch datetime in seconds | 1556281940 | -| `createdAt` | *number* | :heavy_minus_sign: | N/A | 1556281940 | -| `scannedAt` | *number* | :heavy_check_mark: | Unix epoch datetime in seconds | 1556281940 | -| `content` | *boolean* | :heavy_check_mark: | UNKNOWN | true | -| `directory` | *boolean* | :heavy_check_mark: | UNKNOWN | true | -| `contentChangedAt` | *number* | :heavy_check_mark: | The number of seconds since the content was last changed relative to now. | 9173960 | -| `hidden` | [operations.Hidden](../../../sdk/models/operations/hidden.md) | :heavy_minus_sign: | N/A | 1 | -| `location` | [operations.GetAllLibrariesLocation](../../../sdk/models/operations/getalllibrarieslocation.md)[] | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `allowSync` | *boolean* | :heavy_check_mark: | Indicates whether syncing is allowed. | false | +| `art` | *string* | :heavy_check_mark: | URL for the background artwork of the media container. | /:/resources/show-fanart.jpg | +| `composite` | *string* | :heavy_check_mark: | The relative path to the composite media item. | /library/sections/1/composite/1743824484 | +| `filters` | *boolean* | :heavy_check_mark: | UNKNOWN | true | +| `refreshing` | *boolean* | :heavy_check_mark: | Indicates whether the library is currently being refreshed or updated | true | +| `thumb` | *string* | :heavy_check_mark: | URL for the thumbnail image of the media container. | /:/resources/show.png | +| `key` | *string* | :heavy_check_mark: | The library key representing the unique identifier | 1 | +| `type` | [operations.GetAllLibrariesType](../../../sdk/models/operations/getalllibrariestype.md) | :heavy_check_mark: | N/A | movie | +| `title` | *string* | :heavy_check_mark: | The title of the library | Movies | +| `agent` | *string* | :heavy_check_mark: | The Plex agent used to match and retrieve media metadata. | tv.plex.agents.movie | +| `scanner` | *string* | :heavy_check_mark: | UNKNOWN | Plex Movie | +| `language` | *string* | :heavy_check_mark: | The Plex library language that has been set | en-US | +| `uuid` | *string* | :heavy_check_mark: | The universally unique identifier for the library. | e69655a2-ef48-4aba-bb19-01e7d3cc34d6 | +| `updatedAt` | *number* | :heavy_check_mark: | Unix epoch datetime in seconds | 1556281940 | +| `createdAt` | *number* | :heavy_minus_sign: | N/A | 1556281940 | +| `scannedAt` | *number* | :heavy_check_mark: | Unix epoch datetime in seconds | 1556281940 | +| `content` | *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.
NOTE: Some Plex server have some absurd values for this field, like 8457612157633039800 so it should be int64
| 9173960 | +| `hidden` | [operations.Hidden](../../../sdk/models/operations/hidden.md) | :heavy_minus_sign: | N/A | 1 | +| `location` | [operations.GetAllLibrariesLocation](../../../sdk/models/operations/getalllibrarieslocation.md)[] | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/jsr.json b/jsr.json index 4927d645..bdd15a22 100644 --- a/jsr.json +++ b/jsr.json @@ -2,7 +2,7 @@ { "name": "@lukehagar/plexjs", - "version": "0.36.1", + "version": "0.36.2", "exports": { ".": "./src/index.ts", "./sdk/models/errors": "./src/sdk/models/errors/index.ts", diff --git a/package-lock.json b/package-lock.json index c33a054f..50629d22 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@lukehagar/plexjs", - "version": "0.36.1", + "version": "0.36.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@lukehagar/plexjs", - "version": "0.36.1", + "version": "0.36.2", "devDependencies": { "@eslint/js": "^9.19.0", "eslint": "^9.19.0", diff --git a/package.json b/package.json index b09ec582..59f17bf9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lukehagar/plexjs", - "version": "0.36.1", + "version": "0.36.2", "author": "LukeHagar", "main": "./index.js", "sideEffects": false, diff --git a/src/lib/config.ts b/src/lib/config.ts index 490e3b01..8ec2b1f9 100644 --- a/src/lib/config.ts +++ b/src/lib/config.ts @@ -90,7 +90,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null { export const SDK_METADATA = { language: "typescript", openapiDocVersion: "0.0.3", - sdkVersion: "0.36.1", - genVersion: "2.566.5", - userAgent: "speakeasy-sdk/typescript 0.36.1 2.566.5 0.0.3 @lukehagar/plexjs", + sdkVersion: "0.36.2", + genVersion: "2.570.4", + userAgent: "speakeasy-sdk/typescript 0.36.2 2.570.4 0.0.3 @lukehagar/plexjs", } as const; diff --git a/src/sdk/models/operations/getalllibraries.ts b/src/sdk/models/operations/getalllibraries.ts index 10ec215a..9281c85c 100644 --- a/src/sdk/models/operations/getalllibraries.ts +++ b/src/sdk/models/operations/getalllibraries.ts @@ -107,7 +107,10 @@ export type GetAllLibrariesDirectory = { */ directory: boolean; /** - * The number of seconds since the content was last changed relative to now. + * Timestamp (in seconds) representing the last time the content was modified. + * + * @remarks + * NOTE: Some Plex server have some absurd values for this field, like 8457612157633039800 so it should be int64 */ contentChangedAt: number; hidden?: Hidden | undefined;