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.
Files changed (122) hide show
  1. checksums.yaml +4 -4
  2. data/lib/crystalline/metadata_fields.rb +56 -48
  3. data/lib/crystalline/types.rb +3 -3
  4. data/lib/crystalline.rb +4 -5
  5. data/lib/fastpix_client/dimensions.rb +55 -62
  6. data/lib/fastpix_client/drm_configurations.rb +51 -58
  7. data/lib/fastpix_client/errors.rb +36 -25
  8. data/lib/fastpix_client/fastpixapi.rb +2 -4
  9. data/lib/fastpix_client/in_video_ai_features.rb +108 -168
  10. data/lib/fastpix_client/input_video.rb +75 -83
  11. data/lib/fastpix_client/live_playback.rb +82 -99
  12. data/lib/fastpix_client/manage_live_stream.rb +145 -261
  13. data/lib/fastpix_client/manage_videos.rb +252 -567
  14. data/lib/fastpix_client/metrics.rb +82 -126
  15. data/lib/fastpix_client/models/components/addtrackrequest.rb +1 -1
  16. data/lib/fastpix_client/models/components/createlivestreamresponsedto.rb +10 -18
  17. data/lib/fastpix_client/models/components/createmediarequest.rb +10 -19
  18. data/lib/fastpix_client/models/components/deletesigningkeyresponse.rb +6 -2
  19. data/lib/fastpix_client/models/components/deletesigningkeyresponsedata.rb +33 -0
  20. data/lib/fastpix_client/models/components/getallmediaresponse.rb +13 -29
  21. data/lib/fastpix_client/models/components/getcreatelivestreamresponsedto.rb +9 -20
  22. data/lib/fastpix_client/models/components/getmediaresponse.rb +13 -29
  23. data/lib/fastpix_client/models/components/live_media_clips.rb +9 -21
  24. data/lib/fastpix_client/models/components/media.rb +11 -26
  25. data/lib/fastpix_client/models/components/patchresponsedata.rb +9 -18
  26. data/lib/fastpix_client/models/components/pullvideoinput.rb +1 -1
  27. data/lib/fastpix_client/models/components/sourceaccessmedia.rb +11 -26
  28. data/lib/fastpix_client/models/components/update_media.rb +11 -26
  29. data/lib/fastpix_client/models/components/views.rb +52 -125
  30. data/lib/fastpix_client/models/components/watermarkinput.rb +1 -1
  31. data/lib/fastpix_client/models/components.rb +1 -0
  32. data/lib/fastpix_client/models/errors/empty_response_error.rb +15 -0
  33. data/lib/fastpix_client/models/errors.rb +1 -0
  34. data/lib/fastpix_client/models/operations/add_media_to_playlist_response.rb +1 -1
  35. data/lib/fastpix_client/models/operations/add_media_track_response.rb +1 -1
  36. data/lib/fastpix_client/models/operations/cancel_upload_response.rb +1 -1
  37. data/lib/fastpix_client/models/operations/change_media_order_in_playlist_response.rb +1 -1
  38. data/lib/fastpix_client/models/operations/complete_live_stream_response.rb +1 -1
  39. data/lib/fastpix_client/models/operations/create_a_playlist_response.rb +1 -1
  40. data/lib/fastpix_client/models/operations/create_media_playback_id_response.rb +1 -1
  41. data/lib/fastpix_client/models/operations/create_media_response.rb +1 -1
  42. data/lib/fastpix_client/models/operations/create_new_stream_response.rb +1 -1
  43. data/lib/fastpix_client/models/operations/create_playbackid_of_stream_response.rb +1 -1
  44. data/lib/fastpix_client/models/operations/create_signing_key_response.rb +1 -1
  45. data/lib/fastpix_client/models/operations/create_simulcast_of_stream_response.rb +1 -1
  46. data/lib/fastpix_client/models/operations/delete_a_playlist_response.rb +1 -1
  47. data/lib/fastpix_client/models/operations/delete_live_stream_response.rb +1 -1
  48. data/lib/fastpix_client/models/operations/delete_media_from_playlist_response.rb +1 -1
  49. data/lib/fastpix_client/models/operations/delete_media_playback_id_response.rb +1 -1
  50. data/lib/fastpix_client/models/operations/delete_media_response.rb +1 -1
  51. data/lib/fastpix_client/models/operations/delete_media_track_response.rb +1 -1
  52. data/lib/fastpix_client/models/operations/delete_playbackid_of_stream_response.rb +1 -1
  53. data/lib/fastpix_client/models/operations/delete_signing_key_response.rb +1 -1
  54. data/lib/fastpix_client/models/operations/delete_simulcast_of_stream_response.rb +1 -1
  55. data/lib/fastpix_client/models/operations/direct_upload_video_media_request.rb +1 -1
  56. data/lib/fastpix_client/models/operations/direct_upload_video_media_response.rb +1 -1
  57. data/lib/fastpix_client/models/operations/disable_live_stream_response.rb +1 -1
  58. data/lib/fastpix_client/models/operations/enable_live_stream_response.rb +1 -1
  59. data/lib/fastpix_client/models/operations/generate_subtitle_track_response.rb +1 -1
  60. data/lib/fastpix_client/models/operations/get_all_playlists_response.rb +1 -1
  61. data/lib/fastpix_client/models/operations/get_all_streams_response.rb +1 -1
  62. data/lib/fastpix_client/models/operations/get_live_stream_by_id_response.rb +1 -1
  63. data/lib/fastpix_client/models/operations/get_live_stream_playback_id_response.rb +1 -1
  64. data/lib/fastpix_client/models/operations/get_live_stream_viewer_count_by_id_response.rb +1 -1
  65. data/lib/fastpix_client/models/operations/get_media_clips_response.rb +1 -1
  66. data/lib/fastpix_client/models/operations/get_media_response.rb +1 -1
  67. data/lib/fastpix_client/models/operations/get_media_summary_response.rb +1 -1
  68. data/lib/fastpix_client/models/operations/get_playback_id_response.rb +1 -1
  69. data/lib/fastpix_client/models/operations/get_playlist_by_id_response.rb +1 -1
  70. data/lib/fastpix_client/models/operations/get_signing_key_by_id_response.rb +1 -1
  71. data/lib/fastpix_client/models/operations/get_specific_simulcast_of_stream_response.rb +1 -1
  72. data/lib/fastpix_client/models/operations/get_timeseries_data_response.rb +1 -1
  73. data/lib/fastpix_client/models/operations/get_video_view_details_response.rb +1 -1
  74. data/lib/fastpix_client/models/operations/getdrmconfiguration_response.rb +1 -1
  75. data/lib/fastpix_client/models/operations/getdrmconfigurationbyid_response.rb +1 -1
  76. data/lib/fastpix_client/models/operations/list_breakdown_values_response.rb +1 -1
  77. data/lib/fastpix_client/models/operations/list_by_top_content_response.rb +1 -1
  78. data/lib/fastpix_client/models/operations/list_comparison_values_response.rb +1 -1
  79. data/lib/fastpix_client/models/operations/list_dimensions_response.rb +1 -1
  80. data/lib/fastpix_client/models/operations/list_errors_response.rb +1 -1
  81. data/lib/fastpix_client/models/operations/list_filter_values_for_dimension_response.rb +1 -1
  82. data/lib/fastpix_client/models/operations/list_live_clips_response.rb +1 -1
  83. data/lib/fastpix_client/models/operations/list_media_response.rb +1 -1
  84. data/lib/fastpix_client/models/operations/list_overall_values_response.rb +1 -1
  85. data/lib/fastpix_client/models/operations/list_playback_ids_response.rb +1 -1
  86. data/lib/fastpix_client/models/operations/list_signing_keys_response.rb +1 -1
  87. data/lib/fastpix_client/models/operations/list_uploads_response.rb +1 -1
  88. data/lib/fastpix_client/models/operations/list_video_views_response.rb +1 -1
  89. data/lib/fastpix_client/models/operations/push_media_settings.rb +10 -21
  90. data/lib/fastpix_client/models/operations/retrievemediainputinfo_response.rb +1 -1
  91. data/lib/fastpix_client/models/operations/update_a_playlist_response.rb +1 -1
  92. data/lib/fastpix_client/models/operations/update_domain_restrictions_response.rb +1 -1
  93. data/lib/fastpix_client/models/operations/update_live_stream_response.rb +1 -1
  94. data/lib/fastpix_client/models/operations/update_media_chapters_response.rb +1 -1
  95. data/lib/fastpix_client/models/operations/update_media_moderation_response.rb +1 -1
  96. data/lib/fastpix_client/models/operations/update_media_named_entities_response.rb +1 -1
  97. data/lib/fastpix_client/models/operations/update_media_summary_response.rb +1 -1
  98. data/lib/fastpix_client/models/operations/update_media_track_response.rb +1 -1
  99. data/lib/fastpix_client/models/operations/update_specific_simulcast_of_stream_response.rb +1 -1
  100. data/lib/fastpix_client/models/operations/update_user_agent_restrictions_response.rb +1 -1
  101. data/lib/fastpix_client/models/operations/updated_media_response.rb +1 -1
  102. data/lib/fastpix_client/models/operations/updated_mp4support_response.rb +1 -1
  103. data/lib/fastpix_client/models/operations/updated_source_access_response.rb +1 -1
  104. data/lib/fastpix_client/playback.rb +123 -214
  105. data/lib/fastpix_client/playlist.rb +151 -297
  106. data/lib/fastpix_client/sdk_hooks/registration.rb +2 -2
  107. data/lib/fastpix_client/sdk_hooks/types.rb +4 -0
  108. data/lib/fastpix_client/sdkconfiguration.rb +4 -4
  109. data/lib/fastpix_client/signing_keys.rb +79 -123
  110. data/lib/fastpix_client/simulcast_stream.rb +101 -145
  111. data/lib/fastpix_client/start_live_stream.rb +54 -36
  112. data/lib/fastpix_client/utils/forms.rb +97 -101
  113. data/lib/fastpix_client/utils/headers.rb +44 -34
  114. data/lib/fastpix_client/utils/query_params.rb +39 -29
  115. data/lib/fastpix_client/utils/request_bodies.rb +4 -8
  116. data/lib/fastpix_client/utils/security.rb +30 -18
  117. data/lib/fastpix_client/utils/url.rb +83 -55
  118. data/lib/fastpix_client/utils/utils.rb +19 -37
  119. data/lib/fastpix_client/views.rb +71 -95
  120. data/lib/fastpixapi.rb +10 -10
  121. data/lib/openssl_patch.rb +24 -24
  122. metadata +20 -4
