diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index d6c2fb3..ea4b59c 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 3eeea668-4ef4-464e-a888-bdfa023bedf5 management: - docChecksum: d79f1dea291e60a9e3b3fc2de2e0da83 + docChecksum: 48621865085324b8b8eda5901f092a37 docVersion: 0.0.3 - speakeasyVersion: 1.542.0 - generationVersion: 2.596.2 - releaseVersion: 0.27.0 - configChecksum: e560658ad48bca4276f91cca5943ed0e + speakeasyVersion: 1.542.3 + generationVersion: 2.597.9 + releaseVersion: 0.27.1 + configChecksum: 8c8c5814ace17a3e1bb15129c44e27eb repoURL: https://github.com/LukeHagar/plexpy.git repoSubDirectory: . installationURL: https://github.com/LukeHagar/plexpy.git @@ -15,7 +15,7 @@ features: python: additionalDependencies: 1.0.0 constsAndDefaults: 1.0.5 - core: 5.17.0 + core: 5.17.1 defaultEnabledRetries: 0.2.0 deprecations: 3.0.2 downloadStreams: 1.0.1 diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index e39c190..089b30d 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -16,7 +16,7 @@ generation: oAuth2ClientCredentialsEnabled: true oAuth2PasswordEnabled: false python: - version: 0.27.0 + version: 0.27.1 additionalDependencies: dev: {} main: {} diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 2de2ccf..6c7d1fb 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,4 +1,4 @@ -speakeasyVersion: 1.542.0 +speakeasyVersion: 1.542.3 sources: my-source: sourceNamespace: my-source @@ -8,19 +8,19 @@ sources: - latest plexapi: sourceNamespace: plexapi - sourceRevisionDigest: sha256:31ab7b2e65ccf1e0349bcd8b35791d1ce80091313481874749163fc0c80fd8ed - sourceBlobDigest: sha256:d971fff9723c626fe70403a2a83d813c396a20b06ccd6b899263762038cfdbb0 + sourceRevisionDigest: sha256:37adc934a79841fb00cfe6ed569f5b1c88534b20202ecbde64b4e84828cee22a + sourceBlobDigest: sha256:ffb5b8d288111a763e4d035c8c9e37f5c89690d146b7297493b43a71d8298e6c tags: - latest - - speakeasy-sdk-regen-1746144091 + - speakeasy-sdk-regen-1746489712 targets: plexpy: source: plexapi sourceNamespace: plexapi - sourceRevisionDigest: sha256:31ab7b2e65ccf1e0349bcd8b35791d1ce80091313481874749163fc0c80fd8ed - sourceBlobDigest: sha256:d971fff9723c626fe70403a2a83d813c396a20b06ccd6b899263762038cfdbb0 + sourceRevisionDigest: sha256:37adc934a79841fb00cfe6ed569f5b1c88534b20202ecbde64b4e84828cee22a + sourceBlobDigest: sha256:ffb5b8d288111a763e4d035c8c9e37f5c89690d146b7297493b43a71d8298e6c codeSamplesNamespace: code-samples-python-plexpy - codeSamplesRevisionDigest: sha256:647c4ac7b5139ce5ac47fd90eb5845242a98f693627233caed79fa992350c80a + codeSamplesRevisionDigest: sha256:d44dccf82c6d957716f9fa25e845ee03044aed2df7e25e9921038315f99853f5 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/RELEASES.md b/RELEASES.md index 5b8ebc6..4240e39 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1028,4 +1028,14 @@ Based on: ### Generated - [python v0.27.0] . ### Releases -- [PyPI v0.27.0] https://pypi.org/project/plex-api-client/0.27.0 - . \ No newline at end of file +- [PyPI v0.27.0] https://pypi.org/project/plex-api-client/0.27.0 - . + +## 2025-05-06 00:01:36 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.542.3 (2.597.9) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.27.1] . +### Releases +- [PyPI v0.27.1] https://pypi.org/project/plex-api-client/0.27.1 - . \ No newline at end of file diff --git a/codeSamples.yaml b/codeSamples.yaml index 450ee18..277723b 100644 --- a/codeSamples.yaml +++ b/codeSamples.yaml @@ -9,7 +9,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -28,7 +28,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -47,7 +47,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -66,7 +66,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -85,8 +85,8 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI - from .models import operations + from plex_api_client import PlexAPI + from plex_api_client.models import operations with PlexAPI( @@ -116,7 +116,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -135,7 +135,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -154,7 +154,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -173,7 +173,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -192,7 +192,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -211,7 +211,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -230,8 +230,8 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI - from .models import operations + from plex_api_client import PlexAPI + from plex_api_client.models import operations with PlexAPI( @@ -250,8 +250,8 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI - from .models import operations + from plex_api_client import PlexAPI + from plex_api_client.models import operations with PlexAPI( @@ -270,7 +270,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -289,7 +289,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -308,7 +308,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -327,7 +327,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -346,7 +346,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI() as plex_api: @@ -363,7 +363,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -382,7 +382,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -401,8 +401,8 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI - from .models import operations + from plex_api_client import PlexAPI + from plex_api_client.models import operations with PlexAPI( @@ -425,7 +425,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -444,7 +444,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -463,7 +463,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -482,7 +482,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI() as plex_api: @@ -499,8 +499,8 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI - from .models import operations + from plex_api_client import PlexAPI + from plex_api_client.models import operations with PlexAPI( @@ -519,7 +519,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -538,7 +538,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -572,7 +572,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -591,7 +591,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -610,7 +610,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -636,7 +636,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -655,7 +655,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -674,7 +674,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -693,7 +693,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -719,8 +719,8 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI - from .models import operations + from plex_api_client import PlexAPI + from plex_api_client.models import operations with PlexAPI( @@ -757,8 +757,8 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI - from .models import operations + from plex_api_client import PlexAPI + from plex_api_client.models import operations with PlexAPI( @@ -783,7 +783,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -802,8 +802,8 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI - from .models import operations + from plex_api_client import PlexAPI + from plex_api_client.models import operations with PlexAPI( @@ -825,7 +825,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -844,7 +844,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -863,8 +863,8 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI - from .models import operations + from plex_api_client import PlexAPI + from plex_api_client.models import operations with PlexAPI( @@ -883,8 +883,8 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI - from .models import operations + from plex_api_client import PlexAPI + from plex_api_client.models import operations with PlexAPI( @@ -906,8 +906,8 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI - from .models import operations + from plex_api_client import PlexAPI + from plex_api_client.models import operations with PlexAPI( @@ -926,8 +926,8 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI - from .models import operations + from plex_api_client import PlexAPI + from plex_api_client.models import operations with PlexAPI( @@ -946,8 +946,8 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI - from .models import operations + from plex_api_client import PlexAPI + from plex_api_client.models import operations with PlexAPI( @@ -966,8 +966,8 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI - from .models import operations + from plex_api_client import PlexAPI + from plex_api_client.models import operations with PlexAPI( @@ -986,8 +986,8 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI - from .models import operations + from plex_api_client import PlexAPI + from plex_api_client.models import operations with PlexAPI( @@ -1010,8 +1010,8 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI - from .models import operations + from plex_api_client import PlexAPI + from plex_api_client.models import operations with PlexAPI( @@ -1030,7 +1030,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -1051,7 +1051,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -1070,7 +1070,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -1089,7 +1089,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -1108,8 +1108,8 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI - from .models import operations + from plex_api_client import PlexAPI + from plex_api_client.models import operations with PlexAPI( @@ -1136,7 +1136,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI() as plex_api: @@ -1159,7 +1159,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI() as plex_api: @@ -1183,7 +1183,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -1202,8 +1202,8 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI - from .models import operations + from plex_api_client import PlexAPI + from plex_api_client.models import operations with PlexAPI( @@ -1227,8 +1227,8 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI - from .models import operations + from plex_api_client import PlexAPI + from plex_api_client.models import operations with PlexAPI( @@ -1247,7 +1247,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -1266,7 +1266,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -1285,7 +1285,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -1304,7 +1304,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -1323,8 +1323,8 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI - from .models import operations + from plex_api_client import PlexAPI + from plex_api_client.models import operations with PlexAPI( @@ -1343,7 +1343,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -1362,7 +1362,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -1381,7 +1381,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -1400,7 +1400,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -1419,8 +1419,8 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI - from .models import operations + from plex_api_client import PlexAPI + from plex_api_client.models import operations with PlexAPI( @@ -1439,7 +1439,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -1458,7 +1458,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -1477,7 +1477,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -1496,7 +1496,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -1515,7 +1515,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -1534,7 +1534,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -1553,7 +1553,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -1572,7 +1572,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -1591,8 +1591,8 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI - from .models import operations + from plex_api_client import PlexAPI + from plex_api_client.models import operations with PlexAPI( @@ -1611,8 +1611,8 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI - from .models import operations + from plex_api_client import PlexAPI + from plex_api_client.models import operations with PlexAPI( @@ -1631,7 +1631,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -1650,7 +1650,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( @@ -1669,7 +1669,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI() as plex_api: @@ -1700,7 +1700,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI() as plex_api: @@ -1728,7 +1728,7 @@ actions: - lang: python label: PlexPy source: |- - from import PlexAPI + from plex_api_client import PlexAPI with PlexAPI( diff --git a/docs/models/operations/getalllibrariesdirectory.md b/docs/models/operations/getalllibrariesdirectory.md index ecdb322..ae009de 100644 --- a/docs/models/operations/getalllibrariesdirectory.md +++ b/docs/models/operations/getalllibrariesdirectory.md @@ -24,5 +24,5 @@ | `content` | *bool* | :heavy_check_mark: | UNKNOWN | true | | `directory` | *bool* | :heavy_check_mark: | UNKNOWN | true | | `content_changed_at` | *int* | :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` | [Optional[operations.Hidden]](../../models/operations/hidden.md) | :heavy_minus_sign: | N/A | 1 | +| `hidden` | [Optional[operations.Hidden]](../../models/operations/hidden.md) | :heavy_minus_sign: | The Plex library visibility setting | 1 | | `location` | List[[operations.GetAllLibrariesLocation](../../models/operations/getalllibrarieslocation.md)] | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/operations/hidden.md b/docs/models/operations/hidden.md index 8a79b1d..bcf6baf 100644 --- a/docs/models/operations/hidden.md +++ b/docs/models/operations/hidden.md @@ -1,11 +1,12 @@ # Hidden -UNKNOWN +The Plex library visibility setting ## Values -| Name | Value | -| --------- | --------- | -| `DISABLE` | 0 | -| `ENABLE` | 1 | \ No newline at end of file +| Name | Value | +| --------------------------------------- | --------------------------------------- | +| `VISIBLE` | 0 | +| `EXCLUDE_HOME_SCREEN` | 1 | +| `EXCLUDE_HOME_SCREEN_AND_GLOBAL_SEARCH` | 2 | \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 222f03e..b8f092f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "plex-api-client" -version = "0.27.0" +version = "0.27.1" description = "Python Client SDK Generated by Speakeasy" authors = [{ name = "Speakeasy" },] readme = "README-PYPI.md" diff --git a/src/plex_api_client/_version.py b/src/plex_api_client/_version.py index fd1e541..5ec03c7 100644 --- a/src/plex_api_client/_version.py +++ b/src/plex_api_client/_version.py @@ -3,10 +3,10 @@ import importlib.metadata __title__: str = "plex-api-client" -__version__: str = "0.27.0" +__version__: str = "0.27.1" __openapi_doc_version__: str = "0.0.3" -__gen_version__: str = "2.596.2" -__user_agent__: str = "speakeasy-sdk/python 0.27.0 2.596.2 0.0.3 plex-api-client" +__gen_version__: str = "2.597.9" +__user_agent__: str = "speakeasy-sdk/python 0.27.1 2.597.9 0.0.3 plex-api-client" try: if __package__ is not None: diff --git a/src/plex_api_client/models/operations/get_all_libraries.py b/src/plex_api_client/models/operations/get_all_libraries.py index 332e05c..6e7ca26 100644 --- a/src/plex_api_client/models/operations/get_all_libraries.py +++ b/src/plex_api_client/models/operations/get_all_libraries.py @@ -24,10 +24,11 @@ class GetAllLibrariesType(str, Enum, metaclass=utils.OpenEnumMeta): class Hidden(int, Enum): - r"""UNKNOWN""" + r"""The Plex library visibility setting""" - DISABLE = 0 - ENABLE = 1 + VISIBLE = 0 + EXCLUDE_HOME_SCREEN = 1 + EXCLUDE_HOME_SCREEN_AND_GLOBAL_SEARCH = 2 class GetAllLibrariesLocationTypedDict(TypedDict): @@ -87,6 +88,7 @@ class GetAllLibrariesDirectoryTypedDict(TypedDict): location: List[GetAllLibrariesLocationTypedDict] created_at: NotRequired[int] hidden: NotRequired[Hidden] + r"""The Plex library visibility setting""" class GetAllLibrariesDirectory(BaseModel): @@ -150,7 +152,8 @@ class GetAllLibrariesDirectory(BaseModel): created_at: Annotated[Optional[int], pydantic.Field(alias="createdAt")] = None - hidden: Optional[Hidden] = Hidden.DISABLE + hidden: Optional[Hidden] = Hidden.VISIBLE + r"""The Plex library visibility setting""" class GetAllLibrariesMediaContainerTypedDict(TypedDict):