plex-api-client 0.12.2__tar.gz → 0.13.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/PKG-INFO +4 -6
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/README-PYPI.md +3 -5
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/pyproject.toml +1 -1
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/authentication.py +20 -32
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/components/security.py +1 -1
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/__init__.py +34 -16
- plex_api_client-0.13.0/src/plex_api_client/models/operations/get_all_libraries.py +151 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/get_library_items.py +228 -67
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/get_search_library.py +4 -4
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/get_server_resources.py +34 -52
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/getpin.py +0 -34
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/getplaylistcontents.py +4 -4
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/gettokenbypinid.py +1 -40
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/gettokendetails.py +28 -30
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/gettopwatchedcontent.py +4 -4
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/post_users_sign_in_data.py +29 -85
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/uploadplaylist.py +10 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/playlists.py +6 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/plex.py +20 -34
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/sdkconfiguration.py +3 -3
- plex_api_client-0.12.2/src/plex_api_client/models/operations/get_all_libraries.py +0 -155
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/LICENSE.md +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/py.typed +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/__init__.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/_hooks/__init__.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/_hooks/registration.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/_hooks/sdkhooks.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/_hooks/types.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/activities.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/basesdk.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/butler.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/httpclient.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/hubs.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/library.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/log.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/media.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/components/__init__.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/__init__.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/addplaylistcontents.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/applyupdates.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/cancelserveractivities.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/checkforupdates.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/clearplaylistcontents.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/createplaylist.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/deletelibrary.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/deleteplaylist.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/enablepapertrail.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/get_all_libraries.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/get_banner_image.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/get_library_details.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/get_library_items.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/get_media_providers.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/get_meta_data_by_rating_key.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/get_refresh_library_metadata.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/get_search_library.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/get_server_identity.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/get_server_resources.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/get_thumb_image.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/get_watch_list.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/getavailableclients.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/getbandwidthstatistics.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/getbutlertasks.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/getcompanionsdata.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/getdevices.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/getfilehash.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/getgeodata.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/getglobalhubs.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/gethomedata.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/getlibraryhubs.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/getmetadatachildren.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/getmyplexaccount.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/getondeck.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/getpin.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/getplaylist.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/getplaylistcontents.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/getplaylists.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/getrecentlyadded.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/getresizedphoto.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/getresourcesstatistics.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/getsearchresults.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/getserveractivities.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/getservercapabilities.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/getserverlist.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/getserverpreferences.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/getsessionhistory.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/getsessions.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/getsourceconnectioninformation.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/getstatistics.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/gettimeline.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/gettokenbypinid.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/gettokendetails.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/gettopwatchedcontent.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/gettranscodesessions.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/gettransienttoken.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/getupdatestatus.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/getuserfriends.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/logline.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/logmultiline.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/markplayed.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/markunplayed.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/performsearch.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/performvoicesearch.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/post_users_sign_in_data.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/sdkerror.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/startalltasks.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/starttask.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/startuniversaltranscode.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/stopalltasks.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/stoptask.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/stoptranscodesession.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/updateplaylist.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/updateplayprogress.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/errors/uploadplaylist.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/internal/__init__.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/internal/globals.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/addplaylistcontents.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/applyupdates.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/cancelserveractivities.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/checkforupdates.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/clearplaylistcontents.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/createplaylist.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/deletelibrary.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/deleteplaylist.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/enablepapertrail.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/get_banner_image.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/get_library_details.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/get_media_providers.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/get_meta_data_by_rating_key.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/get_refresh_library_metadata.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/get_server_identity.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/get_thumb_image.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/get_watch_list.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/getavailableclients.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/getbandwidthstatistics.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/getbutlertasks.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/getcompanionsdata.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/getdevices.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/getfilehash.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/getgeodata.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/getglobalhubs.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/gethomedata.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/getlibraryhubs.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/getmetadatachildren.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/getmyplexaccount.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/getondeck.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/getplaylist.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/getplaylists.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/getrecentlyadded.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/getresizedphoto.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/getresourcesstatistics.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/getsearchresults.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/getserveractivities.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/getservercapabilities.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/getserverlist.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/getserverpreferences.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/getsessionhistory.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/getsessions.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/getsourceconnectioninformation.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/getstatistics.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/gettimeline.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/gettranscodesessions.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/gettransienttoken.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/getupdatestatus.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/getuserfriends.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/logline.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/logmultiline.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/markplayed.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/markunplayed.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/performsearch.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/performvoicesearch.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/startalltasks.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/starttask.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/startuniversaltranscode.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/stopalltasks.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/stoptask.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/stoptranscodesession.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/updateplaylist.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/updateplayprogress.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/py.typed +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/sdk.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/search.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/server.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/sessions.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/statistics.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/types/__init__.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/types/basemodel.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/updater.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/utils/__init__.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/utils/annotations.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/utils/enums.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/utils/eventstreaming.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/utils/forms.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/utils/headers.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/utils/logger.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/utils/metadata.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/utils/queryparams.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/utils/requestbodies.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/utils/retries.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/utils/security.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/utils/serializers.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/utils/url.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/utils/values.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/video.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/watchlist.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: plex-api-client
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.13.0
|
|
4
4
|
Summary: Python Client SDK Generated by Speakeasy
|
|
5
5
|
Home-page: https://github.com/LukeHagar/plexpy.git
|
|
6
6
|
Author: Speakeasy
|
|
@@ -572,7 +572,7 @@ if res.object is not None:
|
|
|
572
572
|
|
|
573
573
|
Certain parameters are configured globally. These parameters may be set on the SDK client instance itself during initialization. When configured as an option during SDK initialization, These global values will be used as defaults on the operations that use them. When such operations are called, there is a place in each to override the global value, if needed.
|
|
574
574
|
|
|
575
|
-
For example, you can set `ClientID` to `"gcgzw5rz2xovp84b4vha3a40"` at SDK initialization and then you do not have to pass the same value on calls to operations like `
|
|
575
|
+
For example, you can set `ClientID` to `"gcgzw5rz2xovp84b4vha3a40"` at SDK initialization and then you do not have to pass the same value on calls to operations like `get_pin`. But if you want to do so you may, which will locally override the global setting. See the example code below for a demonstration.
|
|
576
576
|
|
|
577
577
|
|
|
578
578
|
### Available Globals
|
|
@@ -595,10 +595,8 @@ This is used to track the client application and its usage
|
|
|
595
595
|
|
|
596
596
|
```python
|
|
597
597
|
from plex_api_client import PlexAPI
|
|
598
|
-
from plex_api_client.models import operations
|
|
599
598
|
|
|
600
599
|
s = PlexAPI(
|
|
601
|
-
access_token="<YOUR_API_KEY_HERE>",
|
|
602
600
|
client_id="gcgzw5rz2xovp84b4vha3a40",
|
|
603
601
|
client_name="Plex Web",
|
|
604
602
|
client_version="4.133.0",
|
|
@@ -606,9 +604,9 @@ s = PlexAPI(
|
|
|
606
604
|
device_name="Linux",
|
|
607
605
|
)
|
|
608
606
|
|
|
609
|
-
res = s.plex.
|
|
607
|
+
res = s.plex.get_pin(request={})
|
|
610
608
|
|
|
611
|
-
if res.
|
|
609
|
+
if res.auth_pin_container is not None:
|
|
612
610
|
# handle response
|
|
613
611
|
pass
|
|
614
612
|
|
|
@@ -550,7 +550,7 @@ if res.object is not None:
|
|
|
550
550
|
|
|
551
551
|
Certain parameters are configured globally. These parameters may be set on the SDK client instance itself during initialization. When configured as an option during SDK initialization, These global values will be used as defaults on the operations that use them. When such operations are called, there is a place in each to override the global value, if needed.
|
|
552
552
|
|
|
553
|
-
For example, you can set `ClientID` to `"gcgzw5rz2xovp84b4vha3a40"` at SDK initialization and then you do not have to pass the same value on calls to operations like `
|
|
553
|
+
For example, you can set `ClientID` to `"gcgzw5rz2xovp84b4vha3a40"` at SDK initialization and then you do not have to pass the same value on calls to operations like `get_pin`. But if you want to do so you may, which will locally override the global setting. See the example code below for a demonstration.
|
|
554
554
|
|
|
555
555
|
|
|
556
556
|
### Available Globals
|
|
@@ -573,10 +573,8 @@ This is used to track the client application and its usage
|
|
|
573
573
|
|
|
574
574
|
```python
|
|
575
575
|
from plex_api_client import PlexAPI
|
|
576
|
-
from plex_api_client.models import operations
|
|
577
576
|
|
|
578
577
|
s = PlexAPI(
|
|
579
|
-
access_token="<YOUR_API_KEY_HERE>",
|
|
580
578
|
client_id="gcgzw5rz2xovp84b4vha3a40",
|
|
581
579
|
client_name="Plex Web",
|
|
582
580
|
client_version="4.133.0",
|
|
@@ -584,9 +582,9 @@ s = PlexAPI(
|
|
|
584
582
|
device_name="Linux",
|
|
585
583
|
)
|
|
586
584
|
|
|
587
|
-
res = s.plex.
|
|
585
|
+
res = s.plex.get_pin(request={})
|
|
588
586
|
|
|
589
|
-
if res.
|
|
587
|
+
if res.auth_pin_container is not None:
|
|
590
588
|
# handle response
|
|
591
589
|
pass
|
|
592
590
|
|
|
@@ -4,8 +4,8 @@ from .basesdk import BaseSDK
|
|
|
4
4
|
from plex_api_client import utils
|
|
5
5
|
from plex_api_client._hooks import HookContext
|
|
6
6
|
from plex_api_client.models import errors, operations
|
|
7
|
-
from plex_api_client.types import OptionalNullable, UNSET
|
|
8
|
-
from typing import Any, Optional, Union
|
|
7
|
+
from plex_api_client.types import BaseModel, OptionalNullable, UNSET
|
|
8
|
+
from typing import Any, Optional, Union, cast
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
class Authentication(BaseSDK):
|
|
@@ -592,8 +592,7 @@ class Authentication(BaseSDK):
|
|
|
592
592
|
def post_users_sign_in_data(
|
|
593
593
|
self,
|
|
594
594
|
*,
|
|
595
|
-
|
|
596
|
-
request_body: Optional[
|
|
595
|
+
request: Optional[
|
|
597
596
|
Union[
|
|
598
597
|
operations.PostUsersSignInDataRequestBody,
|
|
599
598
|
operations.PostUsersSignInDataRequestBodyTypedDict,
|
|
@@ -607,8 +606,7 @@ class Authentication(BaseSDK):
|
|
|
607
606
|
|
|
608
607
|
Sign in user with username and password and return user data with Plex authentication token
|
|
609
608
|
|
|
610
|
-
:param
|
|
611
|
-
:param request_body: Login credentials
|
|
609
|
+
:param request: The request object to send.
|
|
612
610
|
:param retries: Override the default retry configuration for this method
|
|
613
611
|
:param server_url: Override the default server URL for this method
|
|
614
612
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -623,12 +621,11 @@ class Authentication(BaseSDK):
|
|
|
623
621
|
else:
|
|
624
622
|
base_url = operations.POST_USERS_SIGN_IN_DATA_SERVERS[0]
|
|
625
623
|
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
)
|
|
624
|
+
if not isinstance(request, BaseModel):
|
|
625
|
+
request = utils.unmarshal(
|
|
626
|
+
request, Optional[operations.PostUsersSignInDataRequestBody]
|
|
627
|
+
)
|
|
628
|
+
request = cast(Optional[operations.PostUsersSignInDataRequestBody], request)
|
|
632
629
|
|
|
633
630
|
req = self.build_request(
|
|
634
631
|
method="POST",
|
|
@@ -638,14 +635,11 @@ class Authentication(BaseSDK):
|
|
|
638
635
|
request=request,
|
|
639
636
|
request_body_required=False,
|
|
640
637
|
request_has_path_params=False,
|
|
641
|
-
request_has_query_params=
|
|
638
|
+
request_has_query_params=False,
|
|
642
639
|
user_agent_header="user-agent",
|
|
643
640
|
accept_header_value="application/json",
|
|
644
|
-
_globals=operations.PostUsersSignInDataGlobals(
|
|
645
|
-
client_id=self.sdk_configuration.globals.client_id,
|
|
646
|
-
),
|
|
647
641
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
648
|
-
request
|
|
642
|
+
request,
|
|
649
643
|
False,
|
|
650
644
|
True,
|
|
651
645
|
"form",
|
|
@@ -712,8 +706,7 @@ class Authentication(BaseSDK):
|
|
|
712
706
|
async def post_users_sign_in_data_async(
|
|
713
707
|
self,
|
|
714
708
|
*,
|
|
715
|
-
|
|
716
|
-
request_body: Optional[
|
|
709
|
+
request: Optional[
|
|
717
710
|
Union[
|
|
718
711
|
operations.PostUsersSignInDataRequestBody,
|
|
719
712
|
operations.PostUsersSignInDataRequestBodyTypedDict,
|
|
@@ -727,8 +720,7 @@ class Authentication(BaseSDK):
|
|
|
727
720
|
|
|
728
721
|
Sign in user with username and password and return user data with Plex authentication token
|
|
729
722
|
|
|
730
|
-
:param
|
|
731
|
-
:param request_body: Login credentials
|
|
723
|
+
:param request: The request object to send.
|
|
732
724
|
:param retries: Override the default retry configuration for this method
|
|
733
725
|
:param server_url: Override the default server URL for this method
|
|
734
726
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -743,12 +735,11 @@ class Authentication(BaseSDK):
|
|
|
743
735
|
else:
|
|
744
736
|
base_url = operations.POST_USERS_SIGN_IN_DATA_SERVERS[0]
|
|
745
737
|
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
)
|
|
738
|
+
if not isinstance(request, BaseModel):
|
|
739
|
+
request = utils.unmarshal(
|
|
740
|
+
request, Optional[operations.PostUsersSignInDataRequestBody]
|
|
741
|
+
)
|
|
742
|
+
request = cast(Optional[operations.PostUsersSignInDataRequestBody], request)
|
|
752
743
|
|
|
753
744
|
req = self.build_request_async(
|
|
754
745
|
method="POST",
|
|
@@ -758,14 +749,11 @@ class Authentication(BaseSDK):
|
|
|
758
749
|
request=request,
|
|
759
750
|
request_body_required=False,
|
|
760
751
|
request_has_path_params=False,
|
|
761
|
-
request_has_query_params=
|
|
752
|
+
request_has_query_params=False,
|
|
762
753
|
user_agent_header="user-agent",
|
|
763
754
|
accept_header_value="application/json",
|
|
764
|
-
_globals=operations.PostUsersSignInDataGlobals(
|
|
765
|
-
client_id=self.sdk_configuration.globals.client_id,
|
|
766
|
-
),
|
|
767
755
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
768
|
-
request
|
|
756
|
+
request,
|
|
769
757
|
False,
|
|
770
758
|
True,
|
|
771
759
|
"form",
|
{plex_api_client-0.12.2 → plex_api_client-0.13.0}/src/plex_api_client/models/operations/__init__.py
RENAMED
|
@@ -117,6 +117,12 @@ from .get_library_items import (
|
|
|
117
117
|
GetLibraryItemsCountryTypedDict,
|
|
118
118
|
GetLibraryItemsDirector,
|
|
119
119
|
GetLibraryItemsDirectorTypedDict,
|
|
120
|
+
GetLibraryItemsField,
|
|
121
|
+
GetLibraryItemsFieldType,
|
|
122
|
+
GetLibraryItemsFieldTypeTypedDict,
|
|
123
|
+
GetLibraryItemsFieldTypedDict,
|
|
124
|
+
GetLibraryItemsFilter,
|
|
125
|
+
GetLibraryItemsFilterTypedDict,
|
|
120
126
|
GetLibraryItemsGenre,
|
|
121
127
|
GetLibraryItemsGenreTypedDict,
|
|
122
128
|
GetLibraryItemsMedia,
|
|
@@ -125,6 +131,8 @@ from .get_library_items import (
|
|
|
125
131
|
GetLibraryItemsMediaTypedDict,
|
|
126
132
|
GetLibraryItemsMetadata,
|
|
127
133
|
GetLibraryItemsMetadataTypedDict,
|
|
134
|
+
GetLibraryItemsOperator,
|
|
135
|
+
GetLibraryItemsOperatorTypedDict,
|
|
128
136
|
GetLibraryItemsPart,
|
|
129
137
|
GetLibraryItemsPartTypedDict,
|
|
130
138
|
GetLibraryItemsRequest,
|
|
@@ -135,12 +143,20 @@ from .get_library_items import (
|
|
|
135
143
|
GetLibraryItemsResponseTypedDict,
|
|
136
144
|
GetLibraryItemsRole,
|
|
137
145
|
GetLibraryItemsRoleTypedDict,
|
|
146
|
+
GetLibraryItemsSort,
|
|
147
|
+
GetLibraryItemsSortTypedDict,
|
|
148
|
+
GetLibraryItemsType,
|
|
149
|
+
GetLibraryItemsTypeTypedDict,
|
|
138
150
|
GetLibraryItemsWriter,
|
|
139
151
|
GetLibraryItemsWriterTypedDict,
|
|
140
152
|
IncludeGuids,
|
|
141
153
|
IncludeMeta,
|
|
142
154
|
LibrarySectionID,
|
|
143
155
|
LibrarySectionIDTypedDict,
|
|
156
|
+
MediaGUID,
|
|
157
|
+
MediaGUIDTypedDict,
|
|
158
|
+
Meta,
|
|
159
|
+
MetaTypedDict,
|
|
144
160
|
Tag,
|
|
145
161
|
Type,
|
|
146
162
|
)
|
|
@@ -228,8 +244,6 @@ from .get_server_resources import (
|
|
|
228
244
|
Connections,
|
|
229
245
|
ConnectionsTypedDict,
|
|
230
246
|
GET_SERVER_RESOURCES_SERVERS,
|
|
231
|
-
GetServerResourcesGlobals,
|
|
232
|
-
GetServerResourcesGlobalsTypedDict,
|
|
233
247
|
GetServerResourcesRequest,
|
|
234
248
|
GetServerResourcesRequestTypedDict,
|
|
235
249
|
GetServerResourcesResponse,
|
|
@@ -239,6 +253,7 @@ from .get_server_resources import (
|
|
|
239
253
|
IncludeRelay,
|
|
240
254
|
PlexDevice,
|
|
241
255
|
PlexDeviceTypedDict,
|
|
256
|
+
Protocol,
|
|
242
257
|
)
|
|
243
258
|
from .get_thumb_image import (
|
|
244
259
|
GetThumbImageRequest,
|
|
@@ -672,8 +687,6 @@ from .gettokenbypinid import (
|
|
|
672
687
|
GetTokenByPinIDAuthPinContainerTypedDict,
|
|
673
688
|
GetTokenByPinIDGeoData,
|
|
674
689
|
GetTokenByPinIDGeoDataTypedDict,
|
|
675
|
-
GetTokenByPinIDGlobals,
|
|
676
|
-
GetTokenByPinIDGlobalsTypedDict,
|
|
677
690
|
GetTokenByPinIDRequest,
|
|
678
691
|
GetTokenByPinIDRequestTypedDict,
|
|
679
692
|
GetTokenByPinIDResponse,
|
|
@@ -817,14 +830,10 @@ from .post_users_sign_in_data import (
|
|
|
817
830
|
PostUsersSignInDataDefaultSubtitleAccessibility,
|
|
818
831
|
PostUsersSignInDataDefaultSubtitleForced,
|
|
819
832
|
PostUsersSignInDataFeatures,
|
|
820
|
-
PostUsersSignInDataGlobals,
|
|
821
|
-
PostUsersSignInDataGlobalsTypedDict,
|
|
822
833
|
PostUsersSignInDataMailingListStatus,
|
|
823
834
|
PostUsersSignInDataMediaReviewsVisibility,
|
|
824
|
-
PostUsersSignInDataRequest,
|
|
825
835
|
PostUsersSignInDataRequestBody,
|
|
826
836
|
PostUsersSignInDataRequestBodyTypedDict,
|
|
827
|
-
PostUsersSignInDataRequestTypedDict,
|
|
828
837
|
PostUsersSignInDataResponse,
|
|
829
838
|
PostUsersSignInDataResponseTypedDict,
|
|
830
839
|
PostUsersSignInDataServices,
|
|
@@ -1094,6 +1103,12 @@ __all__ = [
|
|
|
1094
1103
|
"GetLibraryItemsCountryTypedDict",
|
|
1095
1104
|
"GetLibraryItemsDirector",
|
|
1096
1105
|
"GetLibraryItemsDirectorTypedDict",
|
|
1106
|
+
"GetLibraryItemsField",
|
|
1107
|
+
"GetLibraryItemsFieldType",
|
|
1108
|
+
"GetLibraryItemsFieldTypeTypedDict",
|
|
1109
|
+
"GetLibraryItemsFieldTypedDict",
|
|
1110
|
+
"GetLibraryItemsFilter",
|
|
1111
|
+
"GetLibraryItemsFilterTypedDict",
|
|
1097
1112
|
"GetLibraryItemsGenre",
|
|
1098
1113
|
"GetLibraryItemsGenreTypedDict",
|
|
1099
1114
|
"GetLibraryItemsMedia",
|
|
@@ -1102,6 +1117,8 @@ __all__ = [
|
|
|
1102
1117
|
"GetLibraryItemsMediaTypedDict",
|
|
1103
1118
|
"GetLibraryItemsMetadata",
|
|
1104
1119
|
"GetLibraryItemsMetadataTypedDict",
|
|
1120
|
+
"GetLibraryItemsOperator",
|
|
1121
|
+
"GetLibraryItemsOperatorTypedDict",
|
|
1105
1122
|
"GetLibraryItemsPart",
|
|
1106
1123
|
"GetLibraryItemsPartTypedDict",
|
|
1107
1124
|
"GetLibraryItemsRequest",
|
|
@@ -1112,6 +1129,10 @@ __all__ = [
|
|
|
1112
1129
|
"GetLibraryItemsResponseTypedDict",
|
|
1113
1130
|
"GetLibraryItemsRole",
|
|
1114
1131
|
"GetLibraryItemsRoleTypedDict",
|
|
1132
|
+
"GetLibraryItemsSort",
|
|
1133
|
+
"GetLibraryItemsSortTypedDict",
|
|
1134
|
+
"GetLibraryItemsType",
|
|
1135
|
+
"GetLibraryItemsTypeTypedDict",
|
|
1115
1136
|
"GetLibraryItemsWriter",
|
|
1116
1137
|
"GetLibraryItemsWriterTypedDict",
|
|
1117
1138
|
"GetMediaProvidersDirectory",
|
|
@@ -1323,8 +1344,6 @@ __all__ = [
|
|
|
1323
1344
|
"GetServerPreferencesResponseBody",
|
|
1324
1345
|
"GetServerPreferencesResponseBodyTypedDict",
|
|
1325
1346
|
"GetServerPreferencesResponseTypedDict",
|
|
1326
|
-
"GetServerResourcesGlobals",
|
|
1327
|
-
"GetServerResourcesGlobalsTypedDict",
|
|
1328
1347
|
"GetServerResourcesRequest",
|
|
1329
1348
|
"GetServerResourcesRequestTypedDict",
|
|
1330
1349
|
"GetServerResourcesResponse",
|
|
@@ -1381,8 +1400,6 @@ __all__ = [
|
|
|
1381
1400
|
"GetTokenByPinIDAuthPinContainerTypedDict",
|
|
1382
1401
|
"GetTokenByPinIDGeoData",
|
|
1383
1402
|
"GetTokenByPinIDGeoDataTypedDict",
|
|
1384
|
-
"GetTokenByPinIDGlobals",
|
|
1385
|
-
"GetTokenByPinIDGlobalsTypedDict",
|
|
1386
1403
|
"GetTokenByPinIDRequest",
|
|
1387
1404
|
"GetTokenByPinIDRequestTypedDict",
|
|
1388
1405
|
"GetTokenByPinIDResponse",
|
|
@@ -1481,10 +1498,14 @@ __all__ = [
|
|
|
1481
1498
|
"Media",
|
|
1482
1499
|
"MediaContainer",
|
|
1483
1500
|
"MediaContainerTypedDict",
|
|
1501
|
+
"MediaGUID",
|
|
1502
|
+
"MediaGUIDTypedDict",
|
|
1484
1503
|
"MediaProvider",
|
|
1485
1504
|
"MediaProviderTypedDict",
|
|
1486
1505
|
"MediaReviewsVisibility",
|
|
1487
1506
|
"MediaTypedDict",
|
|
1507
|
+
"Meta",
|
|
1508
|
+
"MetaTypedDict",
|
|
1488
1509
|
"Metadata",
|
|
1489
1510
|
"MetadataTypedDict",
|
|
1490
1511
|
"MinSize",
|
|
@@ -1523,14 +1544,10 @@ __all__ = [
|
|
|
1523
1544
|
"PostUsersSignInDataDefaultSubtitleAccessibility",
|
|
1524
1545
|
"PostUsersSignInDataDefaultSubtitleForced",
|
|
1525
1546
|
"PostUsersSignInDataFeatures",
|
|
1526
|
-
"PostUsersSignInDataGlobals",
|
|
1527
|
-
"PostUsersSignInDataGlobalsTypedDict",
|
|
1528
1547
|
"PostUsersSignInDataMailingListStatus",
|
|
1529
1548
|
"PostUsersSignInDataMediaReviewsVisibility",
|
|
1530
|
-
"PostUsersSignInDataRequest",
|
|
1531
1549
|
"PostUsersSignInDataRequestBody",
|
|
1532
1550
|
"PostUsersSignInDataRequestBodyTypedDict",
|
|
1533
|
-
"PostUsersSignInDataRequestTypedDict",
|
|
1534
1551
|
"PostUsersSignInDataResponse",
|
|
1535
1552
|
"PostUsersSignInDataResponseTypedDict",
|
|
1536
1553
|
"PostUsersSignInDataServices",
|
|
@@ -1546,6 +1563,7 @@ __all__ = [
|
|
|
1546
1563
|
"PostUsersSignInDataWatchedIndicator",
|
|
1547
1564
|
"Producer",
|
|
1548
1565
|
"ProducerTypedDict",
|
|
1566
|
+
"Protocol",
|
|
1549
1567
|
"Provider",
|
|
1550
1568
|
"ProviderTypedDict",
|
|
1551
1569
|
"QueryParamFilter",
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
import httpx
|
|
5
|
+
from plex_api_client.types import BaseModel
|
|
6
|
+
import pydantic
|
|
7
|
+
from typing import List, Optional, TypedDict
|
|
8
|
+
from typing_extensions import Annotated, NotRequired
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class LocationTypedDict(TypedDict):
|
|
12
|
+
id: int
|
|
13
|
+
path: str
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class Location(BaseModel):
|
|
17
|
+
id: int
|
|
18
|
+
|
|
19
|
+
path: str
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class GetAllLibrariesDirectoryTypedDict(TypedDict):
|
|
23
|
+
allow_sync: bool
|
|
24
|
+
art: str
|
|
25
|
+
composite: str
|
|
26
|
+
filters: bool
|
|
27
|
+
refreshing: bool
|
|
28
|
+
thumb: str
|
|
29
|
+
key: str
|
|
30
|
+
type: str
|
|
31
|
+
title: str
|
|
32
|
+
agent: str
|
|
33
|
+
scanner: str
|
|
34
|
+
language: str
|
|
35
|
+
uuid: str
|
|
36
|
+
updated_at: int
|
|
37
|
+
r"""Unix epoch datetime in seconds"""
|
|
38
|
+
created_at: int
|
|
39
|
+
r"""Unix epoch datetime in seconds"""
|
|
40
|
+
scanned_at: int
|
|
41
|
+
r"""Unix epoch datetime in seconds"""
|
|
42
|
+
content: bool
|
|
43
|
+
directory: bool
|
|
44
|
+
content_changed_at: int
|
|
45
|
+
hidden: int
|
|
46
|
+
location: List[LocationTypedDict]
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
class GetAllLibrariesDirectory(BaseModel):
|
|
50
|
+
allow_sync: Annotated[bool, pydantic.Field(alias="allowSync")]
|
|
51
|
+
|
|
52
|
+
art: str
|
|
53
|
+
|
|
54
|
+
composite: str
|
|
55
|
+
|
|
56
|
+
filters: bool
|
|
57
|
+
|
|
58
|
+
refreshing: bool
|
|
59
|
+
|
|
60
|
+
thumb: str
|
|
61
|
+
|
|
62
|
+
key: str
|
|
63
|
+
|
|
64
|
+
type: str
|
|
65
|
+
|
|
66
|
+
title: str
|
|
67
|
+
|
|
68
|
+
agent: str
|
|
69
|
+
|
|
70
|
+
scanner: str
|
|
71
|
+
|
|
72
|
+
language: str
|
|
73
|
+
|
|
74
|
+
uuid: str
|
|
75
|
+
|
|
76
|
+
updated_at: Annotated[int, pydantic.Field(alias="updatedAt")]
|
|
77
|
+
r"""Unix epoch datetime in seconds"""
|
|
78
|
+
|
|
79
|
+
created_at: Annotated[int, pydantic.Field(alias="createdAt")]
|
|
80
|
+
r"""Unix epoch datetime in seconds"""
|
|
81
|
+
|
|
82
|
+
scanned_at: Annotated[int, pydantic.Field(alias="scannedAt")]
|
|
83
|
+
r"""Unix epoch datetime in seconds"""
|
|
84
|
+
|
|
85
|
+
content: bool
|
|
86
|
+
|
|
87
|
+
directory: bool
|
|
88
|
+
|
|
89
|
+
content_changed_at: Annotated[int, pydantic.Field(alias="contentChangedAt")]
|
|
90
|
+
|
|
91
|
+
hidden: int
|
|
92
|
+
|
|
93
|
+
location: Annotated[List[Location], pydantic.Field(alias="Location")]
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
class GetAllLibrariesMediaContainerTypedDict(TypedDict):
|
|
97
|
+
size: int
|
|
98
|
+
allow_sync: bool
|
|
99
|
+
title1: str
|
|
100
|
+
directory: List[GetAllLibrariesDirectoryTypedDict]
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
class GetAllLibrariesMediaContainer(BaseModel):
|
|
104
|
+
size: int
|
|
105
|
+
|
|
106
|
+
allow_sync: Annotated[bool, pydantic.Field(alias="allowSync")]
|
|
107
|
+
|
|
108
|
+
title1: str
|
|
109
|
+
|
|
110
|
+
directory: Annotated[
|
|
111
|
+
List[GetAllLibrariesDirectory], pydantic.Field(alias="Directory")
|
|
112
|
+
]
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
class GetAllLibrariesResponseBodyTypedDict(TypedDict):
|
|
116
|
+
r"""The libraries available on the Server"""
|
|
117
|
+
|
|
118
|
+
media_container: GetAllLibrariesMediaContainerTypedDict
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
class GetAllLibrariesResponseBody(BaseModel):
|
|
122
|
+
r"""The libraries available on the Server"""
|
|
123
|
+
|
|
124
|
+
media_container: Annotated[
|
|
125
|
+
GetAllLibrariesMediaContainer, pydantic.Field(alias="MediaContainer")
|
|
126
|
+
]
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
class GetAllLibrariesResponseTypedDict(TypedDict):
|
|
130
|
+
content_type: str
|
|
131
|
+
r"""HTTP response content type for this operation"""
|
|
132
|
+
status_code: int
|
|
133
|
+
r"""HTTP response status code for this operation"""
|
|
134
|
+
raw_response: httpx.Response
|
|
135
|
+
r"""Raw HTTP response; suitable for custom response parsing"""
|
|
136
|
+
object: NotRequired[GetAllLibrariesResponseBodyTypedDict]
|
|
137
|
+
r"""The libraries available on the Server"""
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
class GetAllLibrariesResponse(BaseModel):
|
|
141
|
+
content_type: str
|
|
142
|
+
r"""HTTP response content type for this operation"""
|
|
143
|
+
|
|
144
|
+
status_code: int
|
|
145
|
+
r"""HTTP response status code for this operation"""
|
|
146
|
+
|
|
147
|
+
raw_response: httpx.Response
|
|
148
|
+
r"""Raw HTTP response; suitable for custom response parsing"""
|
|
149
|
+
|
|
150
|
+
object: Optional[GetAllLibrariesResponseBody] = None
|
|
151
|
+
r"""The libraries available on the Server"""
|