@@ -110,35 +110,19 @@ module FastpixClient
110
110
  sig { params(other: T.untyped).returns(T::Boolean) }
111
111
  def ==(other)
112
112
  return false unless other.is_a? self.class
113
- return false unless @id == other.id
114
- return false unless @source_media_id == other.source_media_id
115
- return false unless @workspace_id == other.workspace_id
116
- return false unless @stream_id == other.stream_id
117
- return false unless @media_quality == other.media_quality
118
- return false unless @creator_id == other.creator_id
119
- return false unless @status == other.status
120
- return false unless @mp4_support == other.mp4_support
121
- return false unless @playback_ids == other.playback_ids
122
- return false unless @tracks == other.tracks
123
- return false unless @summary == other.summary
124
- return false unless @chapters == other.chapters
125
- return false unless @named_entities == other.named_entities
126
- return false unless @moderation == other.moderation
127
- return false unless @duration == other.duration
128
- return false unless @frame_rate == other.frame_rate
129
- return false unless @created_at == other.created_at
130
- return false unless @updated_at == other.updated_at
131
- return false unless @thumbnail == other.thumbnail
132
- return false unless @metadata == other.metadata
133
- return false unless @title == other.title
134
- return false unless @max_resolution == other.max_resolution
135
- return false unless @source_resolution == other.source_resolution
136
- return false unless @source_access == other.source_access
137
- return false unless @generated_subtitles == other.generated_subtitles
138
- return false unless @is_audio_only == other.is_audio_only
139
- return false unless @subtitle_available == other.subtitle_available
140
- return false unless @aspect_ratio == other.aspect_ratio
141
- true
113
+
114
+ [@id, @source_media_id, @workspace_id, @stream_id, @media_quality,
115
+ @creator_id, @status, @mp4_support, @playback_ids, @tracks,
116
+ @summary, @chapters, @named_entities, @moderation, @duration,
117
+ @frame_rate, @created_at, @updated_at, @thumbnail, @metadata,
118
+ @title, @max_resolution, @source_resolution, @source_access, @generated_subtitles,
119
+ @is_audio_only, @subtitle_available, @aspect_ratio] ==
120
+ [other.id, other.source_media_id, other.workspace_id, other.stream_id, other.media_quality,
121
+ other.creator_id, other.status, other.mp4_support, other.playback_ids, other.tracks,
122
+ other.summary, other.chapters, other.named_entities, other.moderation, other.duration,
123
+ other.frame_rate, other.created_at, other.updated_at, other.thumbnail, other.metadata,
124
+ other.title, other.max_resolution, other.source_resolution, other.source_access, other.generated_subtitles,
125
+ other.is_audio_only, other.subtitle_available, other.aspect_ratio]
142
126
  end
