plex-api-client 0.21.1__tar.gz → 0.22.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.
Files changed (212) hide show
  1. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/PKG-INFO +38 -2
  2. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/README-PYPI.md +37 -0
  3. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/pyproject.toml +2 -2
  4. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/_version.py +3 -3
  5. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/activities.py +28 -28
  6. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/authentication.py +56 -56
  7. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/butler.py +86 -70
  8. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/hubs.py +28 -28
  9. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/library.py +630 -182
  10. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/log.py +50 -42
  11. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/media.py +74 -70
  12. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/__init__.py +54 -0
  13. plex_api_client-0.22.0/src/plex_api_client/models/errors/get_countries_library.py +79 -0
  14. plex_api_client-0.22.0/src/plex_api_client/models/errors/get_genres_library.py +79 -0
  15. plex_api_client-0.22.0/src/plex_api_client/models/errors/get_users.py +79 -0
  16. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/__init__.py +100 -6
  17. plex_api_client-0.22.0/src/plex_api_client/models/operations/get_countries_library.py +135 -0
  18. plex_api_client-0.22.0/src/plex_api_client/models/operations/get_genres_library.py +137 -0
  19. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/get_recently_added_library.py +4 -4
  20. plex_api_client-0.22.0/src/plex_api_client/models/operations/get_users.py +476 -0
  21. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/gettopwatchedcontent.py +6 -4
  22. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/playlists.py +130 -126
  23. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/plex.py +104 -92
  24. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/sdk.py +3 -0
  25. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/search.py +42 -42
  26. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/server.py +124 -120
  27. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/sessions.py +60 -56
  28. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/statistics.py +42 -42
  29. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/updater.py +46 -46
  30. plex_api_client-0.22.0/src/plex_api_client/users.py +222 -0
  31. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/video.py +32 -28
  32. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/watchlist.py +14 -14
  33. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/LICENSE.md +0 -0
  34. {plex_api_client-0.21.1/src/plex_api_client → plex_api_client-0.22.0}/py.typed +0 -0
  35. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/__init__.py +0 -0
  36. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/_hooks/__init__.py +0 -0
  37. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/_hooks/registration.py +0 -0
  38. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/_hooks/sdkhooks.py +0 -0
  39. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/_hooks/types.py +0 -0
  40. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/basesdk.py +0 -0
  41. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/httpclient.py +0 -0
  42. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/components/__init__.py +0 -0
  43. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/components/security.py +0 -0
  44. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/addplaylistcontents.py +0 -0
  45. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/applyupdates.py +0 -0
  46. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/cancelserveractivities.py +0 -0
  47. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/checkforupdates.py +0 -0
  48. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/clearplaylistcontents.py +0 -0
  49. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/createplaylist.py +0 -0
  50. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/deletelibrary.py +0 -0
  51. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/deleteplaylist.py +0 -0
  52. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/enablepapertrail.py +0 -0
  53. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/get_all_libraries.py +0 -0
  54. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/get_banner_image.py +0 -0
  55. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/get_library_details.py +0 -0
  56. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/get_library_items.py +0 -0
  57. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/get_media_providers.py +0 -0
  58. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/get_meta_data_by_rating_key.py +0 -0
  59. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/get_recently_added_library.py +0 -0
  60. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/get_refresh_library_metadata.py +0 -0
  61. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/get_search_all_libraries.py +0 -0
  62. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/get_search_library.py +0 -0
  63. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/get_server_identity.py +0 -0
  64. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/get_server_resources.py +0 -0
  65. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/get_thumb_image.py +0 -0
  66. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/get_watch_list.py +0 -0
  67. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/getavailableclients.py +0 -0
  68. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/getbandwidthstatistics.py +0 -0
  69. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/getbutlertasks.py +0 -0
  70. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/getcompanionsdata.py +0 -0
  71. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/getdevices.py +0 -0
  72. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/getfilehash.py +0 -0
  73. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/getgeodata.py +0 -0
  74. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/getglobalhubs.py +0 -0
  75. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/gethomedata.py +0 -0
  76. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/getlibraryhubs.py +0 -0
  77. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/getmetadatachildren.py +0 -0
  78. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/getmyplexaccount.py +0 -0
  79. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/getondeck.py +0 -0
  80. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/getpin.py +0 -0
  81. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/getplaylist.py +0 -0
  82. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/getplaylistcontents.py +0 -0
  83. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/getplaylists.py +0 -0
  84. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/getresizedphoto.py +0 -0
  85. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/getresourcesstatistics.py +0 -0
  86. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/getsearchresults.py +0 -0
  87. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/getserveractivities.py +0 -0
  88. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/getservercapabilities.py +0 -0
  89. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/getserverlist.py +0 -0
  90. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/getserverpreferences.py +0 -0
  91. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/getsessionhistory.py +0 -0
  92. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/getsessions.py +0 -0
  93. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/getsourceconnectioninformation.py +0 -0
  94. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/getstatistics.py +0 -0
  95. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/gettimeline.py +0 -0
  96. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/gettokenbypinid.py +0 -0
  97. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/gettokendetails.py +0 -0
  98. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/gettopwatchedcontent.py +0 -0
  99. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/gettranscodesessions.py +0 -0
  100. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/gettransienttoken.py +0 -0
  101. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/getupdatestatus.py +0 -0
  102. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/getuserfriends.py +0 -0
  103. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/logline.py +0 -0
  104. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/logmultiline.py +0 -0
  105. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/markplayed.py +0 -0
  106. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/markunplayed.py +0 -0
  107. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/performsearch.py +0 -0
  108. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/performvoicesearch.py +0 -0
  109. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/post_users_sign_in_data.py +0 -0
  110. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/sdkerror.py +0 -0
  111. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/startalltasks.py +0 -0
  112. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/starttask.py +0 -0
  113. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/startuniversaltranscode.py +0 -0
  114. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/stopalltasks.py +0 -0
  115. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/stoptask.py +0 -0
  116. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/stoptranscodesession.py +0 -0
  117. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/updateplaylist.py +0 -0
  118. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/updateplayprogress.py +0 -0
  119. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/errors/uploadplaylist.py +0 -0
  120. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/addplaylistcontents.py +0 -0
  121. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/applyupdates.py +0 -0
  122. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/cancelserveractivities.py +0 -0
  123. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/checkforupdates.py +0 -0
  124. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/clearplaylistcontents.py +0 -0
  125. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/createplaylist.py +0 -0
  126. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/deletelibrary.py +0 -0
  127. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/deleteplaylist.py +0 -0
  128. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/enablepapertrail.py +0 -0
  129. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/get_all_libraries.py +0 -0
  130. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/get_banner_image.py +0 -0
  131. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/get_library_details.py +0 -0
  132. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/get_library_items.py +0 -0
  133. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/get_media_providers.py +0 -0
  134. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/get_meta_data_by_rating_key.py +0 -0
  135. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/get_recently_added.py +0 -0
  136. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/get_refresh_library_metadata.py +0 -0
  137. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/get_search_all_libraries.py +0 -0
  138. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/get_search_library.py +0 -0
  139. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/get_server_identity.py +0 -0
  140. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/get_server_resources.py +0 -0
  141. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/get_thumb_image.py +0 -0
  142. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/get_watch_list.py +0 -0
  143. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/getavailableclients.py +0 -0
  144. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/getbandwidthstatistics.py +0 -0
  145. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/getbutlertasks.py +0 -0
  146. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/getcompanionsdata.py +0 -0
  147. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/getdevices.py +0 -0
  148. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/getfilehash.py +0 -0
  149. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/getgeodata.py +0 -0
  150. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/getglobalhubs.py +0 -0
  151. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/gethomedata.py +0 -0
  152. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/getlibraryhubs.py +0 -0
  153. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/getmetadatachildren.py +0 -0
  154. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/getmyplexaccount.py +0 -0
  155. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/getondeck.py +0 -0
  156. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/getpin.py +0 -0
  157. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/getplaylist.py +0 -0
  158. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/getplaylistcontents.py +0 -0
  159. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/getplaylists.py +0 -0
  160. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/getresizedphoto.py +0 -0
  161. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/getresourcesstatistics.py +0 -0
  162. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/getsearchresults.py +0 -0
  163. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/getserveractivities.py +0 -0
  164. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/getservercapabilities.py +0 -0
  165. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/getserverlist.py +0 -0
  166. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/getserverpreferences.py +0 -0
  167. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/getsessionhistory.py +0 -0
  168. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/getsessions.py +0 -0
  169. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/getsourceconnectioninformation.py +0 -0
  170. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/getstatistics.py +0 -0
  171. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/gettimeline.py +0 -0
  172. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/gettokenbypinid.py +0 -0
  173. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/gettokendetails.py +0 -0
  174. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/gettranscodesessions.py +0 -0
  175. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/gettransienttoken.py +0 -0
  176. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/getupdatestatus.py +0 -0
  177. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/getuserfriends.py +0 -0
  178. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/logline.py +0 -0
  179. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/logmultiline.py +0 -0
  180. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/markplayed.py +0 -0
  181. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/markunplayed.py +0 -0
  182. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/performsearch.py +0 -0
  183. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/performvoicesearch.py +0 -0
  184. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/post_users_sign_in_data.py +0 -0
  185. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/startalltasks.py +0 -0
  186. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/starttask.py +0 -0
  187. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/startuniversaltranscode.py +0 -0
  188. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/stopalltasks.py +0 -0
  189. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/stoptask.py +0 -0
  190. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/stoptranscodesession.py +0 -0
  191. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/updateplaylist.py +0 -0
  192. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/updateplayprogress.py +0 -0
  193. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/models/operations/uploadplaylist.py +0 -0
  194. {plex_api_client-0.21.1 → plex_api_client-0.22.0/src/plex_api_client}/py.typed +0 -0
  195. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/sdkconfiguration.py +0 -0
  196. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/types/__init__.py +0 -0
  197. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/types/basemodel.py +0 -0
  198. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/utils/__init__.py +0 -0
  199. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/utils/annotations.py +0 -0
  200. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/utils/enums.py +0 -0
  201. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/utils/eventstreaming.py +0 -0
  202. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/utils/forms.py +0 -0
  203. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/utils/headers.py +0 -0
  204. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/utils/logger.py +0 -0
  205. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/utils/metadata.py +0 -0
  206. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/utils/queryparams.py +0 -0
  207. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/utils/requestbodies.py +0 -0
  208. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/utils/retries.py +0 -0
  209. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/utils/security.py +0 -0
  210. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/utils/serializers.py +0 -0
  211. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/utils/url.py +0 -0
  212. {plex_api_client-0.21.1 → plex_api_client-0.22.0}/src/plex_api_client/utils/values.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: plex-api-client
