plex_ruby_sdk 0.4.2 → 0.5.1
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.
- checksums.yaml +4 -4
- data/lib/plex_ruby_sdk/authentication.rb +3 -5
- data/lib/plex_ruby_sdk/library.rb +44 -0
- data/lib/plex_ruby_sdk/media.rb +2 -2
- data/lib/plex_ruby_sdk/models/operations/autoselectsubtitle.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/billing.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/connections.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/defaultsubtitleaccessibility.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/defaultsubtitleforced.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/friend.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/geodata.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/get_all_libraries_directory.rb +2 -2
- data/lib/plex_ruby_sdk/models/operations/get_all_libraries_location.rb +27 -0
- data/lib/plex_ruby_sdk/models/operations/get_banner_image_request.rb +2 -2
- data/lib/plex_ruby_sdk/models/operations/get_library_items_location.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/get_library_items_media.rb +27 -27
- data/lib/plex_ruby_sdk/models/operations/get_library_items_mediacontainer.rb +5 -5
- data/lib/plex_ruby_sdk/models/operations/get_library_items_metadata.rb +5 -2
- data/lib/plex_ruby_sdk/models/operations/get_library_items_part.rb +8 -8
- data/lib/plex_ruby_sdk/models/operations/get_library_items_queryparam_type.rb +1 -0
- data/lib/plex_ruby_sdk/models/operations/get_media_providers_request.rb +2 -2
- data/lib/plex_ruby_sdk/models/operations/get_recently_added_metadata.rb +5 -2
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_collection.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_country.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_director.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_flattenseasons.rb +18 -0
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_genre.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_hasthumbnail.rb +18 -0
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_image.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_library_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_library_type.rb +20 -0
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_location.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_media.rb +75 -0
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_mediacontainer.rb +27 -0
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_mediaguid.rb +26 -0
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_metadata.rb +255 -0
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_metadatarating.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_optimizedforstreaming.rb +18 -0
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_part.rb +61 -0
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_request.rb +40 -0
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_response.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_responsebody.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_role.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_showordering.rb +27 -0
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_stream.rb +135 -0
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_type.rb +21 -0
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_ultrablurcolors.rb +33 -0
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_writer.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/get_search_library_queryparam_type.rb +1 -0
- data/lib/plex_ruby_sdk/models/operations/get_server_resources_badrequest.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/get_server_resources_errors.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/get_server_resources_plex_errors.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/get_server_resources_request.rb +6 -3
- data/lib/plex_ruby_sdk/models/operations/get_server_resources_response.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/get_server_resources_unauthorized.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/get_thumb_image_request.rb +2 -2
- data/lib/plex_ruby_sdk/models/operations/get_watch_list_request.rb +2 -2
- data/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_request.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/getcompanionsdata_badrequest.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/getcompanionsdata_errors.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/getcompanionsdata_plex_errors.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/getcompanionsdata_response.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/getcompanionsdata_unauthorized.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/getgeodata_badrequest.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/getgeodata_errors.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/getgeodata_geodata.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/getgeodata_plex_errors.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/getgeodata_response.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/getgeodata_unauthorized.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/getpin_authpincontainer.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/getpin_badrequest.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/getpin_errors.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/getpin_request.rb +15 -18
- data/lib/plex_ruby_sdk/models/operations/getpin_response.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_queryparam_type.rb +1 -0
- data/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_request.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/getstatistics_request.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/gettokenbypinid_authpincontainer.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/gettokenbypinid_badrequest.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/gettokenbypinid_errors.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/gettokenbypinid_geodata.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/gettokenbypinid_plex_errors.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/gettokenbypinid_request.rb +18 -3
- data/lib/plex_ruby_sdk/models/operations/gettokenbypinid_response.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/gettokenbypinid_responsebody.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/gettokendetails_authentication_errors.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/gettokendetails_authentication_response_status.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/gettokendetails_authentication_status.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/gettokendetails_badrequest.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/gettokendetails_errors.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/gettokendetails_response.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/gettokendetails_status.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/gettokendetails_subscription.rb +3 -3
- data/lib/plex_ruby_sdk/models/operations/gettokendetails_unauthorized.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/gettokendetails_userplexaccount.rb +7 -7
- data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_queryparam_type.rb +1 -0
- data/lib/plex_ruby_sdk/models/operations/getuserfriends_badrequest.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/getuserfriends_errors.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/getuserfriends_plex_errors.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/getuserfriends_response.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/getuserfriends_unauthorized.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/includehttps.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/includeipv6.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/includerelay.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/internalpaymentmethod.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/location.rb +3 -6
- data/lib/plex_ruby_sdk/models/operations/mailingliststatus.rb +2 -2
- data/lib/plex_ruby_sdk/models/operations/media.rb +27 -27
- data/lib/plex_ruby_sdk/models/operations/mediareviewsvisibility.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/part.rb +8 -8
- data/lib/plex_ruby_sdk/models/operations/pastsubscription.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/plexdevice.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_authentication_errors.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_authentication_response_status.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_authentication_status.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_authentication_subscription.rb +3 -3
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_autoselectsubtitle.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_badrequest.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_defaultsubtitleaccessibility.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_defaultsubtitleforced.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_errors.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_mailingliststatus.rb +2 -2
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_mediareviewsvisibility.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_request.rb +15 -18
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_requestbody.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_response.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_services.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_state.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_status.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_subscription.rb +3 -3
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_unauthorized.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_userplexaccount.rb +7 -7
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_userprofile.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_watchedindicator.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/protocol.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/queryparam_includecollections.rb +18 -0
- data/lib/plex_ruby_sdk/models/operations/queryparam_includeexternalmedia.rb +18 -0
- data/lib/plex_ruby_sdk/models/operations/queryparam_type.rb +1 -0
- data/lib/plex_ruby_sdk/models/operations/responsebody.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/searchresult.rb +27 -0
- data/lib/plex_ruby_sdk/models/operations/searchtypes.rb +21 -0
- data/lib/plex_ruby_sdk/models/operations/services.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/sharedservers.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/sharedsources.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/status.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/subscription.rb +3 -3
- data/lib/plex_ruby_sdk/models/operations/trials.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/type.rb +1 -0
- data/lib/plex_ruby_sdk/models/operations/userprofile.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations/watchedindicator.rb +1 -1
- data/lib/plex_ruby_sdk/models/operations.rb +36 -5
- data/lib/plex_ruby_sdk/plex.rb +15 -18
- data/lib/plex_ruby_sdk/plex_api.rb +11 -11
- data/lib/plex_ruby_sdk/sdkconfiguration.rb +3 -3
- data/lib/plex_ruby_sdk/server.rb +1 -3
- data/lib/plex_ruby_sdk/watchlist.rb +1 -1
- metadata +41 -10
- data/lib/plex_ruby_sdk/models/operations/features.rb +0 -78
- data/lib/plex_ruby_sdk/models/operations/gettokendetails_features.rb +0 -78
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_authentication_features.rb +0 -78
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_features.rb +0 -78
data/lib/plex_ruby_sdk/plex.rb
CHANGED
@@ -14,32 +14,32 @@ module PlexRubySDK
|
|
14
14
|
|
15
15
|
# GET_COMPANIONS_DATA_SERVERS contains the list of server urls available to the SDK.
|
16
16
|
GET_COMPANIONS_DATA_SERVERS = [
|
17
|
-
'https://plex.tv/api/v2
|
17
|
+
'https://plex.tv/api/v2',
|
18
18
|
].freeze
|
19
19
|
|
20
20
|
# GET_USER_FRIENDS_SERVERS contains the list of server urls available to the SDK.
|
21
21
|
GET_USER_FRIENDS_SERVERS = [
|
22
|
-
'https://plex.tv/api/v2
|
22
|
+
'https://plex.tv/api/v2',
|
23
23
|
].freeze
|
24
24
|
|
25
25
|
# GET_GEO_DATA_SERVERS contains the list of server urls available to the SDK.
|
26
26
|
GET_GEO_DATA_SERVERS = [
|
27
|
-
'https://plex.tv/api/v2
|
27
|
+
'https://plex.tv/api/v2',
|
28
28
|
].freeze
|
29
29
|
|
30
30
|
# GET_SERVER_RESOURCES_SERVERS contains the list of server urls available to the SDK.
|
31
31
|
GET_SERVER_RESOURCES_SERVERS = [
|
32
|
-
'https://plex.tv/api/v2
|
32
|
+
'https://plex.tv/api/v2',
|
33
33
|
].freeze
|
34
34
|
|
35
35
|
# GET_PIN_SERVERS contains the list of server urls available to the SDK.
|
36
36
|
GET_PIN_SERVERS = [
|
37
|
-
'https://plex.tv/api/v2
|
37
|
+
'https://plex.tv/api/v2',
|
38
38
|
].freeze
|
39
39
|
|
40
40
|
# GET_TOKEN_BY_PIN_ID_SERVERS contains the list of server urls available to the SDK.
|
41
41
|
GET_TOKEN_BY_PIN_ID_SERVERS = [
|
42
|
-
'https://plex.tv/api/v2
|
42
|
+
'https://plex.tv/api/v2',
|
43
43
|
].freeze
|
44
44
|
# API Calls that perform operations directly against https://Plex.tv
|
45
45
|
#
|
@@ -216,21 +216,22 @@ module PlexRubySDK
|
|
216
216
|
end
|
217
217
|
|
218
218
|
|
219
|
-
sig { params(include_https: T.nilable(::PlexRubySDK::Operations::IncludeHttps), include_relay: T.nilable(::PlexRubySDK::Operations::IncludeRelay), include_i_pv6: T.nilable(::PlexRubySDK::Operations::IncludeIPv6), server_url: T.nilable(String)).returns(::PlexRubySDK::Operations::GetServerResourcesResponse) }
|
220
|
-
def get_server_resources(include_https = nil, include_relay = nil, include_i_pv6 = nil, server_url = nil)
|
219
|
+
sig { params(include_https: T.nilable(::PlexRubySDK::Operations::IncludeHttps), include_relay: T.nilable(::PlexRubySDK::Operations::IncludeRelay), include_i_pv6: T.nilable(::PlexRubySDK::Operations::IncludeIPv6), client_id: T.nilable(::String), server_url: T.nilable(String)).returns(::PlexRubySDK::Operations::GetServerResourcesResponse) }
|
220
|
+
def get_server_resources(include_https = nil, include_relay = nil, include_i_pv6 = nil, client_id = nil, server_url = nil)
|
221
221
|
# get_server_resources - Get Server Resources
|
222
222
|
# Get Plex server access tokens and server connections
|
223
223
|
request = ::PlexRubySDK::Operations::GetServerResourcesRequest.new(
|
224
224
|
|
225
225
|
include_https: include_https,
|
226
226
|
include_relay: include_relay,
|
227
|
-
include_i_pv6: include_i_pv6
|
227
|
+
include_i_pv6: include_i_pv6,
|
228
|
+
client_id: client_id
|
228
229
|
)
|
229
230
|
base_url = Utils.template_url(GET_SERVER_RESOURCES_SERVERS[0], {
|
230
231
|
})
|
231
232
|
base_url = server_url if !server_url.nil?
|
232
233
|
url = "#{base_url}/resources"
|
233
|
-
headers =
|
234
|
+
headers = Utils.get_headers(request, @sdk_configuration.globals)
|
234
235
|
query_params = Utils.get_query_params(::PlexRubySDK::Operations::GetServerResourcesRequest, request, @sdk_configuration.globals)
|
235
236
|
headers['Accept'] = 'application/json'
|
236
237
|
headers['user-agent'] = @sdk_configuration.user_agent
|
@@ -274,7 +275,7 @@ module PlexRubySDK
|
|
274
275
|
})
|
275
276
|
base_url = server_url if !server_url.nil?
|
276
277
|
url = "#{base_url}/pins"
|
277
|
-
headers =
|
278
|
+
headers = Utils.get_headers(request, @sdk_configuration.globals)
|
278
279
|
query_params = Utils.get_query_params(::PlexRubySDK::Operations::GetPinRequest, request, @sdk_configuration.globals)
|
279
280
|
headers['Accept'] = 'application/json'
|
280
281
|
headers['user-agent'] = @sdk_configuration.user_agent
|
@@ -304,14 +305,10 @@ module PlexRubySDK
|
|
304
305
|
end
|
305
306
|
|
306
307
|
|
307
|
-
sig { params(
|
308
|
-
def get_token_by_pin_id(
|
308
|
+
sig { params(request: T.nilable(::PlexRubySDK::Operations::GetTokenByPinIdRequest), server_url: T.nilable(String)).returns(::PlexRubySDK::Operations::GetTokenByPinIdResponse) }
|
309
|
+
def get_token_by_pin_id(request, server_url = nil)
|
309
310
|
# get_token_by_pin_id - Get Access Token by PinId
|
310
311
|
# Retrieve an Access Token from Plex.tv after the Pin has been authenticated
|
311
|
-
request = ::PlexRubySDK::Operations::GetTokenByPinIdRequest.new(
|
312
|
-
|
313
|
-
pin_id: pin_id
|
314
|
-
)
|
315
312
|
base_url = Utils.template_url(GET_TOKEN_BY_PIN_ID_SERVERS[0], {
|
316
313
|
})
|
317
314
|
base_url = server_url if !server_url.nil?
|
@@ -322,7 +319,7 @@ module PlexRubySDK
|
|
322
319
|
request,
|
323
320
|
@sdk_configuration.globals
|
324
321
|
)
|
325
|
-
headers =
|
322
|
+
headers = Utils.get_headers(request, @sdk_configuration.globals)
|
326
323
|
headers['Accept'] = 'application/json'
|
327
324
|
headers['user-agent'] = @sdk_configuration.user_agent
|
328
325
|
|
@@ -21,8 +21,8 @@ module PlexRubySDK
|
|
21
21
|
client_id: ::String,
|
22
22
|
client_name: ::String,
|
23
23
|
client_version: ::String,
|
24
|
-
|
25
|
-
|
24
|
+
platform: ::String,
|
25
|
+
device_nickname: ::String,
|
26
26
|
protocol: T.nilable(::PlexRubySDK::ServerVariables::ServerProtocol),
|
27
27
|
ip: T.nilable(::String),
|
28
28
|
port: T.nilable(::String),
|
@@ -35,8 +35,8 @@ module PlexRubySDK
|
|
35
35
|
client_id: nil,
|
36
36
|
client_name: nil,
|
37
37
|
client_version: nil,
|
38
|
-
|
39
|
-
|
38
|
+
platform: nil,
|
39
|
+
device_nickname: nil,
|
40
40
|
protocol: nil,
|
41
41
|
ip: nil,
|
42
42
|
port: nil,
|
@@ -50,8 +50,8 @@ module PlexRubySDK
|
|
50
50
|
# @param [::String] client_id: Configures the client_id parameter for all supported operations
|
51
51
|
# @param [::String] client_name: Configures the client_name parameter for all supported operations
|
52
52
|
# @param [::String] client_version: Configures the client_version parameter for all supported operations
|
53
|
-
# @param [::String]
|
54
|
-
# @param [::String]
|
53
|
+
# @param [::String] platform: Configures the platform parameter for all supported operations
|
54
|
+
# @param [::String] device_nickname: Configures the device_nickname parameter for all supported operations
|
55
55
|
# @param [T.nilable(::PlexRubySDK::ServerVariables::ServerProtocol)] protocol: Allows setting the protocol variable for url substitution
|
56
56
|
# @param [T.nilable(::String)] ip: Allows setting the ip variable for url substitution
|
57
57
|
# @param [T.nilable(::String)] port: Allows setting the port variable for url substitution
|
@@ -86,15 +86,15 @@ module PlexRubySDK
|
|
86
86
|
globals = {
|
87
87
|
'parameters': {
|
88
88
|
'queryParam': {
|
89
|
-
'client_id': client_id,
|
90
|
-
'client_name': client_name,
|
91
|
-
'client_version': client_version,
|
92
|
-
'client_platform': client_platform,
|
93
|
-
'device_name': device_name,
|
94
89
|
},
|
95
90
|
'pathParam': {
|
96
91
|
},
|
97
92
|
'header': {
|
93
|
+
'client_id': client_id,
|
94
|
+
'client_name': client_name,
|
95
|
+
'client_version': client_version,
|
96
|
+
'platform': platform,
|
97
|
+
'device_nickname': device_nickname,
|
98
98
|
}
|
99
99
|
}
|
100
100
|
}
|
@@ -42,9 +42,9 @@ module PlexRubySDK
|
|
42
42
|
@globals = globals.nil? ? {} : globals
|
43
43
|
@language = 'ruby'
|
44
44
|
@openapi_doc_version = '0.0.3'
|
45
|
-
@sdk_version = '0.
|
46
|
-
@gen_version = '2.
|
47
|
-
@user_agent = 'speakeasy-sdk/ruby 0.
|
45
|
+
@sdk_version = '0.5.1'
|
46
|
+
@gen_version = '2.457.9'
|
47
|
+
@user_agent = 'speakeasy-sdk/ruby 0.5.1 2.457.9 0.0.3 plex_ruby_sdk'
|
48
48
|
end
|
49
49
|
|
50
50
|
sig { returns([String, T::Hash[Symbol, String]]) }
|
data/lib/plex_ruby_sdk/server.rb
CHANGED
@@ -311,14 +311,12 @@ module PlexRubySDK
|
|
311
311
|
url, params = @sdk_configuration.get_server_details
|
312
312
|
base_url = Utils.template_url(url, params)
|
313
313
|
url = "#{base_url}/media/providers"
|
314
|
-
headers =
|
315
|
-
query_params = Utils.get_query_params(::PlexRubySDK::Operations::GetMediaProvidersRequest, request, @sdk_configuration.globals)
|
314
|
+
headers = Utils.get_headers(request, @sdk_configuration.globals)
|
316
315
|
headers['Accept'] = 'application/json'
|
317
316
|
headers['user-agent'] = @sdk_configuration.user_agent
|
318
317
|
|
319
318
|
r = @sdk_configuration.client.get(url) do |req|
|
320
319
|
req.headers = headers
|
321
|
-
req.params = query_params
|
322
320
|
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
323
321
|
end
|
324
322
|
|
@@ -39,7 +39,7 @@ module PlexRubySDK
|
|
39
39
|
request,
|
40
40
|
@sdk_configuration.globals
|
41
41
|
)
|
42
|
-
headers =
|
42
|
+
headers = Utils.get_headers(request, @sdk_configuration.globals)
|
43
43
|
query_params = Utils.get_query_params(::PlexRubySDK::Operations::GetWatchListRequest, request, @sdk_configuration.globals)
|
44
44
|
headers['Accept'] = 'application/json'
|
45
45
|
headers['user-agent'] = @sdk_configuration.user_agent
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: plex_ruby_sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- LukeHagar
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -98,16 +98,16 @@ dependencies:
|
|
98
98
|
name: rubocop
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - "
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
103
|
+
version: 1.60.2
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - "
|
108
|
+
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
110
|
+
version: 1.60.2
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: sorbet-runtime
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -232,7 +232,6 @@ files:
|
|
232
232
|
- lib/plex_ruby_sdk/models/operations/enablepapertrail_unauthorized.rb
|
233
233
|
- lib/plex_ruby_sdk/models/operations/errors.rb
|
234
234
|
- lib/plex_ruby_sdk/models/operations/feature.rb
|
235
|
-
- lib/plex_ruby_sdk/models/operations/features.rb
|
236
235
|
- lib/plex_ruby_sdk/models/operations/field.rb
|
237
236
|
- lib/plex_ruby_sdk/models/operations/fieldtype.rb
|
238
237
|
- lib/plex_ruby_sdk/models/operations/filter.rb
|
@@ -245,6 +244,7 @@ files:
|
|
245
244
|
- lib/plex_ruby_sdk/models/operations/get_all_libraries_directory.rb
|
246
245
|
- lib/plex_ruby_sdk/models/operations/get_all_libraries_errors.rb
|
247
246
|
- lib/plex_ruby_sdk/models/operations/get_all_libraries_library_errors.rb
|
247
|
+
- lib/plex_ruby_sdk/models/operations/get_all_libraries_location.rb
|
248
248
|
- lib/plex_ruby_sdk/models/operations/get_all_libraries_mediacontainer.rb
|
249
249
|
- lib/plex_ruby_sdk/models/operations/get_all_libraries_response.rb
|
250
250
|
- lib/plex_ruby_sdk/models/operations/get_all_libraries_responsebody.rb
|
@@ -295,6 +295,7 @@ files:
|
|
295
295
|
- lib/plex_ruby_sdk/models/operations/get_library_items_library_response_type.rb
|
296
296
|
- lib/plex_ruby_sdk/models/operations/get_library_items_library_sort.rb
|
297
297
|
- lib/plex_ruby_sdk/models/operations/get_library_items_library_type.rb
|
298
|
+
- lib/plex_ruby_sdk/models/operations/get_library_items_location.rb
|
298
299
|
- lib/plex_ruby_sdk/models/operations/get_library_items_media.rb
|
299
300
|
- lib/plex_ruby_sdk/models/operations/get_library_items_mediacontainer.rb
|
300
301
|
- lib/plex_ruby_sdk/models/operations/get_library_items_mediaguid.rb
|
@@ -383,6 +384,35 @@ files:
|
|
383
384
|
- lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_request.rb
|
384
385
|
- lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_response.rb
|
385
386
|
- lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_unauthorized.rb
|
387
|
+
- lib/plex_ruby_sdk/models/operations/get_search_all_libraries_badrequest.rb
|
388
|
+
- lib/plex_ruby_sdk/models/operations/get_search_all_libraries_collection.rb
|
389
|
+
- lib/plex_ruby_sdk/models/operations/get_search_all_libraries_country.rb
|
390
|
+
- lib/plex_ruby_sdk/models/operations/get_search_all_libraries_director.rb
|
391
|
+
- lib/plex_ruby_sdk/models/operations/get_search_all_libraries_errors.rb
|
392
|
+
- lib/plex_ruby_sdk/models/operations/get_search_all_libraries_flattenseasons.rb
|
393
|
+
- lib/plex_ruby_sdk/models/operations/get_search_all_libraries_genre.rb
|
394
|
+
- lib/plex_ruby_sdk/models/operations/get_search_all_libraries_hasthumbnail.rb
|
395
|
+
- lib/plex_ruby_sdk/models/operations/get_search_all_libraries_image.rb
|
396
|
+
- lib/plex_ruby_sdk/models/operations/get_search_all_libraries_library_errors.rb
|
397
|
+
- lib/plex_ruby_sdk/models/operations/get_search_all_libraries_library_type.rb
|
398
|
+
- lib/plex_ruby_sdk/models/operations/get_search_all_libraries_location.rb
|
399
|
+
- lib/plex_ruby_sdk/models/operations/get_search_all_libraries_media.rb
|
400
|
+
- lib/plex_ruby_sdk/models/operations/get_search_all_libraries_mediacontainer.rb
|
401
|
+
- lib/plex_ruby_sdk/models/operations/get_search_all_libraries_mediaguid.rb
|
402
|
+
- lib/plex_ruby_sdk/models/operations/get_search_all_libraries_metadata.rb
|
403
|
+
- lib/plex_ruby_sdk/models/operations/get_search_all_libraries_metadatarating.rb
|
404
|
+
- lib/plex_ruby_sdk/models/operations/get_search_all_libraries_optimizedforstreaming.rb
|
405
|
+
- lib/plex_ruby_sdk/models/operations/get_search_all_libraries_part.rb
|
406
|
+
- lib/plex_ruby_sdk/models/operations/get_search_all_libraries_request.rb
|
407
|
+
- lib/plex_ruby_sdk/models/operations/get_search_all_libraries_response.rb
|
408
|
+
- lib/plex_ruby_sdk/models/operations/get_search_all_libraries_responsebody.rb
|
409
|
+
- lib/plex_ruby_sdk/models/operations/get_search_all_libraries_role.rb
|
410
|
+
- lib/plex_ruby_sdk/models/operations/get_search_all_libraries_showordering.rb
|
411
|
+
- lib/plex_ruby_sdk/models/operations/get_search_all_libraries_stream.rb
|
412
|
+
- lib/plex_ruby_sdk/models/operations/get_search_all_libraries_type.rb
|
413
|
+
- lib/plex_ruby_sdk/models/operations/get_search_all_libraries_ultrablurcolors.rb
|
414
|
+
- lib/plex_ruby_sdk/models/operations/get_search_all_libraries_unauthorized.rb
|
415
|
+
- lib/plex_ruby_sdk/models/operations/get_search_all_libraries_writer.rb
|
386
416
|
- lib/plex_ruby_sdk/models/operations/get_search_library_badrequest.rb
|
387
417
|
- lib/plex_ruby_sdk/models/operations/get_search_library_errors.rb
|
388
418
|
- lib/plex_ruby_sdk/models/operations/get_search_library_library_errors.rb
|
@@ -675,7 +705,6 @@ files:
|
|
675
705
|
- lib/plex_ruby_sdk/models/operations/gettokendetails_authentication_status.rb
|
676
706
|
- lib/plex_ruby_sdk/models/operations/gettokendetails_badrequest.rb
|
677
707
|
- lib/plex_ruby_sdk/models/operations/gettokendetails_errors.rb
|
678
|
-
- lib/plex_ruby_sdk/models/operations/gettokendetails_features.rb
|
679
708
|
- lib/plex_ruby_sdk/models/operations/gettokendetails_response.rb
|
680
709
|
- lib/plex_ruby_sdk/models/operations/gettokendetails_status.rb
|
681
710
|
- lib/plex_ruby_sdk/models/operations/gettokendetails_subscription.rb
|
@@ -794,7 +823,6 @@ files:
|
|
794
823
|
- lib/plex_ruby_sdk/models/operations/playlisttype.rb
|
795
824
|
- lib/plex_ruby_sdk/models/operations/plexdevice.rb
|
796
825
|
- lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_authentication_errors.rb
|
797
|
-
- lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_authentication_features.rb
|
798
826
|
- lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_authentication_response_status.rb
|
799
827
|
- lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_authentication_status.rb
|
800
828
|
- lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_authentication_subscription.rb
|
@@ -803,7 +831,6 @@ files:
|
|
803
831
|
- lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_defaultsubtitleaccessibility.rb
|
804
832
|
- lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_defaultsubtitleforced.rb
|
805
833
|
- lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_errors.rb
|
806
|
-
- lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_features.rb
|
807
834
|
- lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_mailingliststatus.rb
|
808
835
|
- lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_mediareviewsvisibility.rb
|
809
836
|
- lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_request.rb
|
@@ -822,6 +849,8 @@ files:
|
|
822
849
|
- lib/plex_ruby_sdk/models/operations/provider.rb
|
823
850
|
- lib/plex_ruby_sdk/models/operations/queryparam_filter.rb
|
824
851
|
- lib/plex_ruby_sdk/models/operations/queryparam_force.rb
|
852
|
+
- lib/plex_ruby_sdk/models/operations/queryparam_includecollections.rb
|
853
|
+
- lib/plex_ruby_sdk/models/operations/queryparam_includeexternalmedia.rb
|
825
854
|
- lib/plex_ruby_sdk/models/operations/queryparam_includemeta.rb
|
826
855
|
- lib/plex_ruby_sdk/models/operations/queryparam_onlytransient.rb
|
827
856
|
- lib/plex_ruby_sdk/models/operations/queryparam_smart.rb
|
@@ -831,6 +860,8 @@ files:
|
|
831
860
|
- lib/plex_ruby_sdk/models/operations/responsebody.rb
|
832
861
|
- lib/plex_ruby_sdk/models/operations/role.rb
|
833
862
|
- lib/plex_ruby_sdk/models/operations/scope.rb
|
863
|
+
- lib/plex_ruby_sdk/models/operations/searchresult.rb
|
864
|
+
- lib/plex_ruby_sdk/models/operations/searchtypes.rb
|
834
865
|
- lib/plex_ruby_sdk/models/operations/server.rb
|
835
866
|
- lib/plex_ruby_sdk/models/operations/services.rb
|
836
867
|
- lib/plex_ruby_sdk/models/operations/session.rb
|
@@ -1,78 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
|
7
|
-
module PlexRubySDK
|
8
|
-
module Operations
|
9
|
-
FEATURES_SERVERS = [
|
10
|
-
'https://plex.tv/api/v2/'
|
11
|
-
].freeze
|
12
|
-
|
13
|
-
|
14
|
-
class Features < T::Enum
|
15
|
-
enums do
|
16
|
-
ANDROID_DOLBY_VISION = new('Android - Dolby Vision')
|
17
|
-
ANDROID_PI_P = new('Android - PiP')
|
18
|
-
CU_SUNSET = new('CU Sunset')
|
19
|
-
HRK_ENABLE_EUR = new('HRK_enable_EUR')
|
20
|
-
TREBLE_SHOW_FEATURES = new('TREBLE-show-features')
|
21
|
-
AD_COUNTDOWN_TIMER = new('ad-countdown-timer')
|
22
|
-
ADAPTIVE_BITRATE = new('adaptive_bitrate')
|
23
|
-
AMAZON_LOOP_DEBUG = new('amazon-loop-debug')
|
24
|
-
AVOD_AD_ANALYSIS = new('avod-ad-analysis')
|
25
|
-
AVOD_NEW_MEDIA = new('avod-new-media')
|
26
|
-
BLACKLIST_GET_SIGNIN = new('blacklist_get_signin')
|
27
|
-
CLIENT_RADIO_STATIONS = new('client-radio-stations')
|
28
|
-
CLOUDFLARE_TURNSTILE_REQUIRED = new('cloudflare-turnstile-required')
|
29
|
-
COLLECTIONS = new('collections')
|
30
|
-
COMMENTS_AND_REPLIES_PUSH_NOTIFICATIONS = new('comments_and_replies_push_notifications')
|
31
|
-
COMMUNITY_ACCESS_PLEX_TV = new('community_access_plex_tv')
|
32
|
-
COMPANIONS_SONOS = new('companions_sonos')
|
33
|
-
CUSTOM_HOME_REMOVAL = new('custom-home-removal')
|
34
|
-
DISABLE_HOME_USER_FRIENDSHIPS = new('disable_home_user_friendships')
|
35
|
-
DISABLE_SHARING_FRIENDSHIPS = new('disable_sharing_friendships')
|
36
|
-
DRM_SUPPORT = new('drm_support')
|
37
|
-
EXCLUDE_RESTRICTIONS = new('exclude restrictions')
|
38
|
-
FEDERATED_AUTH = new('federated-auth')
|
39
|
-
FRIEND_REQUEST_PUSH_NOTIFICATIONS = new('friend_request_push_notifications')
|
40
|
-
GUIDED_UPGRADE = new('guided-upgrade')
|
41
|
-
HOME = new('home')
|
42
|
-
INCREASE_PASSWORD_COMPLEXITY = new('increase-password-complexity')
|
43
|
-
IOS14_PRIVACY_BANNER = new('ios14-privacy-banner')
|
44
|
-
ITERABLE_NOTIFICATION_TOKENS = new('iterable-notification-tokens')
|
45
|
-
KEEP_PAYMENT_METHOD = new('keep-payment-method')
|
46
|
-
KEVIN_BACON = new('kevin-bacon')
|
47
|
-
KOREA_CONSENT = new('korea-consent')
|
48
|
-
LE_ISRG_ROOT_X1 = new('le_isrg_root_x1')
|
49
|
-
LETS_ENCRYPT = new('lets_encrypt')
|
50
|
-
LIGHTNING_DVR_PIVOT = new('lightning-dvr-pivot')
|
51
|
-
LIVE_TV_SUPPORT_INCOMPLETE_SEGMENTS = new('live-tv-support-incomplete-segments')
|
52
|
-
LIVETV = new('livetv')
|
53
|
-
METADATA_SEARCH = new('metadata_search')
|
54
|
-
NEW_PLEX_PASS_PRICES = new('new_plex_pass_prices')
|
55
|
-
NEWS_PROVIDER_SUNSET_MODAL = new('news-provider-sunset-modal')
|
56
|
-
PHOTOS_FAVORITES = new('photos-favorites')
|
57
|
-
PHOTOS_METADATA_EDITION = new('photos-metadata-edition')
|
58
|
-
PMS_HEALTH = new('pms_health')
|
59
|
-
RADIO = new('radio')
|
60
|
-
RATE_LIMIT_CLIENT_TOKEN = new('rate-limit-client-token')
|
61
|
-
SCROBBLING_SERVICE_PLEX_TV = new('scrobbling-service-plex-tv')
|
62
|
-
SHARED_SERVER_NOTIFICATION = new('shared_server_notification')
|
63
|
-
SHARED_SOURCE_NOTIFICATION = new('shared_source_notification')
|
64
|
-
SIGNIN_WITH_APPLE = new('signin_with_apple')
|
65
|
-
SPRING_SERVE_AD_PROVIDER = new('spring_serve_ad_provider')
|
66
|
-
TRANSCODER_CACHE = new('transcoder_cache')
|
67
|
-
TUNER_SHARING = new('tuner-sharing')
|
68
|
-
TWO_FACTOR_AUTHENTICATION = new('two-factor-authentication')
|
69
|
-
UNSUPPORTEDTUNERS = new('unsupportedtuners')
|
70
|
-
UPGRADE_3DS2 = new('upgrade-3ds2')
|
71
|
-
VOD_SCHEMA = new('vod-schema')
|
72
|
-
VOD_CLOUDFLARE = new('vod_cloudflare')
|
73
|
-
WATCH_TOGETHER_INVITE = new('watch-together-invite')
|
74
|
-
WEB_SERVER_DASHBOARD = new('web_server_dashboard')
|
75
|
-
end
|
76
|
-
end
|
77
|
-
end
|
78
|
-
end
|
@@ -1,78 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
|
7
|
-
module PlexRubySDK
|
8
|
-
module Operations
|
9
|
-
GET_TOKEN_DETAILS_FEATURES_SERVERS = [
|
10
|
-
'https://plex.tv/api/v2/'
|
11
|
-
].freeze
|
12
|
-
|
13
|
-
|
14
|
-
class GetTokenDetailsFeatures < T::Enum
|
15
|
-
enums do
|
16
|
-
ANDROID_DOLBY_VISION = new('Android - Dolby Vision')
|
17
|
-
ANDROID_PI_P = new('Android - PiP')
|
18
|
-
CU_SUNSET = new('CU Sunset')
|
19
|
-
HRK_ENABLE_EUR = new('HRK_enable_EUR')
|
20
|
-
TREBLE_SHOW_FEATURES = new('TREBLE-show-features')
|
21
|
-
AD_COUNTDOWN_TIMER = new('ad-countdown-timer')
|
22
|
-
ADAPTIVE_BITRATE = new('adaptive_bitrate')
|
23
|
-
AMAZON_LOOP_DEBUG = new('amazon-loop-debug')
|
24
|
-
AVOD_AD_ANALYSIS = new('avod-ad-analysis')
|
25
|
-
AVOD_NEW_MEDIA = new('avod-new-media')
|
26
|
-
BLACKLIST_GET_SIGNIN = new('blacklist_get_signin')
|
27
|
-
CLIENT_RADIO_STATIONS = new('client-radio-stations')
|
28
|
-
CLOUDFLARE_TURNSTILE_REQUIRED = new('cloudflare-turnstile-required')
|
29
|
-
COLLECTIONS = new('collections')
|
30
|
-
COMMENTS_AND_REPLIES_PUSH_NOTIFICATIONS = new('comments_and_replies_push_notifications')
|
31
|
-
COMMUNITY_ACCESS_PLEX_TV = new('community_access_plex_tv')
|
32
|
-
COMPANIONS_SONOS = new('companions_sonos')
|
33
|
-
CUSTOM_HOME_REMOVAL = new('custom-home-removal')
|
34
|
-
DISABLE_HOME_USER_FRIENDSHIPS = new('disable_home_user_friendships')
|
35
|
-
DISABLE_SHARING_FRIENDSHIPS = new('disable_sharing_friendships')
|
36
|
-
DRM_SUPPORT = new('drm_support')
|
37
|
-
EXCLUDE_RESTRICTIONS = new('exclude restrictions')
|
38
|
-
FEDERATED_AUTH = new('federated-auth')
|
39
|
-
FRIEND_REQUEST_PUSH_NOTIFICATIONS = new('friend_request_push_notifications')
|
40
|
-
GUIDED_UPGRADE = new('guided-upgrade')
|
41
|
-
HOME = new('home')
|
42
|
-
INCREASE_PASSWORD_COMPLEXITY = new('increase-password-complexity')
|
43
|
-
IOS14_PRIVACY_BANNER = new('ios14-privacy-banner')
|
44
|
-
ITERABLE_NOTIFICATION_TOKENS = new('iterable-notification-tokens')
|
45
|
-
KEEP_PAYMENT_METHOD = new('keep-payment-method')
|
46
|
-
KEVIN_BACON = new('kevin-bacon')
|
47
|
-
KOREA_CONSENT = new('korea-consent')
|
48
|
-
LE_ISRG_ROOT_X1 = new('le_isrg_root_x1')
|
49
|
-
LETS_ENCRYPT = new('lets_encrypt')
|
50
|
-
LIGHTNING_DVR_PIVOT = new('lightning-dvr-pivot')
|
51
|
-
LIVE_TV_SUPPORT_INCOMPLETE_SEGMENTS = new('live-tv-support-incomplete-segments')
|
52
|
-
LIVETV = new('livetv')
|
53
|
-
METADATA_SEARCH = new('metadata_search')
|
54
|
-
NEW_PLEX_PASS_PRICES = new('new_plex_pass_prices')
|
55
|
-
NEWS_PROVIDER_SUNSET_MODAL = new('news-provider-sunset-modal')
|
56
|
-
PHOTOS_FAVORITES = new('photos-favorites')
|
57
|
-
PHOTOS_METADATA_EDITION = new('photos-metadata-edition')
|
58
|
-
PMS_HEALTH = new('pms_health')
|
59
|
-
RADIO = new('radio')
|
60
|
-
RATE_LIMIT_CLIENT_TOKEN = new('rate-limit-client-token')
|
61
|
-
SCROBBLING_SERVICE_PLEX_TV = new('scrobbling-service-plex-tv')
|
62
|
-
SHARED_SERVER_NOTIFICATION = new('shared_server_notification')
|
63
|
-
SHARED_SOURCE_NOTIFICATION = new('shared_source_notification')
|
64
|
-
SIGNIN_WITH_APPLE = new('signin_with_apple')
|
65
|
-
SPRING_SERVE_AD_PROVIDER = new('spring_serve_ad_provider')
|
66
|
-
TRANSCODER_CACHE = new('transcoder_cache')
|
67
|
-
TUNER_SHARING = new('tuner-sharing')
|
68
|
-
TWO_FACTOR_AUTHENTICATION = new('two-factor-authentication')
|
69
|
-
UNSUPPORTEDTUNERS = new('unsupportedtuners')
|
70
|
-
UPGRADE_3DS2 = new('upgrade-3ds2')
|
71
|
-
VOD_SCHEMA = new('vod-schema')
|
72
|
-
VOD_CLOUDFLARE = new('vod_cloudflare')
|
73
|
-
WATCH_TOGETHER_INVITE = new('watch-together-invite')
|
74
|
-
WEB_SERVER_DASHBOARD = new('web_server_dashboard')
|
75
|
-
end
|
76
|
-
end
|
77
|
-
end
|
78
|
-
end
|
@@ -1,78 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
|
7
|
-
module PlexRubySDK
|
8
|
-
module Operations
|
9
|
-
POST_USERS_SIGN_IN_DATA_AUTHENTICATION_FEATURES_SERVERS = [
|
10
|
-
'https://plex.tv/api/v2/'
|
11
|
-
].freeze
|
12
|
-
|
13
|
-
|
14
|
-
class PostUsersSignInDataAuthenticationFeatures < T::Enum
|
15
|
-
enums do
|
16
|
-
ANDROID_DOLBY_VISION = new('Android - Dolby Vision')
|
17
|
-
ANDROID_PI_P = new('Android - PiP')
|
18
|
-
CU_SUNSET = new('CU Sunset')
|
19
|
-
HRK_ENABLE_EUR = new('HRK_enable_EUR')
|
20
|
-
TREBLE_SHOW_FEATURES = new('TREBLE-show-features')
|
21
|
-
AD_COUNTDOWN_TIMER = new('ad-countdown-timer')
|
22
|
-
ADAPTIVE_BITRATE = new('adaptive_bitrate')
|
23
|
-
AMAZON_LOOP_DEBUG = new('amazon-loop-debug')
|
24
|
-
AVOD_AD_ANALYSIS = new('avod-ad-analysis')
|
25
|
-
AVOD_NEW_MEDIA = new('avod-new-media')
|
26
|
-
BLACKLIST_GET_SIGNIN = new('blacklist_get_signin')
|
27
|
-
CLIENT_RADIO_STATIONS = new('client-radio-stations')
|
28
|
-
CLOUDFLARE_TURNSTILE_REQUIRED = new('cloudflare-turnstile-required')
|
29
|
-
COLLECTIONS = new('collections')
|
30
|
-
COMMENTS_AND_REPLIES_PUSH_NOTIFICATIONS = new('comments_and_replies_push_notifications')
|
31
|
-
COMMUNITY_ACCESS_PLEX_TV = new('community_access_plex_tv')
|
32
|
-
COMPANIONS_SONOS = new('companions_sonos')
|
33
|
-
CUSTOM_HOME_REMOVAL = new('custom-home-removal')
|
34
|
-
DISABLE_HOME_USER_FRIENDSHIPS = new('disable_home_user_friendships')
|
35
|
-
DISABLE_SHARING_FRIENDSHIPS = new('disable_sharing_friendships')
|
36
|
-
DRM_SUPPORT = new('drm_support')
|
37
|
-
EXCLUDE_RESTRICTIONS = new('exclude restrictions')
|
38
|
-
FEDERATED_AUTH = new('federated-auth')
|
39
|
-
FRIEND_REQUEST_PUSH_NOTIFICATIONS = new('friend_request_push_notifications')
|
40
|
-
GUIDED_UPGRADE = new('guided-upgrade')
|
41
|
-
HOME = new('home')
|
42
|
-
INCREASE_PASSWORD_COMPLEXITY = new('increase-password-complexity')
|
43
|
-
IOS14_PRIVACY_BANNER = new('ios14-privacy-banner')
|
44
|
-
ITERABLE_NOTIFICATION_TOKENS = new('iterable-notification-tokens')
|
45
|
-
KEEP_PAYMENT_METHOD = new('keep-payment-method')
|
46
|
-
KEVIN_BACON = new('kevin-bacon')
|
47
|
-
KOREA_CONSENT = new('korea-consent')
|
48
|
-
LE_ISRG_ROOT_X1 = new('le_isrg_root_x1')
|
49
|
-
LETS_ENCRYPT = new('lets_encrypt')
|
50
|
-
LIGHTNING_DVR_PIVOT = new('lightning-dvr-pivot')
|
51
|
-
LIVE_TV_SUPPORT_INCOMPLETE_SEGMENTS = new('live-tv-support-incomplete-segments')
|
52
|
-
LIVETV = new('livetv')
|
53
|
-
METADATA_SEARCH = new('metadata_search')
|
54
|
-
NEW_PLEX_PASS_PRICES = new('new_plex_pass_prices')
|
55
|
-
NEWS_PROVIDER_SUNSET_MODAL = new('news-provider-sunset-modal')
|
56
|
-
PHOTOS_FAVORITES = new('photos-favorites')
|
57
|
-
PHOTOS_METADATA_EDITION = new('photos-metadata-edition')
|
58
|
-
PMS_HEALTH = new('pms_health')
|
59
|
-
RADIO = new('radio')
|
60
|
-
RATE_LIMIT_CLIENT_TOKEN = new('rate-limit-client-token')
|
61
|
-
SCROBBLING_SERVICE_PLEX_TV = new('scrobbling-service-plex-tv')
|
62
|
-
SHARED_SERVER_NOTIFICATION = new('shared_server_notification')
|
63
|
-
SHARED_SOURCE_NOTIFICATION = new('shared_source_notification')
|
64
|
-
SIGNIN_WITH_APPLE = new('signin_with_apple')
|
65
|
-
SPRING_SERVE_AD_PROVIDER = new('spring_serve_ad_provider')
|
66
|
-
TRANSCODER_CACHE = new('transcoder_cache')
|
67
|
-
TUNER_SHARING = new('tuner-sharing')
|
68
|
-
TWO_FACTOR_AUTHENTICATION = new('two-factor-authentication')
|
69
|
-
UNSUPPORTEDTUNERS = new('unsupportedtuners')
|
70
|
-
UPGRADE_3DS2 = new('upgrade-3ds2')
|
71
|
-
VOD_SCHEMA = new('vod-schema')
|
72
|
-
VOD_CLOUDFLARE = new('vod_cloudflare')
|
73
|
-
WATCH_TOGETHER_INVITE = new('watch-together-invite')
|
74
|
-
WEB_SERVER_DASHBOARD = new('web_server_dashboard')
|
75
|
-
end
|
76
|
-
end
|
77
|
-
end
|
78
|
-
end
|
@@ -1,78 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
|
7
|
-
module PlexRubySDK
|
8
|
-
module Operations
|
9
|
-
POST_USERS_SIGN_IN_DATA_FEATURES_SERVERS = [
|
10
|
-
'https://plex.tv/api/v2/'
|
11
|
-
].freeze
|
12
|
-
|
13
|
-
|
14
|
-
class PostUsersSignInDataFeatures < T::Enum
|
15
|
-
enums do
|
16
|
-
ANDROID_DOLBY_VISION = new('Android - Dolby Vision')
|
17
|
-
ANDROID_PI_P = new('Android - PiP')
|
18
|
-
CU_SUNSET = new('CU Sunset')
|
19
|
-
HRK_ENABLE_EUR = new('HRK_enable_EUR')
|
20
|
-
TREBLE_SHOW_FEATURES = new('TREBLE-show-features')
|
21
|
-
AD_COUNTDOWN_TIMER = new('ad-countdown-timer')
|
22
|
-
ADAPTIVE_BITRATE = new('adaptive_bitrate')
|
23
|
-
AMAZON_LOOP_DEBUG = new('amazon-loop-debug')
|
24
|
-
AVOD_AD_ANALYSIS = new('avod-ad-analysis')
|
25
|
-
AVOD_NEW_MEDIA = new('avod-new-media')
|
26
|
-
BLACKLIST_GET_SIGNIN = new('blacklist_get_signin')
|
27
|
-
CLIENT_RADIO_STATIONS = new('client-radio-stations')
|
28
|
-
CLOUDFLARE_TURNSTILE_REQUIRED = new('cloudflare-turnstile-required')
|
29
|
-
COLLECTIONS = new('collections')
|
30
|
-
COMMENTS_AND_REPLIES_PUSH_NOTIFICATIONS = new('comments_and_replies_push_notifications')
|
31
|
-
COMMUNITY_ACCESS_PLEX_TV = new('community_access_plex_tv')
|
32
|
-
COMPANIONS_SONOS = new('companions_sonos')
|
33
|
-
CUSTOM_HOME_REMOVAL = new('custom-home-removal')
|
34
|
-
DISABLE_HOME_USER_FRIENDSHIPS = new('disable_home_user_friendships')
|
35
|
-
DISABLE_SHARING_FRIENDSHIPS = new('disable_sharing_friendships')
|
36
|
-
DRM_SUPPORT = new('drm_support')
|
37
|
-
EXCLUDE_RESTRICTIONS = new('exclude restrictions')
|
38
|
-
FEDERATED_AUTH = new('federated-auth')
|
39
|
-
FRIEND_REQUEST_PUSH_NOTIFICATIONS = new('friend_request_push_notifications')
|
40
|
-
GUIDED_UPGRADE = new('guided-upgrade')
|
41
|
-
HOME = new('home')
|
42
|
-
INCREASE_PASSWORD_COMPLEXITY = new('increase-password-complexity')
|
43
|
-
IOS14_PRIVACY_BANNER = new('ios14-privacy-banner')
|
44
|
-
ITERABLE_NOTIFICATION_TOKENS = new('iterable-notification-tokens')
|
45
|
-
KEEP_PAYMENT_METHOD = new('keep-payment-method')
|
46
|
-
KEVIN_BACON = new('kevin-bacon')
|
47
|
-
KOREA_CONSENT = new('korea-consent')
|
48
|
-
LE_ISRG_ROOT_X1 = new('le_isrg_root_x1')
|
49
|
-
LETS_ENCRYPT = new('lets_encrypt')
|
50
|
-
LIGHTNING_DVR_PIVOT = new('lightning-dvr-pivot')
|
51
|
-
LIVE_TV_SUPPORT_INCOMPLETE_SEGMENTS = new('live-tv-support-incomplete-segments')
|
52
|
-
LIVETV = new('livetv')
|
53
|
-
METADATA_SEARCH = new('metadata_search')
|
54
|
-
NEW_PLEX_PASS_PRICES = new('new_plex_pass_prices')
|
55
|
-
NEWS_PROVIDER_SUNSET_MODAL = new('news-provider-sunset-modal')
|
56
|
-
PHOTOS_FAVORITES = new('photos-favorites')
|
57
|
-
PHOTOS_METADATA_EDITION = new('photos-metadata-edition')
|
58
|
-
PMS_HEALTH = new('pms_health')
|
59
|
-
RADIO = new('radio')
|
60
|
-
RATE_LIMIT_CLIENT_TOKEN = new('rate-limit-client-token')
|
61
|
-
SCROBBLING_SERVICE_PLEX_TV = new('scrobbling-service-plex-tv')
|
62
|
-
SHARED_SERVER_NOTIFICATION = new('shared_server_notification')
|
63
|
-
SHARED_SOURCE_NOTIFICATION = new('shared_source_notification')
|
64
|
-
SIGNIN_WITH_APPLE = new('signin_with_apple')
|
65
|
-
SPRING_SERVE_AD_PROVIDER = new('spring_serve_ad_provider')
|
66
|
-
TRANSCODER_CACHE = new('transcoder_cache')
|
67
|
-
TUNER_SHARING = new('tuner-sharing')
|
68
|
-
TWO_FACTOR_AUTHENTICATION = new('two-factor-authentication')
|
69
|
-
UNSUPPORTEDTUNERS = new('unsupportedtuners')
|
70
|
-
UPGRADE_3DS2 = new('upgrade-3ds2')
|
71
|
-
VOD_SCHEMA = new('vod-schema')
|
72
|
-
VOD_CLOUDFLARE = new('vod_cloudflare')
|
73
|
-
WATCH_TOGETHER_INVITE = new('watch-together-invite')
|
74
|
-
WEB_SERVER_DASHBOARD = new('web_server_dashboard')
|
75
|
-
end
|
76
|
-
end
|
77
|
-
end
|
78
|
-
end
|