143
127
  end
144
128
  end
@@ -85,27 +85,15 @@ module FastpixClient
85
85
  sig { params(other: T.untyped).returns(T::Boolean) }
86
86
  def ==(other)
87
87
  return false unless other.is_a? self.class
88
- return false unless @id == other.id
89
- return false unless @workspace_id == other.workspace_id
90
- return false unless @stream_id == other.stream_id
91
- return false unless @creator_id == other.creator_id
92
- return false unless @status == other.status
93
- return false unless @source_access == other.source_access
94
- return false unless @playback_ids == other.playback_ids
95
- return false unless @tracks == other.tracks
96
- return false unless @mp4_support == other.mp4_support
97
- return false unless @duration == other.duration
98
- return false unless @created_at == other.created_at
99
- return false unless @updated_at == other.updated_at
100
- return false unless @thumbnail == other.thumbnail
101
- return false unless @title == other.title
102
- return false unless @max_resolution == other.max_resolution
103
- return false unless @source_resolution == other.source_resolution
104
- return false unless @generated_subtitles == other.generated_subtitles
105
- return false unless @is_audio_only == other.is_audio_only
106
- return false unless @subtitle_available == other.subtitle_available
107
- return false unless @aspect_ratio == other.aspect_ratio
108
- true
88
+
89
+ [@id, @workspace_id, @stream_id, @creator_id, @status,
90
+ @source_access, @playback_ids, @tracks, @mp4_support, @duration,
91
+ @created_at, @updated_at, @thumbnail, @title, @max_resolution,
92
+ @source_resolution, @generated_subtitles, @is_audio_only, @subtitle_available, @aspect_ratio] ==
93
+ [other.id, other.workspace_id, other.stream_id, other.creator_id, other.status,
94
+ other.source_access, other.playback_ids, other.tracks, other.mp4_support, other.duration,
95
+ other.created_at, other.updated_at, other.thumbnail, other.title, other.max_resolution,
96
+ other.source_resolution, other.generated_subtitles, other.is_audio_only, other.subtitle_available, other.aspect_ratio]
109
97
  end
110
98
  end
111
99
  end
@@ -101,32 +101,17 @@ module FastpixClient
101
101
  sig { params(other: T.untyped).returns(T::Boolean) }
102
102
  def ==(other)
103
103
  return false unless other.is_a? self.class
