telestream_cloud 1.1.0 → 2.0.0.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.
Files changed (306) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -0
  3. data/README.md +16 -354
  4. data/flip/.gitignore +39 -0
  5. data/flip/.rspec +2 -0
  6. data/flip/.swagger-codegen-ignore +23 -0
  7. data/flip/.swagger-codegen/VERSION +1 -0
  8. data/flip/Gemfile +7 -0
  9. data/flip/README.md +130 -0
  10. data/flip/Rakefile +8 -0
  11. data/flip/docs/CanceledResponse.md +8 -0
  12. data/flip/docs/CloudNotificationSettings.md +11 -0
  13. data/flip/docs/CloudNotificationSettingsEvents.md +11 -0
  14. data/flip/docs/CopyProfileBody.md +9 -0
  15. data/flip/docs/CountResponse.md +8 -0
  16. data/flip/docs/CreateEncodingBody.md +10 -0
  17. data/flip/docs/CreateVideoBody.md +12 -0
  18. data/flip/docs/DeletedResponse.md +8 -0
  19. data/flip/docs/Encoding.md +38 -0
  20. data/flip/docs/EncodingSignedUrl.md +8 -0
  21. data/flip/docs/EncodingSignedUrls.md +8 -0
  22. data/flip/docs/Error.md +9 -0
  23. data/flip/docs/ExtraFile.md +10 -0
  24. data/flip/docs/Factory.md +25 -0
  25. data/flip/docs/FactoryBody.md +23 -0
  26. data/flip/docs/FactoryBodyStorageCredentialAttributes.md +11 -0
  27. data/flip/docs/FactorySync.md +8 -0
  28. data/flip/docs/FactorySyncBody.md +8 -0
  29. data/flip/docs/FlipApi.md +2179 -0
  30. data/flip/docs/PaginatedEncodingsCollection.md +11 -0
  31. data/flip/docs/PaginatedFactoryCollection.md +11 -0
  32. data/flip/docs/PaginatedProfilesCollection.md +11 -0
  33. data/flip/docs/PaginatedVideoCollection.md +11 -0
  34. data/flip/docs/PaginatedWorkflowsCollection.md +11 -0
  35. data/flip/docs/Profile.md +135 -0
  36. data/flip/docs/ProfileBody.md +137 -0
  37. data/flip/docs/ResubmitVideoBody.md +8 -0
  38. data/flip/docs/RetriedResponse.md +8 -0
  39. data/flip/docs/SignedVideoUrl.md +8 -0
  40. data/flip/docs/UpdateEncodingBody.md +9 -0
  41. data/flip/docs/UploadSession.md +13 -0
  42. data/flip/docs/Video.md +31 -0
  43. data/flip/docs/VideoMetadata.md +7 -0
  44. data/flip/docs/VideoUploadBody.md +24 -0
  45. data/flip/git_push.sh +55 -0
  46. data/flip/lib/telestream_cloud_flip.rb +79 -0
  47. data/flip/lib/telestream_cloud_flip/api/flip_api.rb +2385 -0
  48. data/flip/lib/telestream_cloud_flip/api_client.rb +389 -0
  49. data/flip/lib/telestream_cloud_flip/api_error.rb +38 -0
  50. data/flip/lib/telestream_cloud_flip/configuration.rb +209 -0
  51. data/flip/lib/telestream_cloud_flip/models/canceled_response.rb +189 -0
  52. data/flip/lib/telestream_cloud_flip/models/cloud_notification_settings.rb +237 -0
  53. data/flip/lib/telestream_cloud_flip/models/cloud_notification_settings_events.rb +239 -0
  54. data/flip/lib/telestream_cloud_flip/models/copy_profile_body.rb +209 -0
  55. data/flip/lib/telestream_cloud_flip/models/count_response.rb +189 -0
  56. data/flip/lib/telestream_cloud_flip/models/create_encoding_body.rb +214 -0
  57. data/flip/lib/telestream_cloud_flip/models/create_video_body.rb +231 -0
  58. data/flip/lib/telestream_cloud_flip/models/deleted_response.rb +189 -0
  59. data/flip/lib/telestream_cloud_flip/models/encoding.rb +486 -0
  60. data/flip/lib/telestream_cloud_flip/models/encoding_signed_url.rb +189 -0
  61. data/flip/lib/telestream_cloud_flip/models/encoding_signed_urls.rb +191 -0
  62. data/flip/lib/telestream_cloud_flip/models/error.rb +199 -0
  63. data/flip/lib/telestream_cloud_flip/models/extra_file.rb +221 -0
  64. data/flip/lib/telestream_cloud_flip/models/factory.rb +388 -0
  65. data/flip/lib/telestream_cloud_flip/models/factory_body.rb +374 -0
  66. data/flip/lib/telestream_cloud_flip/models/factory_body_storage_credential_attributes.rb +215 -0
  67. data/flip/lib/telestream_cloud_flip/models/factory_sync.rb +222 -0
  68. data/flip/lib/telestream_cloud_flip/models/factory_sync_body.rb +227 -0
  69. data/flip/lib/telestream_cloud_flip/models/paginated_encodings_collection.rb +240 -0
  70. data/flip/lib/telestream_cloud_flip/models/paginated_factory_collection.rb +220 -0
  71. data/flip/lib/telestream_cloud_flip/models/paginated_profiles_collection.rb +220 -0
  72. data/flip/lib/telestream_cloud_flip/models/paginated_video_collection.rb +220 -0
  73. data/flip/lib/telestream_cloud_flip/models/paginated_workflows_collection.rb +220 -0
  74. data/flip/lib/telestream_cloud_flip/models/profile.rb +1777 -0
  75. data/flip/lib/telestream_cloud_flip/models/profile_body.rb +1762 -0
  76. data/flip/lib/telestream_cloud_flip/models/resubmit_video_body.rb +189 -0
  77. data/flip/lib/telestream_cloud_flip/models/retried_response.rb +189 -0
  78. data/flip/lib/telestream_cloud_flip/models/signed_video_url.rb +189 -0
  79. data/flip/lib/telestream_cloud_flip/models/update_encoding_body.rb +199 -0
  80. data/flip/lib/telestream_cloud_flip/models/upload_session.rb +249 -0
  81. data/flip/lib/telestream_cloud_flip/models/video.rb +418 -0
  82. data/flip/lib/telestream_cloud_flip/models/video_metadata.rb +179 -0
  83. data/flip/lib/telestream_cloud_flip/models/video_upload_body.rb +362 -0
  84. data/flip/lib/telestream_cloud_flip/uploader.rb +244 -0
  85. data/flip/lib/telestream_cloud_flip/version.rb +18 -0
  86. data/flip/spec/api/flip_api_spec.rb +550 -0
  87. data/flip/spec/api_client_spec.rb +226 -0
  88. data/flip/spec/configuration_spec.rb +42 -0
  89. data/flip/spec/models/canceled_response_spec.rb +42 -0
  90. data/flip/spec/models/cloud_notification_settings_events_spec.rb +60 -0
  91. data/flip/spec/models/cloud_notification_settings_spec.rb +60 -0
  92. data/flip/spec/models/copy_profile_body_spec.rb +48 -0
  93. data/flip/spec/models/count_response_spec.rb +42 -0
  94. data/flip/spec/models/create_encoding_body_spec.rb +54 -0
  95. data/flip/spec/models/create_video_body_spec.rb +66 -0
  96. data/flip/spec/models/deleted_response_spec.rb +42 -0
  97. data/flip/spec/models/encoding_signed_url_spec.rb +42 -0
  98. data/flip/spec/models/encoding_signed_urls_spec.rb +42 -0
  99. data/flip/spec/models/encoding_spec.rb +222 -0
  100. data/flip/spec/models/error_spec.rb +48 -0
  101. data/flip/spec/models/extra_file_spec.rb +54 -0
  102. data/flip/spec/models/factory_body_spec.rb +136 -0
  103. data/flip/spec/models/factory_body_storage_credential_attributes_spec.rb +60 -0
  104. data/flip/spec/models/factory_spec.rb +148 -0
  105. data/flip/spec/models/factory_sync_body_spec.rb +46 -0
  106. data/flip/spec/models/factory_sync_spec.rb +46 -0
  107. data/flip/spec/models/paginated_encodings_collection_spec.rb +60 -0
  108. data/flip/spec/models/paginated_factory_collection_spec.rb +60 -0
  109. data/flip/spec/models/paginated_profiles_collection_spec.rb +60 -0
  110. data/flip/spec/models/paginated_video_collection_spec.rb +60 -0
  111. data/flip/spec/models/paginated_workflows_collection_spec.rb +60 -0
  112. data/flip/spec/models/profile_body_spec.rb +916 -0
  113. data/flip/spec/models/profile_spec.rb +916 -0
  114. data/flip/spec/models/resubmit_video_body_spec.rb +42 -0
  115. data/flip/spec/models/retried_response_spec.rb +42 -0
  116. data/flip/spec/models/signed_video_url_spec.rb +42 -0
  117. data/flip/spec/models/update_encoding_body_spec.rb +48 -0
  118. data/flip/spec/models/upload_session_spec.rb +72 -0
  119. data/flip/spec/models/video_metadata_spec.rb +36 -0
  120. data/flip/spec/models/video_spec.rb +180 -0
  121. data/flip/spec/models/video_upload_body_spec.rb +138 -0
  122. data/flip/spec/spec_helper.rb +111 -0
  123. data/flip/telestream_cloud_flip.gemspec +47 -0
  124. data/lib/telestream_cloud.rb +0 -31
  125. data/lib/telestream_cloud/flip.rb +1 -9
  126. data/lib/telestream_cloud/qc.rb +1 -0
  127. data/lib/telestream_cloud/tts.rb +1 -0
  128. data/lib/telestream_cloud/version.rb +1 -1
  129. data/qc/.gitignore +39 -0
  130. data/qc/.rspec +2 -0
  131. data/qc/.swagger-codegen-ignore +23 -0
  132. data/qc/.swagger-codegen/VERSION +1 -0
  133. data/qc/Gemfile +7 -0
  134. data/qc/README.md +58 -0
  135. data/qc/Rakefile +8 -0
  136. data/qc/docs/Alert.md +13 -0
  137. data/qc/docs/AudioStream.md +13 -0
  138. data/qc/docs/Container.md +9 -0
  139. data/qc/docs/Data.md +10 -0
  140. data/qc/docs/Data1.md +9 -0
  141. data/qc/docs/ExtraFile.md +10 -0
  142. data/qc/docs/Job.md +12 -0
  143. data/qc/docs/JobData.md +9 -0
  144. data/qc/docs/JobDetails.md +9 -0
  145. data/qc/docs/JobDetailsResult.md +8 -0
  146. data/qc/docs/JobsCollection.md +12 -0
  147. data/qc/docs/Media.md +10 -0
  148. data/qc/docs/Options.md +7 -0
  149. data/qc/docs/Project.md +12 -0
  150. data/qc/docs/Proxy.md +12 -0
  151. data/qc/docs/QcApi.md +719 -0
  152. data/qc/docs/UploadSession.md +13 -0
  153. data/qc/docs/VideoStream.md +13 -0
  154. data/qc/docs/VideoUploadBody.md +12 -0
  155. data/qc/git_push.sh +55 -0
  156. data/qc/lib/telestream_cloud_qc.rb +64 -0
  157. data/qc/lib/telestream_cloud_qc/api/qc_api.rb +781 -0
  158. data/qc/lib/telestream_cloud_qc/api_client.rb +389 -0
  159. data/qc/lib/telestream_cloud_qc/api_error.rb +38 -0
  160. data/qc/lib/telestream_cloud_qc/configuration.rb +209 -0
  161. data/qc/lib/telestream_cloud_qc/models/alert.rb +236 -0
  162. data/qc/lib/telestream_cloud_qc/models/audio_stream.rb +238 -0
  163. data/qc/lib/telestream_cloud_qc/models/container.rb +198 -0
  164. data/qc/lib/telestream_cloud_qc/models/data.rb +208 -0
  165. data/qc/lib/telestream_cloud_qc/models/data_1.rb +197 -0
  166. data/qc/lib/telestream_cloud_qc/models/extra_file.rb +221 -0
  167. data/qc/lib/telestream_cloud_qc/models/job.rb +269 -0
  168. data/qc/lib/telestream_cloud_qc/models/job_data.rb +197 -0
  169. data/qc/lib/telestream_cloud_qc/models/job_details.rb +199 -0
  170. data/qc/lib/telestream_cloud_qc/models/job_details_result.rb +190 -0
  171. data/qc/lib/telestream_cloud_qc/models/jobs_collection.rb +230 -0
  172. data/qc/lib/telestream_cloud_qc/models/media.rb +210 -0
  173. data/qc/lib/telestream_cloud_qc/models/options.rb +179 -0
  174. data/qc/lib/telestream_cloud_qc/models/project.rb +262 -0
  175. data/qc/lib/telestream_cloud_qc/models/proxy.rb +224 -0
  176. data/qc/lib/telestream_cloud_qc/models/upload_session.rb +249 -0
  177. data/qc/lib/telestream_cloud_qc/models/video_stream.rb +235 -0
  178. data/qc/lib/telestream_cloud_qc/models/video_upload_body.rb +242 -0
  179. data/qc/lib/telestream_cloud_qc/uploader.rb +244 -0
  180. data/qc/lib/telestream_cloud_qc/version.rb +18 -0
  181. data/qc/spec/api/qc_api_spec.rb +202 -0
  182. data/qc/spec/api_client_spec.rb +226 -0
  183. data/qc/spec/configuration_spec.rb +42 -0
  184. data/qc/spec/models/alert_spec.rb +72 -0
  185. data/qc/spec/models/audio_stream_spec.rb +72 -0
  186. data/qc/spec/models/container_spec.rb +48 -0
  187. data/qc/spec/models/data_1_spec.rb +48 -0
  188. data/qc/spec/models/data_spec.rb +54 -0
  189. data/qc/spec/models/extra_file_spec.rb +54 -0
  190. data/qc/spec/models/job_data_spec.rb +48 -0
  191. data/qc/spec/models/job_details_result_spec.rb +42 -0
  192. data/qc/spec/models/job_details_spec.rb +48 -0
  193. data/qc/spec/models/job_spec.rb +74 -0
  194. data/qc/spec/models/jobs_collection_spec.rb +66 -0
  195. data/qc/spec/models/media_spec.rb +54 -0
  196. data/qc/spec/models/options_spec.rb +36 -0
  197. data/qc/spec/models/project_spec.rb +70 -0
  198. data/qc/spec/models/proxy_spec.rb +66 -0
  199. data/qc/spec/models/upload_session_spec.rb +72 -0
  200. data/qc/spec/models/video_stream_spec.rb +72 -0
  201. data/qc/spec/models/video_upload_body_spec.rb +66 -0
  202. data/qc/spec/spec_helper.rb +111 -0
  203. data/qc/telestream_cloud_qc.gemspec +47 -0
  204. data/telestream_cloud.gemspec +7 -12
  205. data/tts/.gitignore +39 -0
  206. data/tts/.rspec +2 -0
  207. data/tts/.swagger-codegen-ignore +23 -0
  208. data/tts/.swagger-codegen/VERSION +1 -0
  209. data/tts/Gemfile +7 -0
  210. data/tts/README.md +92 -0
  211. data/tts/Rakefile +8 -0
  212. data/tts/docs/CorporaCollection.md +8 -0
  213. data/tts/docs/Corpus.md +9 -0
  214. data/tts/docs/ErrorResponse.md +7 -0
  215. data/tts/docs/ExtraFile.md +10 -0
  216. data/tts/docs/Fragment.md +10 -0
  217. data/tts/docs/FragmentVariant.md +9 -0
  218. data/tts/docs/Job.md +23 -0
  219. data/tts/docs/JobResult.md +8 -0
  220. data/tts/docs/JobsCollection.md +12 -0
  221. data/tts/docs/Project.md +18 -0
  222. data/tts/docs/ProjectsCollection.md +12 -0
  223. data/tts/docs/Result.md +12 -0
  224. data/tts/docs/TtsApi.md +902 -0
  225. data/tts/docs/UploadSession.md +13 -0
  226. data/tts/docs/VideoUploadBody.md +12 -0
  227. data/tts/git_push.sh +55 -0
  228. data/tts/lib/telestream_cloud_tts.rb +60 -0
  229. data/tts/lib/telestream_cloud_tts/api/tts_api.rb +946 -0
  230. data/tts/lib/telestream_cloud_tts/api_client.rb +389 -0
  231. data/tts/lib/telestream_cloud_tts/api_error.rb +38 -0
  232. data/tts/lib/telestream_cloud_tts/configuration.rb +209 -0
  233. data/tts/lib/telestream_cloud_tts/models/corpora_collection.rb +191 -0
  234. data/tts/lib/telestream_cloud_tts/models/corpus.rb +199 -0
  235. data/tts/lib/telestream_cloud_tts/models/error_response.rb +179 -0
  236. data/tts/lib/telestream_cloud_tts/models/extra_file.rb +221 -0
  237. data/tts/lib/telestream_cloud_tts/models/fragment.rb +211 -0
  238. data/tts/lib/telestream_cloud_tts/models/fragment_variant.rb +199 -0
  239. data/tts/lib/telestream_cloud_tts/models/job.rb +372 -0
  240. data/tts/lib/telestream_cloud_tts/models/job_result.rb +191 -0
  241. data/tts/lib/telestream_cloud_tts/models/jobs_collection.rb +230 -0
  242. data/tts/lib/telestream_cloud_tts/models/project.rb +322 -0
  243. data/tts/lib/telestream_cloud_tts/models/projects_collection.rb +230 -0
  244. data/tts/lib/telestream_cloud_tts/models/result.rb +230 -0
  245. data/tts/lib/telestream_cloud_tts/models/upload_session.rb +249 -0
  246. data/tts/lib/telestream_cloud_tts/models/video_upload_body.rb +241 -0
  247. data/tts/lib/telestream_cloud_tts/uploader.rb +244 -0
  248. data/tts/lib/telestream_cloud_tts/version.rb +18 -0
  249. data/tts/spec/api/tts_api_spec.rb +236 -0
  250. data/tts/spec/api_client_spec.rb +226 -0
  251. data/tts/spec/configuration_spec.rb +42 -0
  252. data/tts/spec/models/corpora_collection_spec.rb +42 -0
  253. data/tts/spec/models/corpus_spec.rb +48 -0
  254. data/tts/spec/models/error_response_spec.rb +36 -0
  255. data/tts/spec/models/extra_file_spec.rb +54 -0
  256. data/tts/spec/models/fragment_spec.rb +54 -0
  257. data/tts/spec/models/fragment_variant_spec.rb +48 -0
  258. data/tts/spec/models/job_result_spec.rb +42 -0
  259. data/tts/spec/models/job_spec.rb +136 -0
  260. data/tts/spec/models/jobs_collection_spec.rb +66 -0
  261. data/tts/spec/models/project_spec.rb +106 -0
  262. data/tts/spec/models/projects_collection_spec.rb +66 -0
  263. data/tts/spec/models/result_spec.rb +66 -0
  264. data/tts/spec/models/upload_session_spec.rb +72 -0
  265. data/tts/spec/models/video_upload_body_spec.rb +66 -0
  266. data/tts/spec/spec_helper.rb +111 -0
  267. data/tts/telestream_cloud_tts.gemspec +47 -0
  268. metadata +281 -123
  269. data/Gemfile +0 -2
  270. data/lib/telestream_cloud/api_authentication.rb +0 -66
  271. data/lib/telestream_cloud/base.rb +0 -111
  272. data/lib/telestream_cloud/config.rb +0 -87
  273. data/lib/telestream_cloud/connection.rb +0 -101
  274. data/lib/telestream_cloud/errors.rb +0 -17
  275. data/lib/telestream_cloud/faraday.rb +0 -84
  276. data/lib/telestream_cloud/modules/associations.rb +0 -55
  277. data/lib/telestream_cloud/modules/builders.rb +0 -45
  278. data/lib/telestream_cloud/modules/destroyers.rb +0 -25
  279. data/lib/telestream_cloud/modules/factory_connection.rb +0 -7
  280. data/lib/telestream_cloud/modules/finders.rb +0 -68
  281. data/lib/telestream_cloud/modules/router.rb +0 -62
  282. data/lib/telestream_cloud/modules/updatable.rb +0 -31
  283. data/lib/telestream_cloud/modules/video_state.rb +0 -16
  284. data/lib/telestream_cloud/parallel_uploader.rb +0 -52
  285. data/lib/telestream_cloud/proxies/encoding_scope.rb +0 -56
  286. data/lib/telestream_cloud/proxies/profile_scope.rb +0 -7
  287. data/lib/telestream_cloud/proxies/proxy.rb +0 -27
  288. data/lib/telestream_cloud/proxies/scope.rb +0 -94
  289. data/lib/telestream_cloud/proxies/video_scope.rb +0 -28
  290. data/lib/telestream_cloud/resources/encoding.rb +0 -47
  291. data/lib/telestream_cloud/resources/factory.rb +0 -72
  292. data/lib/telestream_cloud/resources/profile.rb +0 -22
  293. data/lib/telestream_cloud/resources/resource.rb +0 -48
  294. data/lib/telestream_cloud/resources/video.rb +0 -39
  295. data/lib/telestream_cloud/telestream_cloud.rb +0 -69
  296. data/lib/telestream_cloud/upload_session.rb +0 -40
  297. data/lib/telestream_cloud/uploader.rb +0 -123
  298. data/lib/telestream_cloud/uploader/file_reader.rb +0 -27
  299. data/spec/cloud_spec.rb +0 -132
  300. data/spec/encoding_spec.rb +0 -260
  301. data/spec/heroku_spec.rb +0 -32
  302. data/spec/panda_spec.rb +0 -206
  303. data/spec/profile_spec.rb +0 -117
  304. data/spec/spec_helper.rb +0 -18
  305. data/spec/uploader_spec.rb +0 -143
  306. data/spec/video_spec.rb +0 -399
