fastpixapi 1.1.1 → 1.1.3
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/crystalline/metadata_fields.rb +56 -48
- data/lib/crystalline/types.rb +3 -3
- data/lib/crystalline.rb +4 -5
- data/lib/fastpix_client/dimensions.rb +55 -62
- data/lib/fastpix_client/drm_configurations.rb +51 -58
- data/lib/fastpix_client/errors.rb +36 -25
- data/lib/fastpix_client/fastpixapi.rb +2 -4
- data/lib/fastpix_client/in_video_ai_features.rb +108 -168
- data/lib/fastpix_client/input_video.rb +75 -83
- data/lib/fastpix_client/live_playback.rb +82 -99
- data/lib/fastpix_client/manage_live_stream.rb +145 -261
- data/lib/fastpix_client/manage_videos.rb +252 -567
- data/lib/fastpix_client/metrics.rb +82 -126
- data/lib/fastpix_client/models/components/addtrackrequest.rb +1 -1
- data/lib/fastpix_client/models/components/createlivestreamresponsedto.rb +10 -18
- data/lib/fastpix_client/models/components/createmediarequest.rb +10 -19
- data/lib/fastpix_client/models/components/deletesigningkeyresponse.rb +6 -2
- data/lib/fastpix_client/models/components/deletesigningkeyresponsedata.rb +33 -0
- data/lib/fastpix_client/models/components/getallmediaresponse.rb +13 -29
- data/lib/fastpix_client/models/components/getcreatelivestreamresponsedto.rb +9 -20
- data/lib/fastpix_client/models/components/getmediaresponse.rb +13 -29
- data/lib/fastpix_client/models/components/live_media_clips.rb +9 -21
- data/lib/fastpix_client/models/components/media.rb +11 -26
- data/lib/fastpix_client/models/components/patchresponsedata.rb +9 -18
- data/lib/fastpix_client/models/components/pullvideoinput.rb +1 -1
- data/lib/fastpix_client/models/components/sourceaccessmedia.rb +11 -26
- data/lib/fastpix_client/models/components/update_media.rb +11 -26
- data/lib/fastpix_client/models/components/views.rb +52 -125
- data/lib/fastpix_client/models/components/watermarkinput.rb +1 -1
- data/lib/fastpix_client/models/components.rb +1 -0
- data/lib/fastpix_client/models/errors/empty_response_error.rb +15 -0
- data/lib/fastpix_client/models/errors.rb +1 -0
- data/lib/fastpix_client/models/operations/add_media_to_playlist_response.rb +1 -1
- data/lib/fastpix_client/models/operations/add_media_track_response.rb +1 -1
- data/lib/fastpix_client/models/operations/cancel_upload_response.rb +1 -1
- data/lib/fastpix_client/models/operations/change_media_order_in_playlist_response.rb +1 -1
- data/lib/fastpix_client/models/operations/complete_live_stream_response.rb +1 -1
- data/lib/fastpix_client/models/operations/create_a_playlist_response.rb +1 -1
- data/lib/fastpix_client/models/operations/create_media_playback_id_response.rb +1 -1
- data/lib/fastpix_client/models/operations/create_media_response.rb +1 -1
- data/lib/fastpix_client/models/operations/create_new_stream_response.rb +1 -1
- data/lib/fastpix_client/models/operations/create_playbackid_of_stream_response.rb +1 -1
- data/lib/fastpix_client/models/operations/create_signing_key_response.rb +1 -1
- data/lib/fastpix_client/models/operations/create_simulcast_of_stream_response.rb +1 -1
- data/lib/fastpix_client/models/operations/delete_a_playlist_response.rb +1 -1
- data/lib/fastpix_client/models/operations/delete_live_stream_response.rb +1 -1
- data/lib/fastpix_client/models/operations/delete_media_from_playlist_response.rb +1 -1
- data/lib/fastpix_client/models/operations/delete_media_playback_id_response.rb +1 -1
- data/lib/fastpix_client/models/operations/delete_media_response.rb +1 -1
- data/lib/fastpix_client/models/operations/delete_media_track_response.rb +1 -1
- data/lib/fastpix_client/models/operations/delete_playbackid_of_stream_response.rb +1 -1
- data/lib/fastpix_client/models/operations/delete_signing_key_response.rb +1 -1
- data/lib/fastpix_client/models/operations/delete_simulcast_of_stream_response.rb +1 -1
- data/lib/fastpix_client/models/operations/direct_upload_video_media_request.rb +1 -1
- data/lib/fastpix_client/models/operations/direct_upload_video_media_response.rb +1 -1
- data/lib/fastpix_client/models/operations/disable_live_stream_response.rb +1 -1
- data/lib/fastpix_client/models/operations/enable_live_stream_response.rb +1 -1
- data/lib/fastpix_client/models/operations/generate_subtitle_track_response.rb +1 -1
- data/lib/fastpix_client/models/operations/get_all_playlists_response.rb +1 -1
- data/lib/fastpix_client/models/operations/get_all_streams_response.rb +1 -1
- data/lib/fastpix_client/models/operations/get_live_stream_by_id_response.rb +1 -1
- data/lib/fastpix_client/models/operations/get_live_stream_playback_id_response.rb +1 -1
- data/lib/fastpix_client/models/operations/get_live_stream_viewer_count_by_id_response.rb +1 -1
- data/lib/fastpix_client/models/operations/get_media_clips_response.rb +1 -1
- data/lib/fastpix_client/models/operations/get_media_response.rb +1 -1
- data/lib/fastpix_client/models/operations/get_media_summary_response.rb +1 -1
- data/lib/fastpix_client/models/operations/get_playback_id_response.rb +1 -1
- data/lib/fastpix_client/models/operations/get_playlist_by_id_response.rb +1 -1
- data/lib/fastpix_client/models/operations/get_signing_key_by_id_response.rb +1 -1
- data/lib/fastpix_client/models/operations/get_specific_simulcast_of_stream_response.rb +1 -1
- data/lib/fastpix_client/models/operations/get_timeseries_data_response.rb +1 -1
- data/lib/fastpix_client/models/operations/get_video_view_details_response.rb +1 -1
- data/lib/fastpix_client/models/operations/getdrmconfiguration_response.rb +1 -1
- data/lib/fastpix_client/models/operations/getdrmconfigurationbyid_response.rb +1 -1
- data/lib/fastpix_client/models/operations/list_breakdown_values_response.rb +1 -1
- data/lib/fastpix_client/models/operations/list_by_top_content_response.rb +1 -1
- data/lib/fastpix_client/models/operations/list_comparison_values_response.rb +1 -1
- data/lib/fastpix_client/models/operations/list_dimensions_response.rb +1 -1
- data/lib/fastpix_client/models/operations/list_errors_response.rb +1 -1
- data/lib/fastpix_client/models/operations/list_filter_values_for_dimension_response.rb +1 -1
- data/lib/fastpix_client/models/operations/list_live_clips_response.rb +1 -1
- data/lib/fastpix_client/models/operations/list_media_response.rb +1 -1
- data/lib/fastpix_client/models/operations/list_overall_values_response.rb +1 -1
- data/lib/fastpix_client/models/operations/list_playback_ids_response.rb +1 -1
- data/lib/fastpix_client/models/operations/list_signing_keys_response.rb +1 -1
- data/lib/fastpix_client/models/operations/list_uploads_response.rb +1 -1
- data/lib/fastpix_client/models/operations/list_video_views_response.rb +1 -1
- data/lib/fastpix_client/models/operations/push_media_settings.rb +10 -21
- data/lib/fastpix_client/models/operations/retrievemediainputinfo_response.rb +1 -1
- data/lib/fastpix_client/models/operations/update_a_playlist_response.rb +1 -1
- data/lib/fastpix_client/models/operations/update_domain_restrictions_response.rb +1 -1
- data/lib/fastpix_client/models/operations/update_live_stream_response.rb +1 -1
- data/lib/fastpix_client/models/operations/update_media_chapters_response.rb +1 -1
- data/lib/fastpix_client/models/operations/update_media_moderation_response.rb +1 -1
- data/lib/fastpix_client/models/operations/update_media_named_entities_response.rb +1 -1
- data/lib/fastpix_client/models/operations/update_media_summary_response.rb +1 -1
- data/lib/fastpix_client/models/operations/update_media_track_response.rb +1 -1
- data/lib/fastpix_client/models/operations/update_specific_simulcast_of_stream_response.rb +1 -1
- data/lib/fastpix_client/models/operations/update_user_agent_restrictions_response.rb +1 -1
- data/lib/fastpix_client/models/operations/updated_media_response.rb +1 -1
- data/lib/fastpix_client/models/operations/updated_mp4support_response.rb +1 -1
- data/lib/fastpix_client/models/operations/updated_source_access_response.rb +1 -1
- data/lib/fastpix_client/playback.rb +123 -214
- data/lib/fastpix_client/playlist.rb +151 -297
- data/lib/fastpix_client/sdk_hooks/registration.rb +2 -2
- data/lib/fastpix_client/sdk_hooks/types.rb +4 -0
- data/lib/fastpix_client/sdkconfiguration.rb +4 -4
- data/lib/fastpix_client/signing_keys.rb +79 -123
- data/lib/fastpix_client/simulcast_stream.rb +101 -145
- data/lib/fastpix_client/start_live_stream.rb +54 -36
- data/lib/fastpix_client/utils/forms.rb +97 -101
- data/lib/fastpix_client/utils/headers.rb +44 -34
- data/lib/fastpix_client/utils/query_params.rb +39 -29
- data/lib/fastpix_client/utils/request_bodies.rb +4 -8
- data/lib/fastpix_client/utils/security.rb +30 -18
- data/lib/fastpix_client/utils/url.rb +83 -55
- data/lib/fastpix_client/utils/utils.rb +19 -37
- data/lib/fastpix_client/views.rb +71 -95
- data/lib/fastpixapi.rb +10 -10
- data/lib/openssl_patch.rb +24 -24
- metadata +20 -4
|
@@ -20,7 +20,7 @@ module FastpixClient
|
|
|
20
20
|
field :raw_response, ::Faraday::Response
|
|
21
21
|
# Playlist updated successfully
|
|
22
22
|
field :playlist_created_response, Crystalline::Nilable.new(Models::Components::PlaylistCreatedResponse)
|
|
23
|
-
# See the range of possible <a href="https://
|
|
23
|
+
# See the range of possible <a href="https://fastpix.com/docs/error-codes">error</a> responses and their status codes.
|
|
24
24
|
field :default_error, Crystalline::Nilable.new(Models::Components::DefaultError)
|
|
25
25
|
|
|
26
26
|
sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, playlist_created_response: T.nilable(Models::Components::PlaylistCreatedResponse), default_error: T.nilable(Models::Components::DefaultError)).void }
|
|
@@ -20,7 +20,7 @@ module FastpixClient
|
|
|
20
20
|
field :raw_response, ::Faraday::Response
|
|
21
21
|
# Successfully updated domain restrictions
|
|
22
22
|
field :object, Crystalline::Nilable.new(Models::Operations::UpdateDomainRestrictionsResponseBody)
|
|
23
|
-
# See the range of possible <a href="https://
|
|
23
|
+
# See the range of possible <a href="https://fastpix.com/docs/error-codes">error</a> responses and their status codes.
|
|
24
24
|
field :default_error, Crystalline::Nilable.new(Models::Components::DefaultError)
|
|
25
25
|
|
|
26
26
|
sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, object: T.nilable(Models::Operations::UpdateDomainRestrictionsResponseBody), default_error: T.nilable(Models::Components::DefaultError)).void }
|
|
@@ -20,7 +20,7 @@ module FastpixClient
|
|
|
20
20
|
field :raw_response, ::Faraday::Response
|
|
21
21
|
# Stream details updated successfully
|
|
22
22
|
field :patch_response_dto, Crystalline::Nilable.new(Models::Components::PatchResponseDTO)
|
|
23
|
-
# See the range of possible <a href="https://
|
|
23
|
+
# See the range of possible <a href="https://fastpix.com/docs/error-codes">error</a> responses and their status codes.
|
|
24
24
|
field :default_error, Crystalline::Nilable.new(Models::Components::DefaultError)
|
|
25
25
|
|
|
26
26
|
sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, patch_response_dto: T.nilable(Models::Components::PatchResponseDTO), default_error: T.nilable(Models::Components::DefaultError)).void }
|
|
@@ -20,7 +20,7 @@ module FastpixClient
|
|
|
20
20
|
field :raw_response, ::Faraday::Response
|
|
21
21
|
# Media details updated successfully with the chapters feature enabled or disabled
|
|
22
22
|
field :object, Crystalline::Nilable.new(Models::Operations::UpdateMediaChaptersResponseBody)
|
|
23
|
-
# See the range of possible <a href="https://
|
|
23
|
+
# See the range of possible <a href="https://fastpix.com/docs/error-codes">error</a> responses and their status codes.
|
|
24
24
|
field :default_error, Crystalline::Nilable.new(Models::Components::DefaultError)
|
|
25
25
|
|
|
26
26
|
sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, object: T.nilable(Models::Operations::UpdateMediaChaptersResponseBody), default_error: T.nilable(Models::Components::DefaultError)).void }
|
|
@@ -20,7 +20,7 @@ module FastpixClient
|
|
|
20
20
|
field :raw_response, ::Faraday::Response
|
|
21
21
|
# Media details updated successfully with the named entity extraction feature enabled or disabled
|
|
22
22
|
field :object, Crystalline::Nilable.new(Models::Operations::UpdateMediaModerationResponseBody)
|
|
23
|
-
# See the range of possible <a href="https://
|
|
23
|
+
# See the range of possible <a href="https://fastpix.com/docs/error-codes">error</a> responses and their status codes.
|
|
24
24
|
field :default_error, Crystalline::Nilable.new(Models::Components::DefaultError)
|
|
25
25
|
|
|
26
26
|
sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, object: T.nilable(Models::Operations::UpdateMediaModerationResponseBody), default_error: T.nilable(Models::Components::DefaultError)).void }
|
|
@@ -20,7 +20,7 @@ module FastpixClient
|
|
|
20
20
|
field :raw_response, ::Faraday::Response
|
|
21
21
|
# Media details updated successfully with the named entity extraction feature enabled or disabled
|
|
22
22
|
field :object, Crystalline::Nilable.new(Models::Operations::UpdateMediaNamedEntitiesResponseBody)
|
|
23
|
-
# See the range of possible <a href="https://
|
|
23
|
+
# See the range of possible <a href="https://fastpix.com/docs/error-codes">error</a> responses and their status codes.
|
|
24
24
|
field :default_error, Crystalline::Nilable.new(Models::Components::DefaultError)
|
|
25
25
|
|
|
26
26
|
sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, object: T.nilable(Models::Operations::UpdateMediaNamedEntitiesResponseBody), default_error: T.nilable(Models::Components::DefaultError)).void }
|
|
@@ -20,7 +20,7 @@ module FastpixClient
|
|
|
20
20
|
field :raw_response, ::Faraday::Response
|
|
21
21
|
# Media details updated successfully with the generated summary
|
|
22
22
|
field :object, Crystalline::Nilable.new(Models::Operations::UpdateMediaSummaryResponseBody)
|
|
23
|
-
# See the range of possible <a href="https://
|
|
23
|
+
# See the range of possible <a href="https://fastpix.com/docs/error-codes">error</a> responses and their status codes.
|
|
24
24
|
field :default_error, Crystalline::Nilable.new(Models::Components::DefaultError)
|
|
25
25
|
|
|
26
26
|
sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, object: T.nilable(Models::Operations::UpdateMediaSummaryResponseBody), default_error: T.nilable(Models::Components::DefaultError)).void }
|
|
@@ -20,7 +20,7 @@ module FastpixClient
|
|
|
20
20
|
field :raw_response, ::Faraday::Response
|
|
21
21
|
# Media details updated successfully
|
|
22
22
|
field :object, Crystalline::Nilable.new(Models::Operations::UpdateMediaTrackResponseBody)
|
|
23
|
-
# See the range of possible <a href="https://
|
|
23
|
+
# See the range of possible <a href="https://fastpix.com/docs/error-codes">error</a> responses and their status codes.
|
|
24
24
|
field :default_error, Crystalline::Nilable.new(Models::Components::DefaultError)
|
|
25
25
|
|
|
26
26
|
sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, object: T.nilable(Models::Operations::UpdateMediaTrackResponseBody), default_error: T.nilable(Models::Components::DefaultError)).void }
|
|
@@ -20,7 +20,7 @@ module FastpixClient
|
|
|
20
20
|
field :raw_response, ::Faraday::Response
|
|
21
21
|
# Stream's simulcast details fetched successfully
|
|
22
22
|
field :simulcast_update_response, Crystalline::Nilable.new(Models::Components::SimulcastUpdateResponse)
|
|
23
|
-
# See the range of possible <a href="https://
|
|
23
|
+
# See the range of possible <a href="https://fastpix.com/docs/error-codes">error</a> responses and their status codes.
|
|
24
24
|
field :default_error, Crystalline::Nilable.new(Models::Components::DefaultError)
|
|
25
25
|
|
|
26
26
|
sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, simulcast_update_response: T.nilable(Models::Components::SimulcastUpdateResponse), default_error: T.nilable(Models::Components::DefaultError)).void }
|
|
@@ -20,7 +20,7 @@ module FastpixClient
|
|
|
20
20
|
field :raw_response, ::Faraday::Response
|
|
21
21
|
# Successfully updated user-agent restrictions
|
|
22
22
|
field :object, Crystalline::Nilable.new(Models::Operations::UpdateUserAgentRestrictionsResponseBody)
|
|
23
|
-
# See the range of possible <a href="https://
|
|
23
|
+
# See the range of possible <a href="https://fastpix.com/docs/error-codes">error</a> responses and their status codes.
|
|
24
24
|
field :default_error, Crystalline::Nilable.new(Models::Components::DefaultError)
|
|
25
25
|
|
|
26
26
|
sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, object: T.nilable(Models::Operations::UpdateUserAgentRestrictionsResponseBody), default_error: T.nilable(Models::Components::DefaultError)).void }
|
|
@@ -20,7 +20,7 @@ module FastpixClient
|
|
|
20
20
|
field :raw_response, ::Faraday::Response
|
|
21
21
|
# Media details updated successfully
|
|
22
22
|
field :object, Crystalline::Nilable.new(Models::Operations::UpdatedMediaResponseBody)
|
|
23
|
-
# See the range of possible <a href="https://
|
|
23
|
+
# See the range of possible <a href="https://fastpix.com/docs/error-codes">error</a> responses and their status codes.
|
|
24
24
|
field :default_error, Crystalline::Nilable.new(Models::Components::DefaultError)
|
|
25
25
|
|
|
26
26
|
sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, object: T.nilable(Models::Operations::UpdatedMediaResponseBody), default_error: T.nilable(Models::Components::DefaultError)).void }
|
|
@@ -20,7 +20,7 @@ module FastpixClient
|
|
|
20
20
|
field :raw_response, ::Faraday::Response
|
|
21
21
|
# Media details updated successfully
|
|
22
22
|
field :object, Crystalline::Nilable.new(Models::Operations::UpdatedMp4SupportResponseBody)
|
|
23
|
-
# See the range of possible <a href="https://
|
|
23
|
+
# See the range of possible <a href="https://fastpix.com/docs/error-codes">error</a> responses and their status codes.
|
|
24
24
|
field :default_error, Crystalline::Nilable.new(Models::Components::DefaultError)
|
|
25
25
|
|
|
26
26
|
sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, object: T.nilable(Models::Operations::UpdatedMp4SupportResponseBody), default_error: T.nilable(Models::Components::DefaultError)).void }
|
|
@@ -20,7 +20,7 @@ module FastpixClient
|
|
|
20
20
|
field :raw_response, ::Faraday::Response
|
|
21
21
|
# Media details updated successfully
|
|
22
22
|
field :object, Crystalline::Nilable.new(Models::Operations::UpdatedSourceAccessResponseBody)
|
|
23
|
-
# See the range of possible <a href="https://
|
|
23
|
+
# See the range of possible <a href="https://fastpix.com/docs/error-codes">error</a> responses and their status codes.
|
|
24
24
|
field :default_error, Crystalline::Nilable.new(Models::Components::DefaultError)
|
|
25
25
|
|
|
26
26
|
sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, object: T.nilable(Models::Operations::UpdatedSourceAccessResponseBody), default_error: T.nilable(Models::Components::DefaultError)).void }
|