3
- Version: 0.21.1
3
+ Version: 0.22.0
4
4
  Summary: Python Client SDK Generated by Speakeasy
5
5
  Author: Speakeasy
6
6
  Requires-Python: >=3.9
@@ -12,7 +12,6 @@ Classifier: Programming Language :: Python :: 3.12
12
12
  Classifier: Programming Language :: Python :: 3.13
13
13
  Requires-Dist: eval-type-backport (>=0.2.0)
14
14
  Requires-Dist: httpx (>=0.28.1)
15
- Requires-Dist: jsonpath-python (>=1.0.6)
16
15
  Requires-Dist: pydantic (>=2.10.3)
17
16
  Requires-Dist: python-dateutil (>=2.8.2)
18
17
  Requires-Dist: typing-inspect (>=0.9.0)
@@ -108,6 +107,37 @@ pip install plex-api-client
108
107
  ```bash
109
108
  poetry add plex-api-client
110
109
  ```
110
+
111
+ ### Shell and script usage with `uv`
112
+
113
+ You can use this SDK in a Python shell with [uv](https://docs.astral.sh/uv/) and the `uvx` command that comes with it like so:
114
+
115
+ ```shell
116
+ uvx --from plex-api-client python
117
+ ```
118
+
119
+ It's also possible to write a standalone Python script without needing to set up a whole project like so:
120
+
121
+ ```python
122
+ #!/usr/bin/env -S uv run --script
123
+ # /// script
124
+ # requires-python = ">=3.9"
125
+ # dependencies = [
126
+ # "plex-api-client",
127
+ # ]
128
+ # ///
129
+
130
+ from plex_api_client import PlexAPI
131
+
132
+ sdk = PlexAPI(
133
+ # SDK arguments
134
+ )
135
+
136
+ # Rest of script here...
137
+ ```
138
+
139
+ Once that is saved to a file, you can run it with `uv run script.py` where
140
+ `script.py` can be replaced with the actual file name.
111
141
  <!-- End SDK Installation [installation] -->
112
142
 
113
143
  <!-- Start IDE Support [idesupport] -->
@@ -207,6 +237,8 @@ asyncio.run(main())
207
237
  * [get_library_items](https://github.com/LukeHagar/plexpy/blob/master/docs/sdks/library/README.md#get_library_items) - Get Library Items
208
238
  * [get_refresh_library_metadata](https://github.com/LukeHagar/plexpy/blob/master/docs/sdks/library/README.md#get_refresh_library_metadata) - Refresh Metadata Of The Library
209
239
  * [get_search_library](https://github.com/LukeHagar/plexpy/blob/master/docs/sdks/library/README.md#get_search_library) - Search Library
240
+ * [get_genres_library](https://github.com/LukeHagar/plexpy/blob/master/docs/sdks/library/README.md#get_genres_library) - Get Genres of library media
241
+ * [get_countries_library](https://github.com/LukeHagar/plexpy/blob/master/docs/sdks/library/README.md#get_countries_library) - Get Countries of library media
210
242
  * [get_search_all_libraries](https://github.com/LukeHagar/plexpy/blob/master/docs/sdks/library/README.md#get_search_all_libraries) - Search All Libraries
211
243
  * [get_meta_data_by_rating_key](https://github.com/LukeHagar/plexpy/blob/master/docs/sdks/library/README.md#get_meta_data_by_rating_key) - Get Metadata by RatingKey
212
244
  * [get_metadata_children](https://github.com/LukeHagar/plexpy/blob/master/docs/sdks/library/README.md#get_metadata_children) - Get Items Children
@@ -287,6 +319,10 @@ asyncio.run(main())
287
319
  * [check_for_updates](https://github.com/LukeHagar/plexpy/blob/master/docs/sdks/updater/README.md#check_for_updates) - Checking for updates
288
320
  * [apply_updates](https://github.com/LukeHagar/plexpy/blob/master/docs/sdks/updater/README.md#apply_updates) - Apply Updates
289
321
 
322
+ ### [users](https://github.com/LukeHagar/plexpy/blob/master/docs/sdks/users/README.md)
323
+
324
+ * [get_users](https://github.com/LukeHagar/plexpy/blob/master/docs/sdks/users/README.md#get_users) - Get list of all connected users
325
+
290
326
  ### [video](https://github.com/LukeHagar/plexpy/blob/master/docs/sdks/video/README.md)
291
327
 
292
328
  * [get_timeline](https://github.com/LukeHagar/plexpy/blob/master/docs/sdks/video/README.md#get_timeline) - Get the timeline for a media item
@@ -87,6 +87,37 @@ pip install plex-api-client
87
87
  ```bash
88
88
  poetry add plex-api-client
89
89
  ```
90
+
91
+ ### Shell and script usage with `uv`
92
+
93
+ You can use this SDK in a Python shell with [uv](https://docs.astral.sh/uv/) and the `uvx` command that comes with it like so:
94
+
95
+ ```shell
96
+ uvx --from plex-api-client python
97
+ ```
98
+
99
+ It's also possible to write a standalone Python script without needing to set up a whole project like so:
100
+
101
+ ```python
102
+ #!/usr/bin/env -S uv run --script
103
+ # /// script
104
+ # requires-python = ">=3.9"
105
+ # dependencies = [
106
+ # "plex-api-client",
107
+ # ]
108
+ # ///
109
+
110
+ from plex_api_client import PlexAPI
111
+
112
+ sdk = PlexAPI(
113
+ # SDK arguments
114
+ )
115
+
116
+ # Rest of script here...
117
+ ```
118
+
119
+ Once that is saved to a file, you can run it with `uv run script.py` where
120
+ `script.py` can be replaced with the actual file name.
90
121
  <!-- End SDK Installation [installation] -->
91
122
 
92
123
  <!-- Start IDE Support [idesupport] -->
@@ -186,6 +217,8 @@ asyncio.run(main())
186
217
  * [get_library_items](https://github.com/LukeHagar/plexpy/blob/master/docs/sdks/library/README.md#get_library_items) - Get Library Items
187
218
  * [get_refresh_library_metadata](https://github.com/LukeHagar/plexpy/blob/master/docs/sdks/library/README.md#get_refresh_library_metadata) - Refresh Metadata Of The Library
188
219
  * [get_search_library](https://github.com/LukeHagar/plexpy/blob/master/docs/sdks/library/README.md#get_search_library) - Search Library
220
+ * [get_genres_library](https://github.com/LukeHagar/plexpy/blob/master/docs/sdks/library/README.md#get_genres_library) - Get Genres of library media
221
+ * [get_countries_library](https://github.com/LukeHagar/plexpy/blob/master/docs/sdks/library/README.md#get_countries_library) - Get Countries of library media
189
222
  * [get_search_all_libraries](https://github.com/LukeHagar/plexpy/blob/master/docs/sdks/library/README.md#get_search_all_libraries) - Search All Libraries
190
223
  * [get_meta_data_by_rating_key](https://github.com/LukeHagar/plexpy/blob/master/docs/sdks/library/README.md#get_meta_data_by_rating_key) - Get Metadata by RatingKey
191
224
  * [get_metadata_children](https://github.com/LukeHagar/plexpy/blob/master/docs/sdks/library/README.md#get_metadata_children) - Get Items Children
@@ -266,6 +299,10 @@ asyncio.run(main())
266
299
  * [check_for_updates](https://github.com/LukeHagar/plexpy/blob/master/docs/sdks/updater/README.md#check_for_updates) - Checking for updates
267
300
  * [apply_updates](https://github.com/LukeHagar/plexpy/blob/master/docs/sdks/updater/README.md#apply_updates) - Apply Updates
268
301
 
302
+ ### [users](https://github.com/LukeHagar/plexpy/blob/master/docs/sdks/users/README.md)
303
+
304
+ * [get_users](https://github.com/LukeHagar/plexpy/blob/master/docs/sdks/users/README.md#get_users) - Get list of all connected users
305
+
269
306
  ### [video](https://github.com/LukeHagar/plexpy/blob/master/docs/sdks/video/README.md)
270
307
 
271
308
  * [get_timeline](https://github.com/LukeHagar/plexpy/blob/master/docs/sdks/video/README.md#get_timeline) - Get the timeline for a media item
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "plex-api-client"
3
- version = "0.21.1"
3
+ version = "0.22.0"
4
4
  description = "Python Client SDK Generated by Speakeasy"
5
5
  authors = [{ name = "Speakeasy" },]
6
6
  readme = "README-PYPI.md"
@@ -8,7 +8,6 @@ requires-python = ">=3.9"
8
8
  dependencies = [
9
9
  "eval-type-backport >=0.2.0",
10
10
  "httpx >=0.28.1",
11
- "jsonpath-python >=1.0.6",
12
11
  "pydantic >=2.10.3",
13
12
  "python-dateutil >=2.8.2",
14
13
  "typing-inspect >=0.9.0",
@@ -37,6 +36,7 @@ requires = ["poetry-core"]
37
36
  build-backend = "poetry.core.masonry.api"
38
37
 
39
38
  [tool.pytest.ini_options]
39
+ asyncio_default_fixture_loop_scope = "function"
40
40
  pythonpath = ["src"]
41
41
 
42
42
  [tool.mypy]
@@ -3,10 +3,10 @@
3
3
  import importlib.metadata
4
4
 
5
5
  __title__: str = "plex-api-client"
6
- __version__: str = "0.21.1"
6
+ __version__: str = "0.22.0"
7
7
  __openapi_doc_version__: str = "0.0.3"
8
- __gen_version__: str = "2.495.1"
9
- __user_agent__: str = "speakeasy-sdk/python 0.21.1 2.495.1 0.0.3 plex-api-client"
8
+ __gen_version__: str = "2.506.0"
9
+ __user_agent__: str = "speakeasy-sdk/python 0.22.0 2.506.0 0.0.3 plex-api-client"
10
10
 
11
11
  try:
12
12
  if __package__ is not None:
@@ -78,7 +78,7 @@ class Activities(BaseSDK):
78
78
  retry_config=retry_config,
79
79
  )
80
80
 
81
- data: Any = None
81
+ response_data: Any = None
82
82
  if utils.match_response(http_res, "200", "application/json"):
83
83
  return operations.GetServerActivitiesResponse(
84
84
  object=utils.unmarshal_json(
@@ -89,17 +89,17 @@ class Activities(BaseSDK):
89
89
  raw_response=http_res,
90
90
  )
91
91
  if utils.match_response(http_res, "400", "application/json"):
92
- data = utils.unmarshal_json(
92
+ response_data = utils.unmarshal_json(
93
93
  http_res.text, errors.GetServerActivitiesBadRequestData
94
94
  )
95
- data.raw_response = http_res
96
- raise errors.GetServerActivitiesBadRequest(data=data)
95
+ response_data.raw_response = http_res
96
+ raise errors.GetServerActivitiesBadRequest(data=response_data)
97
97
  if utils.match_response(http_res, "401", "application/json"):
98
- data = utils.unmarshal_json(
98
+ response_data = utils.unmarshal_json(
99
99
  http_res.text, errors.GetServerActivitiesUnauthorizedData
100
100
  )
101
- data.raw_response = http_res
102
- raise errors.GetServerActivitiesUnauthorized(data=data)
101
+ response_data.raw_response = http_res
102
+ raise errors.GetServerActivitiesUnauthorized(data=response_data)
103
103
  if utils.match_response(http_res, "4XX", "*"):
104
104
  http_res_text = utils.stream_to_text(http_res)
105
105
  raise errors.SDKError(
@@ -179,7 +179,7 @@ class Activities(BaseSDK):
179
179
  retry_config=retry_config,
180
180
  )
181
181
 
182
- data: Any = None
182
+ response_data: Any = None
183
183
  if utils.match_response(http_res, "200", "application/json"):
184
184
  return operations.GetServerActivitiesResponse(
185
185
  object=utils.unmarshal_json(
@@ -190,17 +190,17 @@ class Activities(BaseSDK):
190
190
  raw_response=http_res,
191
191
  )
192
192
  if utils.match_response(http_res, "400", "application/json"):
193
- data = utils.unmarshal_json(
193
+ response_data = utils.unmarshal_json(
194
194
  http_res.text, errors.GetServerActivitiesBadRequestData
195
195
  )
196
- data.raw_response = http_res
197
- raise errors.GetServerActivitiesBadRequest(data=data)
196
+ response_data.raw_response = http_res
197
+ raise errors.GetServerActivitiesBadRequest(data=response_data)
198
198
  if utils.match_response(http_res, "401", "application/json"):
199
- data = utils.unmarshal_json(
199
+ response_data = utils.unmarshal_json(
200
200
  http_res.text, errors.GetServerActivitiesUnauthorizedData
201
201
  )
202
- data.raw_response = http_res
203
- raise errors.GetServerActivitiesUnauthorized(data=data)
202
+ response_data.raw_response = http_res
203
+ raise errors.GetServerActivitiesUnauthorized(data=response_data)
204
204
  if utils.match_response(http_res, "4XX", "*"):
205
205
  http_res_text = await utils.stream_to_text_async(http_res)
206
206
  raise errors.SDKError(
@@ -287,7 +287,7 @@ class Activities(BaseSDK):
287
287
  retry_config=retry_config,
288
288
  )
289
289
 
290
- data: Any = None
290
+ response_data: Any = None
291
291
  if utils.match_response(http_res, "200", "*"):
292
292
  return operations.CancelServerActivitiesResponse(
293
293
  status_code=http_res.status_code,
@@ -295,17 +295,17 @@ class Activities(BaseSDK):
295
295
  raw_response=http_res,
296
296
  )
297
297
  if utils.match_response(http_res, "400", "application/json"):
298
- data = utils.unmarshal_json(
298
+ response_data = utils.unmarshal_json(
299
299
  http_res.text, errors.CancelServerActivitiesBadRequestData
300
300
  )
301
- data.raw_response = http_res
302
- raise errors.CancelServerActivitiesBadRequest(data=data)
301
+ response_data.raw_response = http_res
302
+ raise errors.CancelServerActivitiesBadRequest(data=response_data)
303
303
  if utils.match_response(http_res, "401", "application/json"):
304
- data = utils.unmarshal_json(
304
+ response_data = utils.unmarshal_json(
305
305
  http_res.text, errors.CancelServerActivitiesUnauthorizedData
306
306
  )
307
- data.raw_response = http_res
308
- raise errors.CancelServerActivitiesUnauthorized(data=data)
307
+ response_data.raw_response = http_res
308
+ raise errors.CancelServerActivitiesUnauthorized(data=response_data)
309
309
  if utils.match_response(http_res, "4XX", "*"):
310
310
  http_res_text = utils.stream_to_text(http_res)
311
311
  raise errors.SDKError(
@@ -392,7 +392,7 @@ class Activities(BaseSDK):
392
392
  retry_config=retry_config,
393
393
  )
394
394
 
395
- data: Any = None
395
+ response_data: Any = None
396
396
  if utils.match_response(http_res, "200", "*"):
397
397
  return operations.CancelServerActivitiesResponse(
398
398
  status_code=http_res.status_code,
@@ -400,17 +400,17 @@ class Activities(BaseSDK):
400
400
  raw_response=http_res,
401
401
  )
402
402
  if utils.match_response(http_res, "400", "application/json"):
403
- data = utils.unmarshal_json(
403
+ response_data = utils.unmarshal_json(
404
404
  http_res.text, errors.CancelServerActivitiesBadRequestData
405
405
  )
406
- data.raw_response = http_res
407
- raise errors.CancelServerActivitiesBadRequest(data=data)
406
+ response_data.raw_response = http_res
407
+ raise errors.CancelServerActivitiesBadRequest(data=response_data)
408
408
  if utils.match_response(http_res, "401", "application/json"):
409
- data = utils.unmarshal_json(
409
+ response_data = utils.unmarshal_json(
410
410
  http_res.text, errors.CancelServerActivitiesUnauthorizedData
411
411
  )
412
- data.raw_response = http_res
413
- raise errors.CancelServerActivitiesUnauthorized(data=data)
412
+ response_data.raw_response = http_res
413
+ raise errors.CancelServerActivitiesUnauthorized(data=response_data)
414
414
  if utils.match_response(http_res, "4XX", "*"):
415
415
  http_res_text = await utils.stream_to_text_async(http_res)
416
416
  raise errors.SDKError(
@@ -81,7 +81,7 @@ class Authentication(BaseSDK):
81
81
  retry_config=retry_config,
82
82
  )
83
83
 
84
- data: Any = None
84
+ response_data: Any = None
85
85
  if utils.match_response(http_res, "200", "*"):
86
86
  return operations.GetTransientTokenResponse(
87
87
  status_code=http_res.status_code,
@@ -89,17 +89,17 @@ class Authentication(BaseSDK):
89
89
  raw_response=http_res,
90
90
  )
91
91
  if utils.match_response(http_res, "400", "application/json"):
92
- data = utils.unmarshal_json(
92
+ response_data = utils.unmarshal_json(
93
93
  http_res.text, errors.GetTransientTokenBadRequestData
94
94
  )
95
- data.raw_response = http_res
96
- raise errors.GetTransientTokenBadRequest(data=data)
95
+ response_data.raw_response = http_res
96
+ raise errors.GetTransientTokenBadRequest(data=response_data)
97
97
  if utils.match_response(http_res, "401", "application/json"):
98
- data = utils.unmarshal_json(
98
+ response_data = utils.unmarshal_json(
99
99
  http_res.text, errors.GetTransientTokenUnauthorizedData
100
100
  )
101
- data.raw_response = http_res
102
- raise errors.GetTransientTokenUnauthorized(data=data)
101
+ response_data.raw_response = http_res
102
+ raise errors.GetTransientTokenUnauthorized(data=response_data)
103
103
  if utils.match_response(http_res, "4XX", "*"):
104
104
  http_res_text = utils.stream_to_text(http_res)
105
105
  raise errors.SDKError(
@@ -190,7 +190,7 @@ class Authentication(BaseSDK):
190
190
  retry_config=retry_config,
191
191
  )
192
192
 
193
- data: Any = None
193
+ response_data: Any = None
194
194
  if utils.match_response(http_res, "200", "*"):
195
195
  return operations.GetTransientTokenResponse(
196
196
  status_code=http_res.status_code,
@@ -198,17 +198,17 @@ class Authentication(BaseSDK):
198
198
  raw_response=http_res,
199
199
  )
200
200
  if utils.match_response(http_res, "400", "application/json"):
201
- data = utils.unmarshal_json(
201
+ response_data = utils.unmarshal_json(
202
202
  http_res.text, errors.GetTransientTokenBadRequestData
203
203
  )
204
- data.raw_response = http_res
205
- raise errors.GetTransientTokenBadRequest(data=data)
204
+ response_data.raw_response = http_res
205
+ raise errors.GetTransientTokenBadRequest(data=response_data)
206
206
  if utils.match_response(http_res, "401", "application/json"):
207
- data = utils.unmarshal_json(
207
+ response_data = utils.unmarshal_json(
208
208
  http_res.text, errors.GetTransientTokenUnauthorizedData
209
209
  )
210
- data.raw_response = http_res
211
- raise errors.GetTransientTokenUnauthorized(data=data)
210
+ response_data.raw_response = http_res
211
+ raise errors.GetTransientTokenUnauthorized(data=response_data)
212
212
  if utils.match_response(http_res, "4XX", "*"):
213
213
  http_res_text = await utils.stream_to_text_async(http_res)
214
214
  raise errors.SDKError(
@@ -297,7 +297,7 @@ class Authentication(BaseSDK):
297
297
  retry_config=retry_config,
298
298
  )
299
299
 
300
- data: Any = None
300
+ response_data: Any = None
301
301
  if utils.match_response(http_res, "200", "*"):
302
302
  return operations.GetSourceConnectionInformationResponse(
303
303
  status_code=http_res.status_code,
@@ -305,17 +305,17 @@ class Authentication(BaseSDK):
305
305
  raw_response=http_res,
306
306
  )
307
307
  if utils.match_response(http_res, "400", "application/json"):
308
- data = utils.unmarshal_json(
308
+ response_data = utils.unmarshal_json(
309
309
  http_res.text, errors.GetSourceConnectionInformationBadRequestData
310
310
  )
311
- data.raw_response = http_res
312
- raise errors.GetSourceConnectionInformationBadRequest(data=data)
311
+ response_data.raw_response = http_res
312
+ raise errors.GetSourceConnectionInformationBadRequest(data=response_data)
313
313
  if utils.match_response(http_res, "401", "application/json"):
314
- data = utils.unmarshal_json(
314
+ response_data = utils.unmarshal_json(
315
315
  http_res.text, errors.GetSourceConnectionInformationUnauthorizedData
316
316
  )
317
- data.raw_response = http_res
318
- raise errors.GetSourceConnectionInformationUnauthorized(data=data)
317
+ response_data.raw_response = http_res
318
+ raise errors.GetSourceConnectionInformationUnauthorized(data=response_data)
319
319
  if utils.match_response(http_res, "4XX", "*"):
320
320
  http_res_text = utils.stream_to_text(http_res)
321
321
  raise errors.SDKError(
@@ -404,7 +404,7 @@ class Authentication(BaseSDK):
404
404
  retry_config=retry_config,
405
405
  )
406
406
 
407
- data: Any = None
407
+ response_data: Any = None
408
408
  if utils.match_response(http_res, "200", "*"):
409
409
  return operations.GetSourceConnectionInformationResponse(
410
410
  status_code=http_res.status_code,
@@ -412,17 +412,17 @@ class Authentication(BaseSDK):
412
412
  raw_response=http_res,
413
413
  )
414
414
  if utils.match_response(http_res, "400", "application/json"):
415
- data = utils.unmarshal_json(
415
+ response_data = utils.unmarshal_json(
416
416
  http_res.text, errors.GetSourceConnectionInformationBadRequestData
417
417
  )
418
- data.raw_response = http_res
419
- raise errors.GetSourceConnectionInformationBadRequest(data=data)
418
+ response_data.raw_response = http_res
419
+ raise errors.GetSourceConnectionInformationBadRequest(data=response_data)
420
420
  if utils.match_response(http_res, "401", "application/json"):
421
- data = utils.unmarshal_json(
421
+ response_data = utils.unmarshal_json(
422
422
  http_res.text, errors.GetSourceConnectionInformationUnauthorizedData
423
423
  )
424
- data.raw_response = http_res
425
- raise errors.GetSourceConnectionInformationUnauthorized(data=data)
424
+ response_data.raw_response = http_res
425
+ raise errors.GetSourceConnectionInformationUnauthorized(data=response_data)
426
426
  if utils.match_response(http_res, "4XX", "*"):
427
427
  http_res_text = await utils.stream_to_text_async(http_res)
428
428
  raise errors.SDKError(
@@ -504,7 +504,7 @@ class Authentication(BaseSDK):
504
504
  retry_config=retry_config,
505
505
  )
506
506
 
507
- data: Any = None
507
+ response_data: Any = None
508
508
  if utils.match_response(http_res, "200", "application/json"):
509
509
  return operations.GetTokenDetailsResponse(
510
510
  user_plex_account=utils.unmarshal_json(
@@ -515,17 +515,17 @@ class Authentication(BaseSDK):
515
515
  raw_response=http_res,
516
516
  )
517
517
  if utils.match_response(http_res, "400", "application/json"):
518
- data = utils.unmarshal_json(
518
+ response_data = utils.unmarshal_json(
519
519
  http_res.text, errors.GetTokenDetailsBadRequestData
520
520
  )
521
- data.raw_response = http_res
522
- raise errors.GetTokenDetailsBadRequest(data=data)
521
+ response_data.raw_response = http_res
522
+ raise errors.GetTokenDetailsBadRequest(data=response_data)
523
523
  if utils.match_response(http_res, "401", "application/json"):
524
- data = utils.unmarshal_json(
524
+ response_data = utils.unmarshal_json(
525
525
  http_res.text, errors.GetTokenDetailsUnauthorizedData
526
526
  )
527
- data.raw_response = http_res
528
- raise errors.GetTokenDetailsUnauthorized(data=data)
527
+ response_data.raw_response = http_res
528
+ raise errors.GetTokenDetailsUnauthorized(data=response_data)
529
529
  if utils.match_response(http_res, "4XX", "*"):
530
530
  http_res_text = utils.stream_to_text(http_res)
531
531
  raise errors.SDKError(
@@ -607,7 +607,7 @@ class Authentication(BaseSDK):
607
607
  retry_config=retry_config,
608
608
  )
609
609
 
610
- data: Any = None
610
+ response_data: Any = None
611
611
  if utils.match_response(http_res, "200", "application/json"):
612
612
  return operations.GetTokenDetailsResponse(
613
613
  user_plex_account=utils.unmarshal_json(
@@ -618,17 +618,17 @@ class Authentication(BaseSDK):
618
618
  raw_response=http_res,
619
619
  )
620
620
  if utils.match_response(http_res, "400", "application/json"):
621
- data = utils.unmarshal_json(
621
+ response_data = utils.unmarshal_json(
622
622
  http_res.text, errors.GetTokenDetailsBadRequestData
623
623
  )
624
- data.raw_response = http_res
625
- raise errors.GetTokenDetailsBadRequest(data=data)
624
+ response_data.raw_response = http_res
625
+ raise errors.GetTokenDetailsBadRequest(data=response_data)
626
626
  if utils.match_response(http_res, "401", "application/json"):
627
- data = utils.unmarshal_json(
627
+ response_data = utils.unmarshal_json(
628
628
  http_res.text, errors.GetTokenDetailsUnauthorizedData
629
629
  )
630
- data.raw_response = http_res
631
- raise errors.GetTokenDetailsUnauthorized(data=data)
630
+ response_data.raw_response = http_res
631
+ raise errors.GetTokenDetailsUnauthorized(data=response_data)
632
632
  if utils.match_response(http_res, "4XX", "*"):
633
633
  http_res_text = await utils.stream_to_text_async(http_res)
634
634
  raise errors.SDKError(
@@ -726,7 +726,7 @@ class Authentication(BaseSDK):
726
726
  retry_config=retry_config,
727
727
  )
728
728
 
729
- data: Any = None
729
+ response_data: Any = None
730
730
  if utils.match_response(http_res, "201", "application/json"):
731
731
  return operations.PostUsersSignInDataResponse(
732
732
  user_plex_account=utils.unmarshal_json(
@@ -738,17 +738,17 @@ class Authentication(BaseSDK):
738
738
  raw_response=http_res,
739
739
  )
740
740
  if utils.match_response(http_res, "400", "application/json"):
741
- data = utils.unmarshal_json(
741
+ response_data = utils.unmarshal_json(
742
742
  http_res.text, errors.PostUsersSignInDataBadRequestData
743
743
  )
744
- data.raw_response = http_res
745
- raise errors.PostUsersSignInDataBadRequest(data=data)
744
+ response_data.raw_response = http_res
745
+ raise errors.PostUsersSignInDataBadRequest(data=response_data)
746
746
  if utils.match_response(http_res, "401", "application/json"):
747
- data = utils.unmarshal_json(
747
+ response_data = utils.unmarshal_json(
748
748
  http_res.text, errors.PostUsersSignInDataUnauthorizedData
749
749
  )
750
- data.raw_response = http_res
751
- raise errors.PostUsersSignInDataUnauthorized(data=data)
750
+ response_data.raw_response = http_res
751
+ raise errors.PostUsersSignInDataUnauthorized(data=response_data)
752
752
  if utils.match_response(http_res, "4XX", "*"):
753
753
  http_res_text = utils.stream_to_text(http_res)
754
754
  raise errors.SDKError(
@@ -846,7 +846,7 @@ class Authentication(BaseSDK):
846
846
  retry_config=retry_config,
847
847
  )
848
848
 
849
- data: Any = None
849
+ response_data: Any = None
850
850
  if utils.match_response(http_res, "201", "application/json"):
851
851
  return operations.PostUsersSignInDataResponse(
852
852
  user_plex_account=utils.unmarshal_json(
@@ -858,17 +858,17 @@ class Authentication(BaseSDK):
858
858
  raw_response=http_res,
859
859
  )
860
860
  if utils.match_response(http_res, "400", "application/json"):
861
- data = utils.unmarshal_json(
861
+ response_data = utils.unmarshal_json(
862
862
  http_res.text, errors.PostUsersSignInDataBadRequestData
863
863
  )
864
- data.raw_response = http_res
865
- raise errors.PostUsersSignInDataBadRequest(data=data)
864
+ response_data.raw_response = http_res
865
+ raise errors.PostUsersSignInDataBadRequest(data=response_data)
866
866
  if utils.match_response(http_res, "401", "application/json"):
867
- data = utils.unmarshal_json(
867
+ response_data = utils.unmarshal_json(
868
868
  http_res.text, errors.PostUsersSignInDataUnauthorizedData
869
869
  )
870
- data.raw_response = http_res
871
- raise errors.PostUsersSignInDataUnauthorized(data=data)
870
+ response_data.raw_response = http_res
871
+ raise errors.PostUsersSignInDataUnauthorized(data=response_data)
872
872
  if utils.match_response(http_res, "4XX", "*"):
873
873
  http_res_text = await utils.stream_to_text_async(http_res)
874
874
  raise errors.SDKError(