104
- return false unless @id == other.id
105
- return false unless @workspace_id == other.workspace_id
106
- return false unless @media_quality == other.media_quality
107
- return false unless @creator_id == other.creator_id
108
- return false unless @status == other.status
109
- return false unless @mp4_support == other.mp4_support
110
- return false unless @playback_ids == other.playback_ids
111
- return false unless @tracks == other.tracks
112
- return false unless @summary == other.summary
113
- return false unless @chapters == other.chapters
114
- return false unless @named_entities == other.named_entities
115
- return false unless @moderation == other.moderation
116
- return false unless @duration == other.duration
117
- return false unless @created_at == other.created_at
118
- return false unless @updated_at == other.updated_at
119
- return false unless @thumbnail == other.thumbnail
120
- return false unless @metadata == other.metadata
121
- return false unless @title == other.title
122
- return false unless @max_resolution == other.max_resolution
123
- return false unless @source_resolution == other.source_resolution
124
- return false unless @source_access == other.source_access
125
- return false unless @generated_subtitles == other.generated_subtitles
126
- return false unless @is_audio_only == other.is_audio_only
127
- return false unless @subtitle_available == other.subtitle_available
128
- return false unless @aspect_ratio == other.aspect_ratio
129
- true
104
+
105
+ [@id, @workspace_id, @media_quality, @creator_id, @status,
106
+ @mp4_support, @playback_ids, @tracks, @summary, @chapters,
107
+ @named_entities, @moderation, @duration, @created_at, @updated_at,
108
+ @thumbnail, @metadata, @title, @max_resolution, @source_resolution,
109
+ @source_access, @generated_subtitles, @is_audio_only, @subtitle_available, @aspect_ratio] ==
110
+ [other.id, other.workspace_id, other.media_quality, other.creator_id, other.status,
111
+ other.mp4_support, other.playback_ids, other.tracks, other.summary, other.chapters,
112
+ other.named_entities, other.moderation, other.duration, other.created_at, other.updated_at,
113
+ other.thumbnail, other.metadata, other.title, other.max_resolution, other.source_resolution,
114
+ other.source_access, other.generated_subtitles, other.is_audio_only, other.subtitle_available, other.aspect_ratio]
130
115
  end
131
116
  end
132
117
  end
@@ -71,24 +71,15 @@ module FastpixClient
71
71
  sig { params(other: T.untyped).returns(T::Boolean) }
72
72
  def ==(other)
73
73
  return false unless other.is_a? self.class
74
- return false unless @stream_id == other.stream_id
75
- return false unless @stream_key == other.stream_key
76
- return false unless @srt_secret == other.srt_secret
77
- return false unless @trial == other.trial
78
- return false unless @status == other.status
79
- return false unless @max_resolution == other.max_resolution
80
- return false unless @max_duration == other.max_duration
81
- return false unless @created_at == other.created_at
82
- return false unless @reconnect_window == other.reconnect_window
83
- return false unless @enable_recording == other.enable_recording
84
- return false unless @enable_dvr_mode == other.enable_dvr_mode
85
- return false unless @media_policy == other.media_policy
86
- return false unless @metadata == other.metadata
87
- return false unless @low_latency == other.low_latency
88
- return false unless @closed_captions == other.closed_captions
89
- return false unless @playback_ids == other.playback_ids
90
- return false unless @srt_playback_response == other.srt_playback_response
91
- true
74
+
75
+ [@stream_id, @stream_key, @srt_secret, @trial, @status,
76
+ @max_resolution, @max_duration, @created_at, @reconnect_window, @enable_recording,
77
+ @enable_dvr_mode, @media_policy, @metadata, @low_latency, @closed_captions,
78
+ @playback_ids, @srt_playback_response] ==
79
+ [other.stream_id, other.stream_key, other.srt_secret, other.trial, other.status,
80
+ other.max_resolution, other.max_duration, other.created_at, other.reconnect_window, other.enable_recording,
81
+ other.enable_dvr_mode, other.media_policy, other.metadata, other.low_latency, other.closed_captions,
82
+ other.playback_ids, other.srt_playback_response]
92
83
  end
93
84
  end
94
85
  end
@@ -43,7 +43,7 @@ module FastpixClient
43
43
  field :url, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::FastpixClient::Utils.field_name('url') } }
44
44
 
45
45
  sig { params(start_time: T.nilable(::Integer), end_time: T.nilable(::Integer), intro_url: T.nilable(::String), outro_url: T.nilable(::String), expunge_segments: T.nilable(T::Array[::String]), segments: T.nilable(T::Array[T.any(Models::Components::PullVideoInputSegment1, Models::Components::PullVideoInputSegment2)]), type: T.nilable(::String), url: T.nilable(::String)).void }
46
- def initialize(start_time: nil, end_time: nil, intro_url: nil, outro_url: nil, expunge_segments: nil, segments: nil, type: 'video', url: 'https://static.fastpix.io/fp-sample-video.mp4')
46
+ def initialize(start_time: nil, end_time: nil, intro_url: nil, outro_url: nil, expunge_segments: nil, segments: nil, type: 'video', url: 'https://static.fastpix.com/fp-sample-video.mp4')
47
47
  @start_time = start_time
48
48
  @end_time = end_time
49
49
  @intro_url = intro_url
@@ -101,32 +101,17 @@ module FastpixClient
101
101
  sig { params(other: T.untyped).returns(T::Boolean) }
102
102
  def ==(other)
103
103
  return false unless other.is_a? self.class