@@ -0,0 +1,8 @@
1
+ begin
2
+ require 'rspec/core/rake_task'
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+ task default: :spec
6
+ rescue LoadError
7
+ # no rspec available
8
+ end
@@ -0,0 +1,8 @@
1
+ # TelestreamCloud::Tts::CorporaCollection
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **corpora** | [**Array<Corpus>**](Corpus.md) | An array of Corpus files | [optional]
7
+
8
+
@@ -0,0 +1,9 @@
1
+ # TelestreamCloud::Tts::Corpus
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **name** | **String** | The name of the Corpus. | [optional]
7
+ **status** | **String** | Determines the status of the Corpus. | [optional]
8
+
9
+
@@ -0,0 +1,7 @@
1
+ # TelestreamCloud::Tts::ErrorResponse
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+
7
+
@@ -0,0 +1,10 @@
1
+ # TelestreamCloud::Tts::ExtraFile
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **tag** | **String** | |
7
+ **file_size** | **Integer** | |
8
+ **file_name** | **String** | |
9
+
10
+
@@ -0,0 +1,10 @@
1
+ # TelestreamCloud::Tts::Fragment
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **start_time** | **Float** | The start time in seconds of the fragment from the input audio | [optional]
7
+ **variants** | [**Array<FragmentVariant>**](FragmentVariant.md) | An array of FragmentVariants | [optional]
8
+ **end_time** | **Float** | The end time in seconds of the fragment from the input audio | [optional]
9
+
10
+
@@ -0,0 +1,9 @@
1
+ # TelestreamCloud::Tts::FragmentVariant
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **fragment** | **String** | An alternative hypothesis for a fragment from the input audio. | [optional]
7
+ **confidence** | **Float** | The confidence score of the fragment variant hypothesis in the range of 0 to 1. | [optional]
8
+
9
+
@@ -0,0 +1,23 @@
1
+ # TelestreamCloud::Tts::Job
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **String** | The ID of the job. | [optional]
7
+ **name** | **String** | The name of the job. | [optional]
8
+ **original_filename** | **String** | The name of the input file | [optional]
9
+ **project_id** | **String** | The ID of the project. | [optional]
10
+ **source_url** | **String** | The URL of source file. | [optional]
11
+ **status** | **String** | Determines the state of transcription job. | [optional]
12
+ **error** | **String** | If the status of the job is 'error', returns the state of job. | [optional]
13
+ **progress** | **Integer** | A percentage that indicates the progress of the job. | [optional]
14
+ **confidence** | **Integer** | The confidence score of the job in the range of 0 to 100. | [optional]
15
+ **duration** | **Integer** | The duration of the input audio in milliseconds. | [optional]
16
+ **bitrate** | **Integer** | The bitrate of the input audio. | [optional]
17
+ **sample_rate** | **Integer** | The sample rate of the input audio. | [optional]
18
+ **format** | **String** | The format of the input audio. | [optional]
19
+ **file_size** | **String** | The file size of the input file. | [optional]
20
+ **created_at** | **String** | A date and time when the job was created | [optional]
21
+ **updated_at** | **String** | A date and time when the job was updated | [optional]
22
+
23
+
@@ -0,0 +1,8 @@
1
+ # TelestreamCloud::Tts::JobResult
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **results** | [**Array<Result>**](Result.md) | An array of Results | [optional]
7
+
8
+
@@ -0,0 +1,12 @@
1
+ # TelestreamCloud::Tts::JobsCollection
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **jobs** | [**Array<Job>**](Job.md) | | [optional]
7
+ **page** | **Integer** | A number of the fetched page. | [optional]
8
+ **per_page** | **Integer** | A number of jobs per page. | [optional]
9
+ **page_count** | **Integer** | A number of pages. | [optional]
10
+ **total_count** | **Integer** | A number of all jobs. | [optional]
11
+
12
+
@@ -0,0 +1,18 @@
1
+ # TelestreamCloud::Tts::Project
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **String** | The ID of the Project. | [optional]
7
+ **name** | **String** | The name of the Project. | [optional]
8
+ **description** | **String** | The description of the Project. | [optional]
9
+ **status** | **String** | Determines a stage of training. | [optional]
10
+ **language** | **String** | The language code of model. | [optional]
11
+ **sample_rate** | **Integer** | The sample rate of model. | [optional]
12
+ **profanity_filter** | **BOOLEAN** | If true, the service replaces profanity from output with asterisks. | [optional]
13
+ **generate_proxy** | **BOOLEAN** | Indicates whether video preview should be generated. | [optional]
14
+ **custom_words** | **String** | Words used for model training, separated by space. | [optional]
15
+ **created_at** | **String** | A date and time when the project was created | [optional]
16
+ **updated_at** | **String** | A date and time when the project was updated | [optional]
17
+
18
+
@@ -0,0 +1,12 @@
1
+ # TelestreamCloud::Tts::ProjectsCollection
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **projects** | [**Array<Project>**](Project.md) | | [optional]
7
+ **page** | **Integer** | A number of the fetched page. | [optional]
8
+ **per_page** | **Integer** | A number of projects per page. | [optional]
9
+ **page_count** | **Integer** | A number of pages. | [optional]
10
+ **total_count** | **Integer** | A number of all projects. | [optional]
11
+
12
+
@@ -0,0 +1,12 @@
1
+ # TelestreamCloud::Tts::Result
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **transcript** | **String** | | [optional]
7
+ **start_time** | **Float** | The start time in seconds of the transcript from the input audio | [optional]
8
+ **fragments** | [**Array<Fragment>**](Fragment.md) | An array of Fragments | [optional]
9
+ **end_time** | **Float** | The end time time in seconds of the transcript from the input audio | [optional]
10
+ **confidence** | **Float** | The confidence score of the result in the range of 0 to 1 | [optional]
11
+
12
+
@@ -0,0 +1,902 @@
1
+ # TelestreamCloud::Tts::TtsApi
2
+
3
+ All URIs are relative to *https://api.cloud.telestream.net/tts/v1.0*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**corpora**](TtsApi.md#corpora) | **GET** /projects/{projectID}/corpora | Returns a collection of Corpora
8
+ [**corpus**](TtsApi.md#corpus) | **GET** /projects/{projectID}/corpora/{name} | Returns the Corpus
9
+ [**create_corpus**](TtsApi.md#create_corpus) | **POST** /projects/{projectID}/corpora/{name} | Creates a new Corpus
10
+ [**create_job**](TtsApi.md#create_job) | **POST** /projects/{projectID}/jobs | Creates a new Job
11
+ [**create_project**](TtsApi.md#create_project) | **POST** /projects | Creates a new Project
12
+ [**delete_corpus**](TtsApi.md#delete_corpus) | **DELETE** /projects/{projectID}/corpora/{name} | Creates a new Corpus
13
+ [**delete_job**](TtsApi.md#delete_job) | **DELETE** /projects/{projectID}/jobs/{id} | Deletes the Job
14
+ [**delete_project**](TtsApi.md#delete_project) | **DELETE** /projects/{projectID} | Deletes the Project
15
+ [**job**](TtsApi.md#job) | **GET** /projects/{projectID}/jobs/{id} | Returns the Job
16
+ [**job_result**](TtsApi.md#job_result) | **GET** /projects/{projectID}/jobs/{id}/result | Returns the Job Result
17
+ [**jobs**](TtsApi.md#jobs) | **GET** /projects/{projectID}/jobs | Returns a collection of Jobs
18
+ [**project**](TtsApi.md#project) | **GET** /projects/{projectID} | Returns the Project
19
+ [**projects**](TtsApi.md#projects) | **GET** /projects | Returns a collection of Projects
20
+ [**train_project**](TtsApi.md#train_project) | **POST** /projects/{projectID}/train | Queues training
21
+ [**update_project**](TtsApi.md#update_project) | **PUT** /projects/{projectID} | Updates an existing Project
22
+ [**upload_video**](TtsApi.md#upload_video) | **POST** /projects/{projectID}/jobs/upload | Creates an upload session
23
+
24
+
25
+ # **corpora**
26
+ > CorporaCollection corpora(project_id)
27
+
28
+ Returns a collection of Corpora
29
+
30
+ Returns a collection of Corpora
31
+
32
+ ### Example
33
+ ```ruby
34
+ # load the gem
35
+ require 'telestream_cloud_tts'
36
+ # setup authorization
37
+ TelestreamCloud::Tts.configure do |config|
38
+ # Configure API key authorization: apiKey
39
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
40
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
41
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
42
+ end
43
+
44
+ api_instance = TelestreamCloud::Tts::TtsApi.new
45
+
46
+ project_id = "project_id_example" # String | ID of the Project
47
+
48
+
49
+ begin
50
+ #Returns a collection of Corpora
51
+ result = api_instance.corpora(project_id)
52
+ p result
53
+ rescue TelestreamCloud::Tts::ApiError => e
54
+ puts "Exception when calling TtsApi->corpora: #{e}"
55
+ end
56
+ ```
57
+
58
+ ### Parameters
59
+
60
+ Name | Type | Description | Notes
61
+ ------------- | ------------- | ------------- | -------------
62
+ **project_id** | **String**| ID of the Project |
63
+
64
+ ### Return type
65
+
66
+ [**CorporaCollection**](CorporaCollection.md)
67
+
68
+ ### Authorization
69
+
70
+ [apiKey](../README.md#apiKey)
71
+
72
+ ### HTTP request headers
73
+
74
+ - **Content-Type**: application/json
75
+ - **Accept**: application/json
76
+
77
+
78
+
79
+ # **corpus**
80
+ > Corpus corpus(project_id, name)
81
+
82
+ Returns the Corpus
83
+
84
+ Returns the Corpus
85
+
86
+ ### Example
87
+ ```ruby
88
+ # load the gem
89
+ require 'telestream_cloud_tts'
90
+ # setup authorization
91
+ TelestreamCloud::Tts.configure do |config|
92
+ # Configure API key authorization: apiKey
93
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
94
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
95
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
96
+ end
97
+
98
+ api_instance = TelestreamCloud::Tts::TtsApi.new
99
+
100
+ project_id = "project_id_example" # String | ID of the Project
101
+
102
+ name = "name_example" # String | Corpus name
103
+
104
+
105
+ begin
106
+ #Returns the Corpus
107
+ result = api_instance.corpus(project_id, name)
108
+ p result
109
+ rescue TelestreamCloud::Tts::ApiError => e
110
+ puts "Exception when calling TtsApi->corpus: #{e}"
111
+ end
112
+ ```
113
+
114
+ ### Parameters
115
+
116
+ Name | Type | Description | Notes
117
+ ------------- | ------------- | ------------- | -------------
118
+ **project_id** | **String**| ID of the Project |
119
+ **name** | **String**| Corpus name |
120
+
121
+ ### Return type
122
+
123
+ [**Corpus**](Corpus.md)
124
+
125
+ ### Authorization
126
+
127
+ [apiKey](../README.md#apiKey)
128
+
129
+ ### HTTP request headers
130
+
131
+ - **Content-Type**: application/json
132
+ - **Accept**: application/json
133
+
134
+
135
+
136
+ # **create_corpus**
137
+ > create_corpus(project_id, name, body)
138
+
139
+ Creates a new Corpus
140
+
141
+ Creates a new Corpus
142
+
143
+ ### Example
144
+ ```ruby
145
+ # load the gem
146
+ require 'telestream_cloud_tts'
147
+ # setup authorization
148
+ TelestreamCloud::Tts.configure do |config|
149
+ # Configure API key authorization: apiKey
150
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
151
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
152
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
153
+ end
154
+
155
+ api_instance = TelestreamCloud::Tts::TtsApi.new
156
+
157
+ project_id = "project_id_example" # String | ID of the Project
158
+
159
+ name = "name_example" # String | Corpus name
160
+
161
+ body = "body_example" # String |
162
+
163
+
164
+ begin
165
+ #Creates a new Corpus
166
+ api_instance.create_corpus(project_id, name, body)
167
+ rescue TelestreamCloud::Tts::ApiError => e
168
+ puts "Exception when calling TtsApi->create_corpus: #{e}"
169
+ end
170
+ ```
171
+
172
+ ### Parameters
173
+
174
+ Name | Type | Description | Notes
175
+ ------------- | ------------- | ------------- | -------------
176
+ **project_id** | **String**| ID of the Project |
177
+ **name** | **String**| Corpus name |
178
+ **body** | **String**| |
179
+
180
+ ### Return type
181
+
182
+ nil (empty response body)
183
+
184
+ ### Authorization
185
+
186
+ [apiKey](../README.md#apiKey)
187
+
188
+ ### HTTP request headers
189
+
190
+ - **Content-Type**: text/plain
191
+ - **Accept**: application/json
192
+
193
+
194
+
195
+ # **create_job**
196
+ > Job create_job(project_id, job)
197
+
198
+ Creates a new Job
199
+
200
+ Creates a new Job
201
+
202
+ ### Example
203
+ ```ruby
204
+ # load the gem
205
+ require 'telestream_cloud_tts'
206
+ # setup authorization
207
+ TelestreamCloud::Tts.configure do |config|
208
+ # Configure API key authorization: apiKey
209
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
210
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
211
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
212
+ end
213
+
214
+ api_instance = TelestreamCloud::Tts::TtsApi.new
215
+
216
+ project_id = "project_id_example" # String | ID of the Project
217
+
218
+ job = TelestreamCloud::Tts::Job.new # Job |
219
+
220
+
221
+ begin
222
+ #Creates a new Job
223
+ result = api_instance.create_job(project_id, job)
224
+ p result
225
+ rescue TelestreamCloud::Tts::ApiError => e
226
+ puts "Exception when calling TtsApi->create_job: #{e}"
227
+ end
228
+ ```
229
+
230
+ ### Parameters
231
+
232
+ Name | Type | Description | Notes
233
+ ------------- | ------------- | ------------- | -------------
234
+ **project_id** | **String**| ID of the Project |
235
+ **job** | [**Job**](Job.md)| |
236
+
237
+ ### Return type
238
+
239
+ [**Job**](Job.md)
240
+
241
+ ### Authorization
242
+
243
+ [apiKey](../README.md#apiKey)
244
+
245
+ ### HTTP request headers
246
+
247
+ - **Content-Type**: application/json
248
+ - **Accept**: application/json
249
+
250
+
251
+
252
+ # **create_project**
253
+ > Project create_project(project)
254
+
255
+ Creates a new Project
256
+
257
+ Creates a new Project
258
+
259
+ ### Example
260
+ ```ruby
261
+ # load the gem
262
+ require 'telestream_cloud_tts'
263
+ # setup authorization
264
+ TelestreamCloud::Tts.configure do |config|
265
+ # Configure API key authorization: apiKey
266
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
267
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
268
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
269
+ end
270
+
271
+ api_instance = TelestreamCloud::Tts::TtsApi.new
272
+
273
+ project = TelestreamCloud::Tts::Project.new # Project |
274
+
275
+
276
+ begin
277
+ #Creates a new Project
278
+ result = api_instance.create_project(project)
279
+ p result
280
+ rescue TelestreamCloud::Tts::ApiError => e
281
+ puts "Exception when calling TtsApi->create_project: #{e}"
282
+ end
283
+ ```
284
+
285
+ ### Parameters
286
+
287
+ Name | Type | Description | Notes
288
+ ------------- | ------------- | ------------- | -------------
289
+ **project** | [**Project**](Project.md)| |
290
+
291
+ ### Return type
292
+
293
+ [**Project**](Project.md)
294
+
295
+ ### Authorization
296
+
297
+ [apiKey](../README.md#apiKey)
298
+
299
+ ### HTTP request headers
300
+
301
+ - **Content-Type**: application/json
302
+ - **Accept**: application/json
303
+
304
+
305
+
306
+ # **delete_corpus**
307
+ > delete_corpus(project_id, name)
308
+
309
+ Creates a new Corpus
310
+
311
+ Creates a new Corpus
312
+
313
+ ### Example
314
+ ```ruby
315
+ # load the gem
316
+ require 'telestream_cloud_tts'
317
+ # setup authorization
318
+ TelestreamCloud::Tts.configure do |config|
319
+ # Configure API key authorization: apiKey
320
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
321
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
322
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
323
+ end
324
+
325
+ api_instance = TelestreamCloud::Tts::TtsApi.new
326
+
327
+ project_id = "project_id_example" # String | ID of the Project
328
+
329
+ name = "name_example" # String | Corpus name
330
+
331
+
332
+ begin
333
+ #Creates a new Corpus
334
+ api_instance.delete_corpus(project_id, name)
335
+ rescue TelestreamCloud::Tts::ApiError => e
336
+ puts "Exception when calling TtsApi->delete_corpus: #{e}"
337
+ end
338
+ ```
339
+
340
+ ### Parameters
341
+
342
+ Name | Type | Description | Notes
343
+ ------------- | ------------- | ------------- | -------------
344
+ **project_id** | **String**| ID of the Project |
345
+ **name** | **String**| Corpus name |
346
+
347
+ ### Return type
348
+
349
+ nil (empty response body)
350
+
351
+ ### Authorization
352
+
353
+ [apiKey](../README.md#apiKey)
354
+
355
+ ### HTTP request headers
356
+
357
+ - **Content-Type**: application/json
358
+ - **Accept**: application/json
359
+
360
+
361
+
362
+ # **delete_job**
363
+ > delete_job(project_id, job_id)
364
+
365
+ Deletes the Job
366
+
367
+ Deletes the Job
368
+
369
+ ### Example
370
+ ```ruby
371
+ # load the gem
372
+ require 'telestream_cloud_tts'
373
+ # setup authorization
374
+ TelestreamCloud::Tts.configure do |config|
375
+ # Configure API key authorization: apiKey
376
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
377
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
378
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
379
+ end
380
+
381
+ api_instance = TelestreamCloud::Tts::TtsApi.new
382
+
383
+ project_id = "project_id_example" # String | ID of the Project
384
+
385
+ job_id = "job_id_example" # String |
386
+
387
+
388
+ begin
389
+ #Deletes the Job
390
+ api_instance.delete_job(project_id, job_id)
391
+ rescue TelestreamCloud::Tts::ApiError => e
392
+ puts "Exception when calling TtsApi->delete_job: #{e}"
393
+ end
394
+ ```
395
+
396
+ ### Parameters
397
+
398
+ Name | Type | Description | Notes
399
+ ------------- | ------------- | ------------- | -------------
400
+ **project_id** | **String**| ID of the Project |
401
+ **job_id** | **String**| |
402
+
403
+ ### Return type
404
+
405
+ nil (empty response body)
406
+
407
+ ### Authorization
408
+
409
+ [apiKey](../README.md#apiKey)
410
+
411
+ ### HTTP request headers
412
+
413
+ - **Content-Type**: application/json
414
+ - **Accept**: application/json
415
+
416
+
417
+
418
+ # **delete_project**
419
+ > delete_project
420
+
421
+ Deletes the Project
422
+
423
+ Deletes the Project
424
+
425
+ ### Example
426
+ ```ruby
427
+ # load the gem
428
+ require 'telestream_cloud_tts'
429
+ # setup authorization
430
+ TelestreamCloud::Tts.configure do |config|
431
+ # Configure API key authorization: apiKey
432
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
433
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
434
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
435
+ end
436
+
437
+ api_instance = TelestreamCloud::Tts::TtsApi.new
438
+
439
+ begin
440
+ #Deletes the Project
441
+ api_instance.delete_project
442
+ rescue TelestreamCloud::Tts::ApiError => e
443
+ puts "Exception when calling TtsApi->delete_project: #{e}"
444
+ end
445
+ ```
446
+
447
+ ### Parameters
448
+ This endpoint does not need any parameter.
449
+
450
+ ### Return type
451
+
452
+ nil (empty response body)
453
+
454
+ ### Authorization
455
+
456
+ [apiKey](../README.md#apiKey)
457
+
458
+ ### HTTP request headers
459
+
460
+ - **Content-Type**: application/json
461
+ - **Accept**: application/json
462
+
463
+
464
+
465
+ # **job**
466
+ > Job job(project_id, job_id)
467
+
468
+ Returns the Job
469
+
470
+ Returns the Job
471
+
472
+ ### Example
473
+ ```ruby
474
+ # load the gem
475
+ require 'telestream_cloud_tts'
476
+ # setup authorization
477
+ TelestreamCloud::Tts.configure do |config|
478
+ # Configure API key authorization: apiKey
479
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
480
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
481
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
482
+ end
483
+
484
+ api_instance = TelestreamCloud::Tts::TtsApi.new
485
+
486
+ project_id = "project_id_example" # String | ID of the Project
487
+
488
+ job_id = "job_id_example" # String |
489
+
490
+
491
+ begin
492
+ #Returns the Job
493
+ result = api_instance.job(project_id, job_id)
494
+ p result
495
+ rescue TelestreamCloud::Tts::ApiError => e
496
+ puts "Exception when calling TtsApi->job: #{e}"
497
+ end
498
+ ```
499
+
500
+ ### Parameters
501
+
502
+ Name | Type | Description | Notes
503
+ ------------- | ------------- | ------------- | -------------
504
+ **project_id** | **String**| ID of the Project |
505
+ **job_id** | **String**| |
506
+
507
+ ### Return type
508
+
509
+ [**Job**](Job.md)
510
+
511
+ ### Authorization
512
+
513
+ [apiKey](../README.md#apiKey)
514
+
515
+ ### HTTP request headers
516
+
517
+ - **Content-Type**: application/json
518
+ - **Accept**: application/json
519
+
520
+
521
+
522
+ # **job_result**
523
+ > JobResult job_result(project_id, job_id)
524
+
525
+ Returns the Job Result
526
+
527
+ Returns the Job Result
528
+
529
+ ### Example
530
+ ```ruby
531
+ # load the gem
532
+ require 'telestream_cloud_tts'
533
+ # setup authorization
534
+ TelestreamCloud::Tts.configure do |config|
535
+ # Configure API key authorization: apiKey
536
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
537
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
538
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
539
+ end
540
+
541
+ api_instance = TelestreamCloud::Tts::TtsApi.new
542
+
543
+ project_id = "project_id_example" # String | ID of the Project
544
+
545
+ job_id = "job_id_example" # String |
546
+
547
+
548
+ begin
549
+ #Returns the Job Result
550
+ result = api_instance.job_result(project_id, job_id)
551
+ p result
552
+ rescue TelestreamCloud::Tts::ApiError => e
553
+ puts "Exception when calling TtsApi->job_result: #{e}"
554
+ end
555
+ ```
556
+
557
+ ### Parameters
558
+
559
+ Name | Type | Description | Notes
560
+ ------------- | ------------- | ------------- | -------------
561
+ **project_id** | **String**| ID of the Project |
562
+ **job_id** | **String**| |
563
+
564
+ ### Return type
565
+
566
+ [**JobResult**](JobResult.md)
567
+
568
+ ### Authorization
569
+
570
+ [apiKey](../README.md#apiKey)
571
+
572
+ ### HTTP request headers
573
+
574
+ - **Content-Type**: application/json
575
+ - **Accept**: application/json
576
+
577
+
578
+
579
+ # **jobs**
580
+ > JobsCollection jobs(project_id, opts)
581
+
582
+ Returns a collection of Jobs
583
+
584
+ Returns a collection of Jobs
585
+
586
+ ### Example
587
+ ```ruby
588
+ # load the gem
589
+ require 'telestream_cloud_tts'
590
+ # setup authorization
591
+ TelestreamCloud::Tts.configure do |config|
592
+ # Configure API key authorization: apiKey
593
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
594
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
595
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
596
+ end
597
+
598
+ api_instance = TelestreamCloud::Tts::TtsApi.new
599
+
600
+ project_id = "project_id_example" # String | ID of the Project
601
+
602
+ opts = {
603
+ page: 56, # Integer | page number
604
+ per_page: 56 # Integer | number of records per page
605
+ }
606
+
607
+ begin
608
+ #Returns a collection of Jobs
609
+ result = api_instance.jobs(project_id, opts)
610
+ p result
611
+ rescue TelestreamCloud::Tts::ApiError => e
612
+ puts "Exception when calling TtsApi->jobs: #{e}"
613
+ end
614
+ ```
615
+
616
+ ### Parameters
617
+
618
+ Name | Type | Description | Notes
619
+ ------------- | ------------- | ------------- | -------------
620
+ **project_id** | **String**| ID of the Project |
621
+ **page** | **Integer**| page number | [optional]
622
+ **per_page** | **Integer**| number of records per page | [optional]
623
+
624
+ ### Return type
625
+
626
+ [**JobsCollection**](JobsCollection.md)
627
+
628
+ ### Authorization
629
+
630
+ [apiKey](../README.md#apiKey)
631
+
632
+ ### HTTP request headers
633
+
634
+ - **Content-Type**: application/json
635
+ - **Accept**: application/json
636
+
637
+
638
+
639
+ # **project**
640
+ > Project project(project_id)
641
+
642
+ Returns the Project
643
+
644
+ Returns the Project
645
+
646
+ ### Example
647
+ ```ruby
648
+ # load the gem
649
+ require 'telestream_cloud_tts'
650
+ # setup authorization
651
+ TelestreamCloud::Tts.configure do |config|
652
+ # Configure API key authorization: apiKey
653
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
654
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
655
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
656
+ end
657
+
658
+ api_instance = TelestreamCloud::Tts::TtsApi.new
659
+
660
+ project_id = "project_id_example" # String | ID of the Project
661
+
662
+
663
+ begin
664
+ #Returns the Project
665
+ result = api_instance.project(project_id)
666
+ p result
667
+ rescue TelestreamCloud::Tts::ApiError => e
668
+ puts "Exception when calling TtsApi->project: #{e}"
669
+ end
670
+ ```
671
+
672
+ ### Parameters
673
+
674
+ Name | Type | Description | Notes
675
+ ------------- | ------------- | ------------- | -------------
676
+ **project_id** | **String**| ID of the Project |
677
+
678
+ ### Return type
679
+
680
+ [**Project**](Project.md)
681
+
682
+ ### Authorization
683
+
684
+ [apiKey](../README.md#apiKey)
685
+
686
+ ### HTTP request headers
687
+
688
+ - **Content-Type**: application/json
689
+ - **Accept**: application/json
690
+
691
+
692
+
693
+ # **projects**
694
+ > ProjectsCollection projects
695
+
696
+ Returns a collection of Projects
697
+
698
+ Returns a collection of Projects
699
+
700
+ ### Example
701
+ ```ruby
702
+ # load the gem
703
+ require 'telestream_cloud_tts'
704
+ # setup authorization
705
+ TelestreamCloud::Tts.configure do |config|
706
+ # Configure API key authorization: apiKey
707
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
708
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
709
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
710
+ end
711
+
712
+ api_instance = TelestreamCloud::Tts::TtsApi.new
713
+
714
+ begin
715
+ #Returns a collection of Projects
716
+ result = api_instance.projects
717
+ p result
718
+ rescue TelestreamCloud::Tts::ApiError => e
719
+ puts "Exception when calling TtsApi->projects: #{e}"
720
+ end
721
+ ```
722
+
723
+ ### Parameters
724
+ This endpoint does not need any parameter.
725
+
726
+ ### Return type
727
+
728
+ [**ProjectsCollection**](ProjectsCollection.md)
729
+
730
+ ### Authorization
731
+
732
+ [apiKey](../README.md#apiKey)
733
+
734
+ ### HTTP request headers
735
+
736
+ - **Content-Type**: application/json
737
+ - **Accept**: application/json
738
+
739
+
740
+
741
+ # **train_project**
742
+ > train_project(project_id)
743
+
744
+ Queues training
745
+
746
+ Queues training
747
+
748
+ ### Example
749
+ ```ruby
750
+ # load the gem
751
+ require 'telestream_cloud_tts'
752
+ # setup authorization
753
+ TelestreamCloud::Tts.configure do |config|
754
+ # Configure API key authorization: apiKey
755
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
756
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
757
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
758
+ end
759
+
760
+ api_instance = TelestreamCloud::Tts::TtsApi.new
761
+
762
+ project_id = "project_id_example" # String | ID of the Project
763
+
764
+
765
+ begin
766
+ #Queues training
767
+ api_instance.train_project(project_id)
768
+ rescue TelestreamCloud::Tts::ApiError => e
769
+ puts "Exception when calling TtsApi->train_project: #{e}"
770
+ end
771
+ ```
772
+
773
+ ### Parameters
774
+
775
+ Name | Type | Description | Notes
776
+ ------------- | ------------- | ------------- | -------------
777
+ **project_id** | **String**| ID of the Project |
778
+
779
+ ### Return type
780
+
781
+ nil (empty response body)
782
+
783
+ ### Authorization
784
+
785
+ [apiKey](../README.md#apiKey)
786
+
787
+ ### HTTP request headers
788
+
789
+ - **Content-Type**: application/json
790
+ - **Accept**: application/json
791
+
792
+
793
+
794
+ # **update_project**
795
+ > Project update_project(project)
796
+
797
+ Updates an existing Project
798
+
799
+ Updates an existing Project
800
+
801
+ ### Example
802
+ ```ruby
803
+ # load the gem
804
+ require 'telestream_cloud_tts'
805
+ # setup authorization
806
+ TelestreamCloud::Tts.configure do |config|
807
+ # Configure API key authorization: apiKey
808
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
809
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
810
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
811
+ end
812
+
813
+ api_instance = TelestreamCloud::Tts::TtsApi.new
814
+
815
+ project = TelestreamCloud::Tts::Project.new # Project |
816
+
817
+
818
+ begin
819
+ #Updates an existing Project
820
+ result = api_instance.update_project(project)
821
+ p result
822
+ rescue TelestreamCloud::Tts::ApiError => e
823
+ puts "Exception when calling TtsApi->update_project: #{e}"
824
+ end
825
+ ```
826
+
827
+ ### Parameters
828
+
829
+ Name | Type | Description | Notes
830
+ ------------- | ------------- | ------------- | -------------
831
+ **project** | [**Project**](Project.md)| |
832
+
833
+ ### Return type
834
+
835
+ [**Project**](Project.md)
836
+
837
+ ### Authorization
838
+
839
+ [apiKey](../README.md#apiKey)
840
+
841
+ ### HTTP request headers
842
+
843
+ - **Content-Type**: application/json
844
+ - **Accept**: application/json
845
+
846
+
847
+
848
+ # **upload_video**
849
+ > UploadSession upload_video(project_id, video_upload_body)
850
+
851
+ Creates an upload session
852
+
853
+ ### Example
854
+ ```ruby
855
+ # load the gem
856
+ require 'telestream_cloud_tts'
857
+ # setup authorization
858
+ TelestreamCloud::Tts.configure do |config|
859
+ # Configure API key authorization: apiKey
860
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
861
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
862
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
863
+ end
864
+
865
+ api_instance = TelestreamCloud::Tts::TtsApi.new
866
+
867
+ project_id = "project_id_example" # String | ID of the Project
868
+
869
+ video_upload_body = TelestreamCloud::Tts::VideoUploadBody.new # VideoUploadBody |
870
+
871
+
872
+ begin
873
+ #Creates an upload session
874
+ result = api_instance.upload_video(project_id, video_upload_body)
875
+ p result
876
+ rescue TelestreamCloud::Tts::ApiError => e
877
+ puts "Exception when calling TtsApi->upload_video: #{e}"
878
+ end
879
+ ```
880
+
881
+ ### Parameters
882
+
883
+ Name | Type | Description | Notes
884
+ ------------- | ------------- | ------------- | -------------
885
+ **project_id** | **String**| ID of the Project |
886
+ **video_upload_body** | [**VideoUploadBody**](VideoUploadBody.md)| |
887
+
888
+ ### Return type
889
+
890
+ [**UploadSession**](UploadSession.md)
891
+
892
+ ### Authorization
893
+
894
+ [apiKey](../README.md#apiKey)
895
+
896
+ ### HTTP request headers
897
+
898
+ - **Content-Type**: application/json
899
+ - **Accept**: application/json
900
+
901
+
902
+