kaltura-client 16.2.0 → 16.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README +1 -1
- data/lib/kaltura_client.rb +14 -2
- data/lib/kaltura_enums.rb +2 -0
- data/lib/kaltura_plugins/kaltura_cross_kaltura_distribution_client_plugin.rb +5 -0
- data/lib/kaltura_plugins/kaltura_file_sync_client_plugin.rb +4 -0
- data/lib/kaltura_plugins/kaltura_reach_client_plugin.rb +42 -24
- data/lib/kaltura_types.rb +23 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b3ecc027bf2ab1e47a369193f1321d9f91b2de970a6811daf06c01618ec14ffb
|
4
|
+
data.tar.gz: 0e993fdde1919f5b4417ac1a1c68baa08a5e4fa68987a6589fea4fc1221dc879
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 604a4034540c8ff6fdda591e91ee2e19fac493943f88c0b98a471b08ad0230f35a25eddb79f4aa49053f8d81976fb9cac7d60e7d523342cc0bdb711140885ec5
|
7
|
+
data.tar.gz: e327c9811b6251ae97e9a76cf20ae12b5e1350b3a2dc9c2ffa887f5e6a5157e3435e6c5f9604f84e6724a8a066612a1876cfcd114af4dcdf589c19f51876260b
|
data/README
CHANGED
data/lib/kaltura_client.rb
CHANGED
@@ -5765,6 +5765,18 @@ module Kaltura
|
|
5765
5765
|
end
|
5766
5766
|
return client.do_queue()
|
5767
5767
|
end
|
5768
|
+
|
5769
|
+
# Validate hash key
|
5770
|
+
# @return [KalturaAuthentication]
|
5771
|
+
def validate_hash_key(hash_key)
|
5772
|
+
kparams = {}
|
5773
|
+
client.add_param(kparams, 'hashKey', hash_key)
|
5774
|
+
client.queue_service_action_call('user', 'validateHashKey', 'KalturaAuthentication', kparams)
|
5775
|
+
if (client.is_multirequest)
|
5776
|
+
return nil
|
5777
|
+
end
|
5778
|
+
return client.do_queue()
|
5779
|
+
end
|
5768
5780
|
end
|
5769
5781
|
|
5770
5782
|
# widget service for full widget management
|
@@ -6281,8 +6293,8 @@ module Kaltura
|
|
6281
6293
|
|
6282
6294
|
def initialize(client)
|
6283
6295
|
super(client)
|
6284
|
-
self.client_tag = 'ruby:20-
|
6285
|
-
self.api_version = '16.
|
6296
|
+
self.client_tag = 'ruby:20-06-15'
|
6297
|
+
self.api_version = '16.4.0'
|
6286
6298
|
end
|
6287
6299
|
|
6288
6300
|
def client_tag=(value)
|
data/lib/kaltura_enums.rb
CHANGED
@@ -58,6 +58,8 @@ module Kaltura
|
|
58
58
|
attr_accessor :distributed_metadata
|
59
59
|
# Key-value array where the keys are IDs of distributed caption assets in the source account and the values are the matching IDs in the target account
|
60
60
|
attr_accessor :distributed_caption_assets
|
61
|
+
# Key-value array where the keys are IDs of distributed fileassets in the source account and the values are the matching IDs in the target account
|
62
|
+
attr_accessor :distributed_file_assets
|
61
63
|
# Key-value array where the keys are IDs of distributed caption assets in the source account and the values are the matching IDs in the target account
|
62
64
|
attr_accessor :distributed_attachment_assets
|
63
65
|
# Key-value array where the keys are IDs of distributed cue points in the source account and the values are the matching IDs in the target account
|
@@ -82,6 +84,9 @@ module Kaltura
|
|
82
84
|
if xml_element.elements['distributedCaptionAssets'] != nil
|
83
85
|
self.distributed_caption_assets = xml_element.elements['distributedCaptionAssets'].text
|
84
86
|
end
|
87
|
+
if xml_element.elements['distributedFileAssets'] != nil
|
88
|
+
self.distributed_file_assets = xml_element.elements['distributedFileAssets'].text
|
89
|
+
end
|
85
90
|
if xml_element.elements['distributedAttachmentAssets'] != nil
|
86
91
|
self.distributed_attachment_assets = xml_element.elements['distributedAttachmentAssets'].text
|
87
92
|
end
|
@@ -86,6 +86,7 @@ module Kaltura
|
|
86
86
|
attr_accessor :original_id
|
87
87
|
attr_accessor :src_path
|
88
88
|
attr_accessor :src_enc_key
|
89
|
+
attr_accessor :storage_class
|
89
90
|
|
90
91
|
def id=(val)
|
91
92
|
@id = val.to_i
|
@@ -222,6 +223,9 @@ module Kaltura
|
|
222
223
|
if xml_element.elements['srcEncKey'] != nil
|
223
224
|
self.src_enc_key = xml_element.elements['srcEncKey'].text
|
224
225
|
end
|
226
|
+
if xml_element.elements['storageClass'] != nil
|
227
|
+
self.storage_class = xml_element.elements['storageClass'].text
|
228
|
+
end
|
225
229
|
end
|
226
230
|
|
227
231
|
end
|
@@ -717,30 +717,6 @@ module Kaltura
|
|
717
717
|
|
718
718
|
end
|
719
719
|
|
720
|
-
class KalturaAlignmentVendorTaskData < KalturaVendorTaskData
|
721
|
-
# The id of the text transcript object the vendor should use while runing the alignment task
|
722
|
-
attr_accessor :text_transcript_asset_id
|
723
|
-
# Optional - The id of the json transcript object the vendor should update once alignment task processing is done
|
724
|
-
attr_accessor :json_transcript_asset_id
|
725
|
-
# Optional - The id of the caption asset object the vendor should update once alignment task processing is done
|
726
|
-
attr_accessor :caption_asset_id
|
727
|
-
|
728
|
-
|
729
|
-
def from_xml(xml_element)
|
730
|
-
super
|
731
|
-
if xml_element.elements['textTranscriptAssetId'] != nil
|
732
|
-
self.text_transcript_asset_id = xml_element.elements['textTranscriptAssetId'].text
|
733
|
-
end
|
734
|
-
if xml_element.elements['jsonTranscriptAssetId'] != nil
|
735
|
-
self.json_transcript_asset_id = xml_element.elements['jsonTranscriptAssetId'].text
|
736
|
-
end
|
737
|
-
if xml_element.elements['captionAssetId'] != nil
|
738
|
-
self.caption_asset_id = xml_element.elements['captionAssetId'].text
|
739
|
-
end
|
740
|
-
end
|
741
|
-
|
742
|
-
end
|
743
|
-
|
744
720
|
class KalturaCatalogItemAdvancedFilter < KalturaSearchItem
|
745
721
|
attr_accessor :service_type_equal
|
746
722
|
attr_accessor :service_type_in
|
@@ -1019,6 +995,39 @@ module Kaltura
|
|
1019
995
|
|
1020
996
|
end
|
1021
997
|
|
998
|
+
class KalturaVendorTaskDataCaptionAsset < KalturaVendorTaskData
|
999
|
+
# Optional - The id of the caption asset object
|
1000
|
+
attr_accessor :caption_asset_id
|
1001
|
+
|
1002
|
+
|
1003
|
+
def from_xml(xml_element)
|
1004
|
+
super
|
1005
|
+
if xml_element.elements['captionAssetId'] != nil
|
1006
|
+
self.caption_asset_id = xml_element.elements['captionAssetId'].text
|
1007
|
+
end
|
1008
|
+
end
|
1009
|
+
|
1010
|
+
end
|
1011
|
+
|
1012
|
+
class KalturaAlignmentVendorTaskData < KalturaVendorTaskDataCaptionAsset
|
1013
|
+
# The id of the text transcript object the vendor should use while runing the alignment task
|
1014
|
+
attr_accessor :text_transcript_asset_id
|
1015
|
+
# Optional - The id of the json transcript object the vendor should update once alignment task processing is done
|
1016
|
+
attr_accessor :json_transcript_asset_id
|
1017
|
+
|
1018
|
+
|
1019
|
+
def from_xml(xml_element)
|
1020
|
+
super
|
1021
|
+
if xml_element.elements['textTranscriptAssetId'] != nil
|
1022
|
+
self.text_transcript_asset_id = xml_element.elements['textTranscriptAssetId'].text
|
1023
|
+
end
|
1024
|
+
if xml_element.elements['jsonTranscriptAssetId'] != nil
|
1025
|
+
self.json_transcript_asset_id = xml_element.elements['jsonTranscriptAssetId'].text
|
1026
|
+
end
|
1027
|
+
end
|
1028
|
+
|
1029
|
+
end
|
1030
|
+
|
1022
1031
|
class KalturaEntryVendorTaskBaseFilter < KalturaRelatedFilter
|
1023
1032
|
attr_accessor :id_equal
|
1024
1033
|
attr_accessor :id_in
|
@@ -1308,6 +1317,15 @@ module Kaltura
|
|
1308
1317
|
|
1309
1318
|
end
|
1310
1319
|
|
1320
|
+
class KalturaTranslationVendorTaskData < KalturaVendorTaskDataCaptionAsset
|
1321
|
+
|
1322
|
+
|
1323
|
+
def from_xml(xml_element)
|
1324
|
+
super
|
1325
|
+
end
|
1326
|
+
|
1327
|
+
end
|
1328
|
+
|
1311
1329
|
class KalturaVendorCatalogItemBaseFilter < KalturaRelatedFilter
|
1312
1330
|
attr_accessor :id_equal
|
1313
1331
|
attr_accessor :id_in
|
data/lib/kaltura_types.rb
CHANGED
@@ -7494,6 +7494,7 @@ module Kaltura
|
|
7494
7494
|
|
7495
7495
|
class KalturaBaseEntryFilter < KalturaBaseEntryBaseFilter
|
7496
7496
|
attr_accessor :free_text
|
7497
|
+
attr_accessor :excluded_free_text_groups
|
7497
7498
|
attr_accessor :is_root
|
7498
7499
|
attr_accessor :categories_full_name_in
|
7499
7500
|
# All entries within this categoy or in child categories
|
@@ -7510,6 +7511,9 @@ module Kaltura
|
|
7510
7511
|
if xml_element.elements['freeText'] != nil
|
7511
7512
|
self.free_text = xml_element.elements['freeText'].text
|
7512
7513
|
end
|
7514
|
+
if xml_element.elements['excludedFreeTextGroups'] != nil
|
7515
|
+
self.excluded_free_text_groups = xml_element.elements['excludedFreeTextGroups'].text
|
7516
|
+
end
|
7513
7517
|
if xml_element.elements['isRoot'] != nil
|
7514
7518
|
self.is_root = xml_element.elements['isRoot'].text
|
7515
7519
|
end
|
@@ -16737,7 +16741,11 @@ module Kaltura
|
|
16737
16741
|
attr_accessor :custom_data
|
16738
16742
|
attr_accessor :extra_dest_file_syncs
|
16739
16743
|
attr_accessor :engine_message
|
16744
|
+
attr_accessor :user_cpu
|
16740
16745
|
|
16746
|
+
def user_cpu=(val)
|
16747
|
+
@user_cpu = val.to_i
|
16748
|
+
end
|
16741
16749
|
|
16742
16750
|
def from_xml(xml_element)
|
16743
16751
|
super
|
@@ -16768,6 +16776,9 @@ module Kaltura
|
|
16768
16776
|
if xml_element.elements['engineMessage'] != nil
|
16769
16777
|
self.engine_message = xml_element.elements['engineMessage'].text
|
16770
16778
|
end
|
16779
|
+
if xml_element.elements['userCpu'] != nil
|
16780
|
+
self.user_cpu = xml_element.elements['userCpu'].text
|
16781
|
+
end
|
16771
16782
|
end
|
16772
16783
|
|
16773
16784
|
end
|
@@ -17933,6 +17944,8 @@ module Kaltura
|
|
17933
17944
|
class KalturaStorageExportJobData < KalturaStorageJobData
|
17934
17945
|
attr_accessor :force
|
17935
17946
|
attr_accessor :create_link
|
17947
|
+
attr_accessor :asset_id
|
17948
|
+
attr_accessor :external_url
|
17936
17949
|
|
17937
17950
|
def force=(val)
|
17938
17951
|
@force = to_b(val)
|
@@ -17949,6 +17962,12 @@ module Kaltura
|
|
17949
17962
|
if xml_element.elements['createLink'] != nil
|
17950
17963
|
self.create_link = xml_element.elements['createLink'].text
|
17951
17964
|
end
|
17965
|
+
if xml_element.elements['assetId'] != nil
|
17966
|
+
self.asset_id = xml_element.elements['assetId'].text
|
17967
|
+
end
|
17968
|
+
if xml_element.elements['externalUrl'] != nil
|
17969
|
+
self.external_url = xml_element.elements['externalUrl'].text
|
17970
|
+
end
|
17952
17971
|
end
|
17953
17972
|
|
17954
17973
|
end
|
@@ -18263,6 +18282,7 @@ module Kaltura
|
|
18263
18282
|
attr_accessor :sse_kms_key_id
|
18264
18283
|
attr_accessor :signature_type
|
18265
18284
|
attr_accessor :end_point
|
18285
|
+
attr_accessor :storage_class
|
18266
18286
|
|
18267
18287
|
|
18268
18288
|
def from_xml(xml_element)
|
@@ -18285,6 +18305,9 @@ module Kaltura
|
|
18285
18305
|
if xml_element.elements['endPoint'] != nil
|
18286
18306
|
self.end_point = xml_element.elements['endPoint'].text
|
18287
18307
|
end
|
18308
|
+
if xml_element.elements['storageClass'] != nil
|
18309
|
+
self.storage_class = xml_element.elements['storageClass'].text
|
18310
|
+
end
|
18288
18311
|
end
|
18289
18312
|
|
18290
18313
|
end
|