104
- return false unless @id == other.id
105
- return false unless @workspace_id == other.workspace_id
106
- return false unless @media_quality == other.media_quality
107
- return false unless @creator_id == other.creator_id
108
- return false unless @status == other.status
109
- return false unless @mp4_support == other.mp4_support
110
- return false unless @playback_ids == other.playback_ids
111
- return false unless @tracks == other.tracks
112
- return false unless @summary == other.summary
113
- return false unless @chapters == other.chapters
114
- return false unless @named_entities == other.named_entities
115
- return false unless @moderation == other.moderation
116
- return false unless @duration == other.duration
117
- return false unless @created_at == other.created_at
118
- return false unless @updated_at == other.updated_at
119
- return false unless @thumbnail == other.thumbnail
120
- return false unless @metadata == other.metadata
121
- return false unless @title == other.title
122
- return false unless @max_resolution == other.max_resolution
123
- return false unless @source_resolution == other.source_resolution
124
- return false unless @source_access == other.source_access
125
- return false unless @generated_subtitles == other.generated_subtitles
126
- return false unless @is_audio_only == other.is_audio_only
127
- return false unless @subtitle_available == other.subtitle_available
128
- return false unless @aspect_ratio == other.aspect_ratio
129
- true
104
+
105
+ [@id, @workspace_id, @media_quality, @creator_id, @status,
106
+ @mp4_support, @playback_ids, @tracks, @summary, @chapters,
107
+ @named_entities, @moderation, @duration, @created_at, @updated_at,
108
+ @thumbnail, @metadata, @title, @max_resolution, @source_resolution,
109
+ @source_access, @generated_subtitles, @is_audio_only, @subtitle_available, @aspect_ratio] ==
110
+ [other.id, other.workspace_id, other.media_quality, other.creator_id, other.status,
111
+ other.mp4_support, other.playback_ids, other.tracks, other.summary, other.chapters,
112
+ other.named_entities, other.moderation, other.duration, other.created_at, other.updated_at,
113
+ other.thumbnail, other.metadata, other.title, other.max_resolution, other.source_resolution,
114
+ other.source_access, other.generated_subtitles, other.is_audio_only, other.subtitle_available, other.aspect_ratio]
130
115
  end
131
116
  end
132
117
  end
@@ -100,32 +100,17 @@ module FastpixClient
100
100
  sig { params(other: T.untyped).returns(T::Boolean) }
101
101
  def ==(other)
102
102
  return false unless other.is_a? self.class
103
- return false unless @thumbnail == other.thumbnail
104
- return false unless @id == other.id
105
- return false unless @workspace_id == other.workspace_id
106
- return false unless @media_quality == other.media_quality
107
- return false unless @status == other.status
108
- return false unless @mp4_support == other.mp4_support
109
- return false unless @source_access == other.source_access
110
- return false unless @playback_ids == other.playback_ids
111
- return false unless @tracks == other.tracks
112
- return false unless @summary == other.summary
113
- return false unless @chapters == other.chapters
114
- return false unless @named_entities == other.named_entities
115
- return false unless @moderation == other.moderation
116
- return false unless @subtitle_available == other.subtitle_available
117
- return false unless @duration == other.duration
118
- return false unless @aspect_ratio == other.aspect_ratio
119
- return false unless @created_at == other.created_at
120
- return false unless @updated_at == other.updated_at
121
- return false unless @metadata == other.metadata
122
- return false unless @creator_id == other.creator_id
123
- return false unless @title == other.title
124
- return false unless @max_resolution == other.max_resolution
125
- return false unless @source_resolution == other.source_resolution
126
- return false unless @generated_subtitles == other.generated_subtitles
127
- return false unless @is_audio_only == other.is_audio_only
128
- true
103
+
104
+ [@thumbnail, @id, @workspace_id, @media_quality, @status,
105
+ @mp4_support, @source_access, @playback_ids, @tracks, @summary,
106
+ @chapters, @named_entities, @moderation, @subtitle_available, @duration,
107
+ @aspect_ratio, @created_at, @updated_at, @metadata, @creator_id,
108
+ @title, @max_resolution, @source_resolution, @generated_subtitles, @is_audio_only] ==
109
+ [other.thumbnail, other.id, other.workspace_id, other.media_quality, other.status,
110
+ other.mp4_support, other.source_access, other.playback_ids, other.tracks, other.summary,
111
+ other.chapters, other.named_entities, other.moderation, other.subtitle_available, other.duration,
112
+ other.aspect_ratio, other.created_at, other.updated_at, other.metadata, other.creator_id,
113
+ other.title, other.max_resolution, other.source_resolution, other.generated_subtitles, other.is_audio_only]
129
114
  end
130
115
  end
131
116
  end
@@ -240,7 +240,7 @@ module FastpixClient
240
240
  # Player Software Version indicates the version number of the player software installed.
241
241
  #
242
242
  field :player_software_version, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::FastpixClient::Utils.field_name('playerSoftwareVersion') } }
243
- # Specifies the domain or source from which the player was loaded or embedded (for example, stream.fastpix.io or a customer’s custom domain). This helps identify the playback origin and differentiate between various deployment environments.
243
+ # Specifies the domain or source from which the player was loaded or embedded (for example, stream.fastpix.com or a customer’s custom domain). This helps identify the playback origin and differentiate between various deployment environments.
244
244
  #
245
245
  field :player_source_domain, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::FastpixClient::Utils.field_name('playerSourceDomain') } }
246
246
  # Player Source Height denotes the vertical dimension, measured in pixels, of the source video content being transmitted to the player.
@@ -512,130 +512,57 @@ module FastpixClient
512
512
  sig { params(other: T.untyped).returns(T::Boolean) }
513
513
  def ==(other)
514
514
  return false unless other.is_a? self.class
