plex-api-client 0.12.2__tar.gz → 0.13.1__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.1}/PKG-INFO +4 -6
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/README-PYPI.md +3 -5
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/pyproject.toml +1 -1
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/authentication.py +20 -32
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/components/security.py +1 -1
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/__init__.py +64 -16
- plex_api_client-0.13.1/src/plex_api_client/models/operations/get_all_libraries.py +151 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/get_library_items.py +534 -135
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/get_media_providers.py +27 -2
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/get_search_library.py +4 -4
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/get_server_resources.py +34 -52
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/getpin.py +0 -34
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/getplaylistcontents.py +4 -4
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/gettokenbypinid.py +1 -40
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/gettokendetails.py +34 -30
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/gettopwatchedcontent.py +4 -4
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/post_users_sign_in_data.py +35 -85
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/uploadplaylist.py +10 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/playlists.py +6 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/plex.py +20 -34
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/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.1}/LICENSE.md +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/py.typed +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/__init__.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/_hooks/__init__.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/_hooks/registration.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/_hooks/sdkhooks.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/_hooks/types.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/activities.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/basesdk.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/butler.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/httpclient.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/hubs.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/library.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/log.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/media.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/components/__init__.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/__init__.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/addplaylistcontents.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/applyupdates.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/cancelserveractivities.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/checkforupdates.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/clearplaylistcontents.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/createplaylist.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/deletelibrary.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/deleteplaylist.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/enablepapertrail.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/get_all_libraries.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/get_banner_image.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/get_library_details.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/get_library_items.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/get_media_providers.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/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.1}/src/plex_api_client/models/errors/get_refresh_library_metadata.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/get_search_library.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/get_server_identity.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/get_server_resources.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/get_thumb_image.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/get_watch_list.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/getavailableclients.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/getbandwidthstatistics.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/getbutlertasks.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/getcompanionsdata.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/getdevices.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/getfilehash.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/getgeodata.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/getglobalhubs.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/gethomedata.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/getlibraryhubs.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/getmetadatachildren.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/getmyplexaccount.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/getondeck.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/getpin.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/getplaylist.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/getplaylistcontents.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/getplaylists.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/getrecentlyadded.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/getresizedphoto.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/getresourcesstatistics.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/getsearchresults.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/getserveractivities.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/getservercapabilities.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/getserverlist.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/getserverpreferences.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/getsessionhistory.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/getsessions.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/getsourceconnectioninformation.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/getstatistics.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/gettimeline.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/gettokenbypinid.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/gettokendetails.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/gettopwatchedcontent.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/gettranscodesessions.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/gettransienttoken.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/getupdatestatus.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/getuserfriends.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/logline.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/logmultiline.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/markplayed.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/markunplayed.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/performsearch.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/performvoicesearch.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/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.1}/src/plex_api_client/models/errors/sdkerror.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/startalltasks.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/starttask.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/startuniversaltranscode.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/stopalltasks.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/stoptask.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/stoptranscodesession.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/updateplaylist.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/updateplayprogress.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/errors/uploadplaylist.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/internal/__init__.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/internal/globals.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/addplaylistcontents.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/applyupdates.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/cancelserveractivities.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/checkforupdates.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/clearplaylistcontents.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/createplaylist.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/deletelibrary.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/deleteplaylist.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/enablepapertrail.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/get_banner_image.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/get_library_details.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/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.1}/src/plex_api_client/models/operations/get_refresh_library_metadata.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/get_server_identity.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/get_thumb_image.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/get_watch_list.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/getavailableclients.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/getbandwidthstatistics.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/getbutlertasks.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/getcompanionsdata.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/getdevices.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/getfilehash.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/getgeodata.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/getglobalhubs.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/gethomedata.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/getlibraryhubs.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/getmetadatachildren.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/getmyplexaccount.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/getondeck.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/getplaylist.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/getplaylists.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/getrecentlyadded.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/getresizedphoto.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/getresourcesstatistics.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/getsearchresults.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/getserveractivities.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/getservercapabilities.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/getserverlist.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/getserverpreferences.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/getsessionhistory.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/getsessions.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/getsourceconnectioninformation.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/getstatistics.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/gettimeline.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/gettranscodesessions.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/gettransienttoken.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/getupdatestatus.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/getuserfriends.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/logline.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/logmultiline.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/markplayed.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/markunplayed.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/performsearch.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/performvoicesearch.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/startalltasks.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/starttask.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/startuniversaltranscode.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/stopalltasks.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/stoptask.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/stoptranscodesession.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/updateplaylist.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/models/operations/updateplayprogress.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/py.typed +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/sdk.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/search.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/server.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/sessions.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/statistics.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/types/__init__.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/types/basemodel.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/updater.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/utils/__init__.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/utils/annotations.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/utils/enums.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/utils/eventstreaming.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/utils/forms.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/utils/headers.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/utils/logger.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/utils/metadata.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/utils/queryparams.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/utils/requestbodies.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/utils/retries.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/utils/security.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/utils/serializers.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/utils/url.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/utils/values.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/src/plex_api_client/video.py +0 -0
- {plex_api_client-0.12.2 → plex_api_client-0.13.1}/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.1
|
|
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.1}/src/plex_api_client/models/operations/__init__.py
RENAMED
|
@@ -113,18 +113,36 @@ from .get_library_details import (
|
|
|
113
113
|
SortTypedDict,
|
|
114
114
|
)
|
|
115
115
|
from .get_library_items import (
|
|
116
|
+
ActiveDirection,
|
|
117
|
+
Collection,
|
|
118
|
+
CollectionTypedDict,
|
|
119
|
+
DefaultDirection,
|
|
120
|
+
FlattenSeasons,
|
|
116
121
|
GetLibraryItemsCountry,
|
|
117
122
|
GetLibraryItemsCountryTypedDict,
|
|
118
123
|
GetLibraryItemsDirector,
|
|
119
124
|
GetLibraryItemsDirectorTypedDict,
|
|
125
|
+
GetLibraryItemsField,
|
|
126
|
+
GetLibraryItemsFieldType,
|
|
127
|
+
GetLibraryItemsFieldTypeTypedDict,
|
|
128
|
+
GetLibraryItemsFieldTypedDict,
|
|
129
|
+
GetLibraryItemsFilter,
|
|
130
|
+
GetLibraryItemsFilterTypedDict,
|
|
120
131
|
GetLibraryItemsGenre,
|
|
121
132
|
GetLibraryItemsGenreTypedDict,
|
|
133
|
+
GetLibraryItemsImage,
|
|
134
|
+
GetLibraryItemsImageTypedDict,
|
|
135
|
+
GetLibraryItemsLibraryResponseType,
|
|
136
|
+
GetLibraryItemsLibraryType,
|
|
137
|
+
GetLibraryItemsLibraryTypeTypedDict,
|
|
122
138
|
GetLibraryItemsMedia,
|
|
123
139
|
GetLibraryItemsMediaContainer,
|
|
124
140
|
GetLibraryItemsMediaContainerTypedDict,
|
|
125
141
|
GetLibraryItemsMediaTypedDict,
|
|
126
142
|
GetLibraryItemsMetadata,
|
|
127
143
|
GetLibraryItemsMetadataTypedDict,
|
|
144
|
+
GetLibraryItemsOperator,
|
|
145
|
+
GetLibraryItemsOperatorTypedDict,
|
|
128
146
|
GetLibraryItemsPart,
|
|
129
147
|
GetLibraryItemsPartTypedDict,
|
|
130
148
|
GetLibraryItemsRequest,
|
|
@@ -135,16 +153,29 @@ from .get_library_items import (
|
|
|
135
153
|
GetLibraryItemsResponseTypedDict,
|
|
136
154
|
GetLibraryItemsRole,
|
|
137
155
|
GetLibraryItemsRoleTypedDict,
|
|
156
|
+
GetLibraryItemsSort,
|
|
157
|
+
GetLibraryItemsSortTypedDict,
|
|
158
|
+
GetLibraryItemsType,
|
|
138
159
|
GetLibraryItemsWriter,
|
|
139
160
|
GetLibraryItemsWriterTypedDict,
|
|
161
|
+
HasThumbnail,
|
|
140
162
|
IncludeGuids,
|
|
141
163
|
IncludeMeta,
|
|
142
164
|
LibrarySectionID,
|
|
143
165
|
LibrarySectionIDTypedDict,
|
|
166
|
+
MediaGUID,
|
|
167
|
+
MediaGUIDTypedDict,
|
|
168
|
+
Meta,
|
|
169
|
+
MetaTypedDict,
|
|
170
|
+
ShowOrdering,
|
|
144
171
|
Tag,
|
|
145
172
|
Type,
|
|
173
|
+
UltraBlurColors,
|
|
174
|
+
UltraBlurColorsTypedDict,
|
|
146
175
|
)
|
|
147
176
|
from .get_media_providers import (
|
|
177
|
+
Action,
|
|
178
|
+
ActionTypedDict,
|
|
148
179
|
Feature,
|
|
149
180
|
FeatureTypedDict,
|
|
150
181
|
GetMediaProvidersDirectory,
|
|
@@ -228,8 +259,6 @@ from .get_server_resources import (
|
|
|
228
259
|
Connections,
|
|
229
260
|
ConnectionsTypedDict,
|
|
230
261
|
GET_SERVER_RESOURCES_SERVERS,
|
|
231
|
-
GetServerResourcesGlobals,
|
|
232
|
-
GetServerResourcesGlobalsTypedDict,
|
|
233
262
|
GetServerResourcesRequest,
|
|
234
263
|
GetServerResourcesRequestTypedDict,
|
|
235
264
|
GetServerResourcesResponse,
|
|
@@ -239,6 +268,7 @@ from .get_server_resources import (
|
|
|
239
268
|
IncludeRelay,
|
|
240
269
|
PlexDevice,
|
|
241
270
|
PlexDeviceTypedDict,
|
|
271
|
+
Protocol,
|
|
242
272
|
)
|
|
243
273
|
from .get_thumb_image import (
|
|
244
274
|
GetThumbImageRequest,
|
|
@@ -672,8 +702,6 @@ from .gettokenbypinid import (
|
|
|
672
702
|
GetTokenByPinIDAuthPinContainerTypedDict,
|
|
673
703
|
GetTokenByPinIDGeoData,
|
|
674
704
|
GetTokenByPinIDGeoDataTypedDict,
|
|
675
|
-
GetTokenByPinIDGlobals,
|
|
676
|
-
GetTokenByPinIDGlobalsTypedDict,
|
|
677
705
|
GetTokenByPinIDRequest,
|
|
678
706
|
GetTokenByPinIDRequestTypedDict,
|
|
679
707
|
GetTokenByPinIDResponse,
|
|
@@ -817,14 +845,10 @@ from .post_users_sign_in_data import (
|
|
|
817
845
|
PostUsersSignInDataDefaultSubtitleAccessibility,
|
|
818
846
|
PostUsersSignInDataDefaultSubtitleForced,
|
|
819
847
|
PostUsersSignInDataFeatures,
|
|
820
|
-
PostUsersSignInDataGlobals,
|
|
821
|
-
PostUsersSignInDataGlobalsTypedDict,
|
|
822
848
|
PostUsersSignInDataMailingListStatus,
|
|
823
849
|
PostUsersSignInDataMediaReviewsVisibility,
|
|
824
|
-
PostUsersSignInDataRequest,
|
|
825
850
|
PostUsersSignInDataRequestBody,
|
|
826
851
|
PostUsersSignInDataRequestBodyTypedDict,
|
|
827
|
-
PostUsersSignInDataRequestTypedDict,
|
|
828
852
|
PostUsersSignInDataResponse,
|
|
829
853
|
PostUsersSignInDataResponseTypedDict,
|
|
830
854
|
PostUsersSignInDataServices,
|
|
@@ -892,6 +916,9 @@ from .uploadplaylist import (
|
|
|
892
916
|
__all__ = [
|
|
893
917
|
"Account",
|
|
894
918
|
"AccountTypedDict",
|
|
919
|
+
"Action",
|
|
920
|
+
"ActionTypedDict",
|
|
921
|
+
"ActiveDirection",
|
|
895
922
|
"Activity",
|
|
896
923
|
"ActivityTypedDict",
|
|
897
924
|
"AddPlaylistContentsMediaContainer",
|
|
@@ -927,6 +954,8 @@ __all__ = [
|
|
|
927
954
|
"ClearPlaylistContentsRequestTypedDict",
|
|
928
955
|
"ClearPlaylistContentsResponse",
|
|
929
956
|
"ClearPlaylistContentsResponseTypedDict",
|
|
957
|
+
"Collection",
|
|
958
|
+
"CollectionTypedDict",
|
|
930
959
|
"Connections",
|
|
931
960
|
"ConnectionsTypedDict",
|
|
932
961
|
"Context",
|
|
@@ -944,6 +973,7 @@ __all__ = [
|
|
|
944
973
|
"CreatePlaylistResponseBody",
|
|
945
974
|
"CreatePlaylistResponseBodyTypedDict",
|
|
946
975
|
"CreatePlaylistResponseTypedDict",
|
|
976
|
+
"DefaultDirection",
|
|
947
977
|
"DefaultSubtitleAccessibility",
|
|
948
978
|
"DefaultSubtitleForced",
|
|
949
979
|
"DeleteLibraryRequest",
|
|
@@ -971,6 +1001,7 @@ __all__ = [
|
|
|
971
1001
|
"FieldTypeTypedDict",
|
|
972
1002
|
"FieldTypedDict",
|
|
973
1003
|
"Filter",
|
|
1004
|
+
"FlattenSeasons",
|
|
974
1005
|
"Force",
|
|
975
1006
|
"Friend",
|
|
976
1007
|
"FriendTypedDict",
|
|
@@ -1094,14 +1125,27 @@ __all__ = [
|
|
|
1094
1125
|
"GetLibraryItemsCountryTypedDict",
|
|
1095
1126
|
"GetLibraryItemsDirector",
|
|
1096
1127
|
"GetLibraryItemsDirectorTypedDict",
|
|
1128
|
+
"GetLibraryItemsField",
|
|
1129
|
+
"GetLibraryItemsFieldType",
|
|
1130
|
+
"GetLibraryItemsFieldTypeTypedDict",
|
|
1131
|
+
"GetLibraryItemsFieldTypedDict",
|
|
1132
|
+
"GetLibraryItemsFilter",
|
|
1133
|
+
"GetLibraryItemsFilterTypedDict",
|
|
1097
1134
|
"GetLibraryItemsGenre",
|
|
1098
1135
|
"GetLibraryItemsGenreTypedDict",
|
|
1136
|
+
"GetLibraryItemsImage",
|
|
1137
|
+
"GetLibraryItemsImageTypedDict",
|
|
1138
|
+
"GetLibraryItemsLibraryResponseType",
|
|
1139
|
+
"GetLibraryItemsLibraryType",
|
|
1140
|
+
"GetLibraryItemsLibraryTypeTypedDict",
|
|
1099
1141
|
"GetLibraryItemsMedia",
|
|
1100
1142
|
"GetLibraryItemsMediaContainer",
|
|
1101
1143
|
"GetLibraryItemsMediaContainerTypedDict",
|
|
1102
1144
|
"GetLibraryItemsMediaTypedDict",
|
|
1103
1145
|
"GetLibraryItemsMetadata",
|
|
1104
1146
|
"GetLibraryItemsMetadataTypedDict",
|
|
1147
|
+
"GetLibraryItemsOperator",
|
|
1148
|
+
"GetLibraryItemsOperatorTypedDict",
|
|
1105
1149
|
"GetLibraryItemsPart",
|
|
1106
1150
|
"GetLibraryItemsPartTypedDict",
|
|
1107
1151
|
"GetLibraryItemsRequest",
|
|
@@ -1112,6 +1156,9 @@ __all__ = [
|
|
|
1112
1156
|
"GetLibraryItemsResponseTypedDict",
|
|
1113
1157
|
"GetLibraryItemsRole",
|
|
1114
1158
|
"GetLibraryItemsRoleTypedDict",
|
|
1159
|
+
"GetLibraryItemsSort",
|
|
1160
|
+
"GetLibraryItemsSortTypedDict",
|
|
1161
|
+
"GetLibraryItemsType",
|
|
1115
1162
|
"GetLibraryItemsWriter",
|
|
1116
1163
|
"GetLibraryItemsWriterTypedDict",
|
|
1117
1164
|
"GetMediaProvidersDirectory",
|
|
@@ -1323,8 +1370,6 @@ __all__ = [
|
|
|
1323
1370
|
"GetServerPreferencesResponseBody",
|
|
1324
1371
|
"GetServerPreferencesResponseBodyTypedDict",
|
|
1325
1372
|
"GetServerPreferencesResponseTypedDict",
|
|
1326
|
-
"GetServerResourcesGlobals",
|
|
1327
|
-
"GetServerResourcesGlobalsTypedDict",
|
|
1328
1373
|
"GetServerResourcesRequest",
|
|
1329
1374
|
"GetServerResourcesRequestTypedDict",
|
|
1330
1375
|
"GetServerResourcesResponse",
|
|
@@ -1381,8 +1426,6 @@ __all__ = [
|
|
|
1381
1426
|
"GetTokenByPinIDAuthPinContainerTypedDict",
|
|
1382
1427
|
"GetTokenByPinIDGeoData",
|
|
1383
1428
|
"GetTokenByPinIDGeoDataTypedDict",
|
|
1384
|
-
"GetTokenByPinIDGlobals",
|
|
1385
|
-
"GetTokenByPinIDGlobalsTypedDict",
|
|
1386
1429
|
"GetTokenByPinIDRequest",
|
|
1387
1430
|
"GetTokenByPinIDRequestTypedDict",
|
|
1388
1431
|
"GetTokenByPinIDResponse",
|
|
@@ -1443,6 +1486,7 @@ __all__ = [
|
|
|
1443
1486
|
"GetWatchListResponseTypedDict",
|
|
1444
1487
|
"Guids",
|
|
1445
1488
|
"GuidsTypedDict",
|
|
1489
|
+
"HasThumbnail",
|
|
1446
1490
|
"Hub",
|
|
1447
1491
|
"HubTypedDict",
|
|
1448
1492
|
"Image",
|
|
@@ -1481,10 +1525,14 @@ __all__ = [
|
|
|
1481
1525
|
"Media",
|
|
1482
1526
|
"MediaContainer",
|
|
1483
1527
|
"MediaContainerTypedDict",
|
|
1528
|
+
"MediaGUID",
|
|
1529
|
+
"MediaGUIDTypedDict",
|
|
1484
1530
|
"MediaProvider",
|
|
1485
1531
|
"MediaProviderTypedDict",
|
|
1486
1532
|
"MediaReviewsVisibility",
|
|
1487
1533
|
"MediaTypedDict",
|
|
1534
|
+
"Meta",
|
|
1535
|
+
"MetaTypedDict",
|
|
1488
1536
|
"Metadata",
|
|
1489
1537
|
"MetadataTypedDict",
|
|
1490
1538
|
"MinSize",
|
|
@@ -1523,14 +1571,10 @@ __all__ = [
|
|
|
1523
1571
|
"PostUsersSignInDataDefaultSubtitleAccessibility",
|
|
1524
1572
|
"PostUsersSignInDataDefaultSubtitleForced",
|
|
1525
1573
|
"PostUsersSignInDataFeatures",
|
|
1526
|
-
"PostUsersSignInDataGlobals",
|
|
1527
|
-
"PostUsersSignInDataGlobalsTypedDict",
|
|
1528
1574
|
"PostUsersSignInDataMailingListStatus",
|
|
1529
1575
|
"PostUsersSignInDataMediaReviewsVisibility",
|
|
1530
|
-
"PostUsersSignInDataRequest",
|
|
1531
1576
|
"PostUsersSignInDataRequestBody",
|
|
1532
1577
|
"PostUsersSignInDataRequestBodyTypedDict",
|
|
1533
|
-
"PostUsersSignInDataRequestTypedDict",
|
|
1534
1578
|
"PostUsersSignInDataResponse",
|
|
1535
1579
|
"PostUsersSignInDataResponseTypedDict",
|
|
1536
1580
|
"PostUsersSignInDataServices",
|
|
@@ -1546,6 +1590,7 @@ __all__ = [
|
|
|
1546
1590
|
"PostUsersSignInDataWatchedIndicator",
|
|
1547
1591
|
"Producer",
|
|
1548
1592
|
"ProducerTypedDict",
|
|
1593
|
+
"Protocol",
|
|
1549
1594
|
"Provider",
|
|
1550
1595
|
"ProviderTypedDict",
|
|
1551
1596
|
"QueryParamFilter",
|
|
@@ -1575,6 +1620,7 @@ __all__ = [
|
|
|
1575
1620
|
"SharedServersTypedDict",
|
|
1576
1621
|
"SharedSources",
|
|
1577
1622
|
"SharedSourcesTypedDict",
|
|
1623
|
+
"ShowOrdering",
|
|
1578
1624
|
"Skip",
|
|
1579
1625
|
"Smart",
|
|
1580
1626
|
"Sort",
|
|
@@ -1619,6 +1665,8 @@ __all__ = [
|
|
|
1619
1665
|
"Trials",
|
|
1620
1666
|
"TrialsTypedDict",
|
|
1621
1667
|
"Type",
|
|
1668
|
+
"UltraBlurColors",
|
|
1669
|
+
"UltraBlurColorsTypedDict",
|
|
1622
1670
|
"UpdatePlayProgressRequest",
|
|
1623
1671
|
"UpdatePlayProgressRequestTypedDict",
|
|
1624
1672
|
"UpdatePlayProgressResponse",
|
|
@@ -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"""
|