515
- return false unless @beacon_domain == other.beacon_domain
516
- return false unless @custom == other.custom
517
- return false unless @exit_before_video_start == other.exit_before_video_start
518
- return false unless @insert_timestamp == other.insert_timestamp
519
- return false unless @ip_address == other.ip_address
520
- return false unless @os_version == other.os_version
521
- return false unless @player_autoplay_on == other.player_autoplay_on
522
- return false unless @player_preload_on == other.player_preload_on
523
- return false unless @player_remote_played == other.player_remote_played
524
- return false unless @used_full_screen == other.used_full_screen
525
- return false unless @video_startup_failed == other.video_startup_failed
526
- return false unless @view_has_ad == other.view_has_ad
527
- return false unless @view_has_error == other.view_has_error
528
- return false unless @view_id == other.view_id
529
- return false unless @workspace_id == other.workspace_id
530
- return false unless @events == other.events
531
- return false unless @asn_id == other.asn_id
532
- return false unless @asn_name == other.asn_name
533
- return false unless @average_bitrate == other.average_bitrate
534
- return false unless @avg_downscaling == other.avg_downscaling
535
- return false unless @avg_request_latency == other.avg_request_latency
536
- return false unless @avg_request_throughput == other.avg_request_throughput
537
- return false unless @avg_upscaling == other.avg_upscaling
538
- return false unless @browser_engine == other.browser_engine
539
- return false unless @browser_name == other.browser_name
540
- return false unless @browser_version == other.browser_version
541
- return false unless @buffer_count == other.buffer_count
542
- return false unless @buffer_fill == other.buffer_fill
543
- return false unless @buffer_frequency == other.buffer_frequency
544
- return false unless @buffer_ratio == other.buffer_ratio
545
- return false unless @cdn == other.cdn
546
- return false unless @city == other.city
547
- return false unless @connection_type == other.connection_type
548
- return false unless @continent == other.continent
549
- return false unless @country == other.country
550
- return false unless @country_code == other.country_code
551
- return false unless @device_manufacturer == other.device_manufacturer
552
- return false unless @device_model == other.device_model
553
- return false unless @device_name == other.device_name
554
- return false unless @device_type == other.device_type
555
- return false unless @drm_type == other.drm_type
556
- return false unless @dropped_frame_count == other.dropped_frame_count
557
- return false unless @error_code == other.error_code
558
- return false unless @error_context == other.error_context
559
- return false unless @error_id == other.error_id
560
- return false unless @error_message == other.error_message
561
- return false unless @experiment_name == other.experiment_name
562
- return false unless @fp_api_version == other.fp_api_version
563
- return false unless @fp_embed == other.fp_embed
564
- return false unless @fp_embed_version == other.fp_embed_version
565
- return false unless @fp_live_stream_id == other.fp_live_stream_id
566
- return false unless @fp_playback_id == other.fp_playback_id
567
- return false unless @fp_sdk == other.fp_sdk
568
- return false unless @fp_sdk_version == other.fp_sdk_version
569
- return false unless @fp_viewer_id == other.fp_viewer_id
570
- return false unless @jump_latency == other.jump_latency
571
- return false unless @latitude == other.latitude
572
- return false unless @live_stream_latency == other.live_stream_latency
573
- return false unless @longitude == other.longitude
574
- return false unless @max_downscaling == other.max_downscaling
575
- return false unless @max_request_latency == other.max_request_latency
576
- return false unless @max_upscaling == other.max_upscaling
577
- return false unless @media_id == other.media_id
578
- return false unless @os_name == other.os_name
579
- return false unless @page_context == other.page_context
580
- return false unless @page_load_time == other.page_load_time
581
- return false unless @playback_score == other.playback_score
582
- return false unless @player_height == other.player_height
583
- return false unless @player_initialization_time == other.player_initialization_time
584
- return false unless @player_instance_id == other.player_instance_id
585
- return false unless @player_language == other.player_language
586
- return false unless @player_name == other.player_name
587
- return false unless @player_poster == other.player_poster
588
- return false unless @player_resolution == other.player_resolution
589
- return false unless @player_software_name == other.player_software_name
590
- return false unless @player_software_version == other.player_software_version
591
- return false unless @player_source_domain == other.player_source_domain
592
- return false unless @player_source_height == other.player_source_height
593
- return false unless @player_source_width == other.player_source_width
594
- return false unless @player_version == other.player_version
595
- return false unless @player_view_count == other.player_view_count
596
- return false unless @player_width == other.player_width
597
- return false unless @property_id == other.property_id
598
- return false unless @quality_of_experience_score == other.quality_of_experience_score
599
- return false unless @region == other.region
600
- return false unless @render_quality_score == other.render_quality_score
601
- return false unless @session_id == other.session_id
602
- return false unless @sign == other.sign
603
- return false unless @stability_score == other.stability_score
604
- return false unless @startup_score == other.startup_score
605
- return false unless @sub_property_id == other.sub_property_id
606
- return false unless @total_startup_time == other.total_startup_time
607
- return false unless @updated_timestamp == other.updated_timestamp
608
- return false unless @user_agent == other.user_agent
609
- return false unless @video_content_type == other.video_content_type
610
- return false unless @video_duration == other.video_duration
611
- return false unless @video_encoding_variant == other.video_encoding_variant
612
- return false unless @video_id == other.video_id
613
- return false unless @video_language == other.video_language
614
- return false unless @video_producer == other.video_producer
615
- return false unless @video_resolution == other.video_resolution
616
- return false unless @video_series == other.video_series
617
- return false unless @video_source_domain == other.video_source_domain
618
- return false unless @video_source_duration == other.video_source_duration
619
- return false unless @video_source_hostname == other.video_source_hostname
620
- return false unless @video_source_stream_type == other.video_source_stream_type
621
- return false unless @video_source_type == other.video_source_type
622
- return false unless @video_source_url == other.video_source_url
623
- return false unless @video_startup_time == other.video_startup_time
624
- return false unless @video_title == other.video_title
625
- return false unless @video_variant_id == other.video_variant_id
626
- return false unless @video_variant_name == other.video_variant_name
627
- return false unless @view_end == other.view_end
628
- return false unless @view_max_playhead_position == other.view_max_playhead_position
629
- return false unless @view_page_url == other.view_page_url
630
- return false unless @view_playing_time == other.view_playing_time
631
- return false unless @view_seeked_count == other.view_seeked_count
632
- return false unless @view_seeked_duration == other.view_seeked_duration
633
- return false unless @view_session_id == other.view_session_id
634
- return false unless @view_start == other.view_start
635
- return false unless @view_total_content_playback_time == other.view_total_content_playback_time
636
- return false unless @viewer_id == other.viewer_id
637
- return false unless @watch_time == other.watch_time
638
- true
515
+
516
+ [@beacon_domain, @custom, @exit_before_video_start, @insert_timestamp, @ip_address,
517
+ @os_version, @player_autoplay_on, @player_preload_on, @player_remote_played, @used_full_screen,
518
+ @video_startup_failed, @view_has_ad, @view_has_error, @view_id, @workspace_id,
519
+ @events, @asn_id, @asn_name, @average_bitrate, @avg_downscaling,
520
+ @avg_request_latency, @avg_request_throughput, @avg_upscaling, @browser_engine, @browser_name,
521
+ @browser_version, @buffer_count, @buffer_fill, @buffer_frequency, @buffer_ratio,
522
+ @cdn, @city, @connection_type, @continent, @country,
523
+ @country_code, @device_manufacturer, @device_model, @device_name, @device_type,
524
+ @drm_type, @dropped_frame_count, @error_code, @error_context, @error_id,
525
+ @error_message, @experiment_name, @fp_api_version, @fp_embed, @fp_embed_version,
526
+ @fp_live_stream_id, @fp_playback_id, @fp_sdk, @fp_sdk_version, @fp_viewer_id,
527
+ @jump_latency, @latitude, @live_stream_latency, @longitude, @max_downscaling,
528
+ @max_request_latency, @max_upscaling, @media_id, @os_name, @page_context,
529
+ @page_load_time, @playback_score, @player_height, @player_initialization_time, @player_instance_id,
530
+ @player_language, @player_name, @player_poster, @player_resolution, @player_software_name,
531
+ @player_software_version, @player_source_domain, @player_source_height, @player_source_width, @player_version,
532
+ @player_view_count, @player_width, @property_id, @quality_of_experience_score, @region,
533
+ @render_quality_score, @session_id, @sign, @stability_score, @startup_score,
534
+ @sub_property_id, @total_startup_time, @updated_timestamp, @user_agent, @video_content_type,
535
+ @video_duration, @video_encoding_variant, @video_id, @video_language, @video_producer,
536
+ @video_resolution, @video_series, @video_source_domain, @video_source_duration, @video_source_hostname,
537
+ @video_source_stream_type, @video_source_type, @video_source_url, @video_startup_time, @video_title,
538
+ @video_variant_id, @video_variant_name, @view_end, @view_max_playhead_position, @view_page_url,
539
+ @view_playing_time, @view_seeked_count, @view_seeked_duration, @view_session_id, @view_start,
540
+ @view_total_content_playback_time, @viewer_id, @watch_time] ==
541
+ [other.beacon_domain, other.custom, other.exit_before_video_start, other.insert_timestamp, other.ip_address,
542
+ other.os_version, other.player_autoplay_on, other.player_preload_on, other.player_remote_played, other.used_full_screen,
543
+ other.video_startup_failed, other.view_has_ad, other.view_has_error, other.view_id, other.workspace_id,
544
+ other.events, other.asn_id, other.asn_name, other.average_bitrate, other.avg_downscaling,
545
+ other.avg_request_latency, other.avg_request_throughput, other.avg_upscaling, other.browser_engine, other.browser_name,
546
+ other.browser_version, other.buffer_count, other.buffer_fill, other.buffer_frequency, other.buffer_ratio,
547
+ other.cdn, other.city, other.connection_type, other.continent, other.country,
548
+ other.country_code, other.device_manufacturer, other.device_model, other.device_name, other.device_type,
549
+ other.drm_type, other.dropped_frame_count, other.error_code, other.error_context, other.error_id,
550
+ other.error_message, other.experiment_name, other.fp_api_version, other.fp_embed, other.fp_embed_version,
551
+ other.fp_live_stream_id, other.fp_playback_id, other.fp_sdk, other.fp_sdk_version, other.fp_viewer_id,
552
+ other.jump_latency, other.latitude, other.live_stream_latency, other.longitude, other.max_downscaling,
553
+ other.max_request_latency, other.max_upscaling, other.media_id, other.os_name, other.page_context,
554
+ other.page_load_time, other.playback_score, other.player_height, other.player_initialization_time, other.player_instance_id,
555
+ other.player_language, other.player_name, other.player_poster, other.player_resolution, other.player_software_name,
556
+ other.player_software_version, other.player_source_domain, other.player_source_height, other.player_source_width, other.player_version,
557
+ other.player_view_count, other.player_width, other.property_id, other.quality_of_experience_score, other.region,
558
+ other.render_quality_score, other.session_id, other.sign, other.stability_score, other.startup_score,
559
+ other.sub_property_id, other.total_startup_time, other.updated_timestamp, other.user_agent, other.video_content_type,
560
+ other.video_duration, other.video_encoding_variant, other.video_id, other.video_language, other.video_producer,
561
+ other.video_resolution, other.video_series, other.video_source_domain, other.video_source_duration, other.video_source_hostname,
562
+ other.video_source_stream_type, other.video_source_type, other.video_source_url, other.video_startup_time, other.video_title,
563
+ other.video_variant_id, other.video_variant_name, other.view_end, other.view_max_playhead_position, other.view_page_url,
564
+ other.view_playing_time, other.view_seeked_count, other.view_seeked_duration, other.view_session_id, other.view_start,
565
+ other.view_total_content_playback_time, other.viewer_id, other.watch_time]
639
566
  end
640
567
 
641
568
  def to_dict
@@ -10,7 +10,7 @@ module FastpixClient
10
10
  # Contains configuration details for applying a watermark overlay to a video.
11
11
  # The watermark is placed over the media content during processing.
12
12
  # For detailed setup steps and customization options, refer to the
13
- # <a href="https://docs.fastpix.io/docs/watermark-your-videos" target="_blank">FastPix Watermark Guide</a>.
13
+ # <a href="https://fastpix.com/docs/edit-and-transform-videos/add-a-watermark-to-a-video" target="_blank">FastPix Watermark Guide</a>.
14
14
  #
15
15
  class WatermarkInput
16
16
  extend T::Sig
@@ -55,6 +55,7 @@ module FastpixClient
55
55
  autoload :DateRange, 'fastpix_client/models/components/daterange.rb'
56
56
  autoload :DefaultError, 'fastpix_client/models/components/default_error.rb'
57
57
  autoload :DeleteSigningKeyResponse, 'fastpix_client/models/components/deletesigningkeyresponse.rb'
58
+ autoload :DeleteSigningKeyResponseData, 'fastpix_client/models/components/deletesigningkeyresponsedata.rb'
58
59
  autoload :DirectUpload, 'fastpix_client/models/components/directupload.rb'
59
60
  autoload :DirectUploadResponse, 'fastpix_client/models/components/directuploadresponse.rb'
60
61
  autoload :DirectUploadResponseMediaQuality, 'fastpix_client/models/components/directuploadresponse_mediaquality.rb'
@@ -0,0 +1,15 @@
1
+ # Generated code for FastPix API SDK.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+ module FastpixClient
7
+ module Models
8
+ module Errors
9
+
10
+ # Raised when an HTTP call completes without returning a response object.
11
+ class EmptyResponseError < StandardError
12
+ end
13
+ end
14
+ end
15
+ end
@@ -7,6 +7,7 @@ module FastpixClient
7
7
  module Models
8
8
  module Errors
9
9
  autoload :APIError, 'fastpix_client/models/errors/apierror.rb'
10
+ autoload :EmptyResponseError, 'fastpix_client/models/errors/empty_response_error.rb'
10
11
  end
11
12
  end
12
13
  end
@@ -20,7 +20,7 @@ module FastpixClient
20
20
  field :raw_response, ::Faraday::Response
21
21
  # Added media to playlist successfully
22
22
  field :playlist_by_id_response, Crystalline::Nilable.new(Models::Components::PlaylistByIdResponse)
23
- # See the range of possible <a href="https://docs.fastpix.io/reference/error-codes">error</a> responses and their status codes.
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_by_id_response: T.nilable(Models::Components::PlaylistByIdResponse), 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::AddMediaTrackResponseBody)
23
- # See the range of possible <a href="https://docs.fastpix.io/reference/error-codes">error</a> responses and their status codes.
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::AddMediaTrackResponseBody), default_error: T.nilable(Models::Components::DefaultError)).void }
@@ -20,7 +20,7 @@ module FastpixClient
20
20
  field :raw_response, ::Faraday::Response
21
21
  # Upload cancelled successfully
22
22
  field :object, Crystalline::Nilable.new(Models::Operations::CancelUploadResponseBody)
23
- # See the range of possible <a href="https://docs.fastpix.io/reference/error-codes">error</a> responses and their status codes.
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::CancelUploadResponseBody), default_error: T.nilable(Models::Components::DefaultError)).void }
@@ -20,7 +20,7 @@ module FastpixClient
20
20
  field :raw_response, ::Faraday::Response
21
21
  # Added media to playlist successfully
22
22
  field :playlist_by_id_response, Crystalline::Nilable.new(Models::Components::PlaylistByIdResponse)
23
- # See the range of possible <a href="https://docs.fastpix.io/reference/error-codes">error</a> responses and their status codes.
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_by_id_response: T.nilable(Models::Components::PlaylistByIdResponse), 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 :live_stream_delete_response, Crystalline::Nilable.new(Models::Components::LiveStreamDeleteResponse)
23
- # See the range of possible <a href="https://docs.fastpix.io/reference/error-codes">error</a> responses and their status codes.
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, live_stream_delete_response: T.nilable(Models::Components::LiveStreamDeleteResponse), default_error: T.nilable(Models::Components::DefaultError)).void }
@@ -20,7 +20,7 @@ module FastpixClient
20
20
  field :raw_response, ::Faraday::Response
21
21
  # Playlist created successfully
22
22
  field :playlist_created_response, Crystalline::Nilable.new(Models::Components::PlaylistCreatedResponse)
23
- # See the range of possible <a href="https://docs.fastpix.io/reference/error-codes">error</a> responses and their status codes.
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
  # Playback ID for a media content.
22
22
  field :object, Crystalline::Nilable.new(Models::Operations::CreateMediaPlaybackIdResponseBody)
23
- # See the range of possible <a href="https://docs.fastpix.io/reference/error-codes">error</a> responses and their status codes.
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::CreateMediaPlaybackIdResponseBody), default_error: T.nilable(Models::Components::DefaultError)).void }