kaltura-client 18.8.0 → 18.10.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 +18 -2
- data/lib/kaltura_enums.rb +1 -0
- data/lib/kaltura_plugins/kaltura_caption_client_plugin.rb +9 -0
- data/lib/kaltura_types.rb +32 -13
- 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: 8e59559a271c99fe53b2a928f51c108d932a8ddcf859989276400dacfe8b6047
|
4
|
+
data.tar.gz: 2633c591978f079e95bca5df04dc08857f59d657d717d4dfdcf49f46fea29ca7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0e74036ec6a7c59a63a1a9db316b1306ebcbb1395b643b54eeaf9f2b1670a8fd7dbd580bbaeebd810fb65952c8b82048723732cc43c82455f69ff1267246943
|
7
|
+
data.tar.gz: 1557c81fb71acd3a9621f3b50c3796728fbc6d80267b7d63be0de3a50568075d1108cad14f4ecde6cec8bd197c6b3b025c36f4b4d04f09f097fa953fc8040983
|
data/README
CHANGED
data/lib/kaltura_client.rb
CHANGED
@@ -969,6 +969,22 @@ module Kaltura
|
|
969
969
|
return client.do_queue()
|
970
970
|
end
|
971
971
|
|
972
|
+
# Creates a batch job that sends an email with a link to download a CSV containing a list of categories
|
973
|
+
# @return [string]
|
974
|
+
def export_to_csv(filter=KalturaNotImplemented, metadata_profile_id=KalturaNotImplemented, additional_fields=KalturaNotImplemented, mapped_fields=KalturaNotImplemented, options=KalturaNotImplemented)
|
975
|
+
kparams = {}
|
976
|
+
client.add_param(kparams, 'filter', filter)
|
977
|
+
client.add_param(kparams, 'metadataProfileId', metadata_profile_id)
|
978
|
+
client.add_param(kparams, 'additionalFields', additional_fields)
|
979
|
+
client.add_param(kparams, 'mappedFields', mapped_fields)
|
980
|
+
client.add_param(kparams, 'options', options)
|
981
|
+
client.queue_service_action_call('category', 'exportToCsv', 'string', kparams)
|
982
|
+
if (client.is_multirequest)
|
983
|
+
return nil
|
984
|
+
end
|
985
|
+
return client.do_queue()
|
986
|
+
end
|
987
|
+
|
972
988
|
# Get Category by id
|
973
989
|
# @return [KalturaCategory]
|
974
990
|
def get(id)
|
@@ -6366,8 +6382,8 @@ module Kaltura
|
|
6366
6382
|
|
6367
6383
|
def initialize(client)
|
6368
6384
|
super(client)
|
6369
|
-
self.client_tag = 'ruby:22-
|
6370
|
-
self.api_version = '18.
|
6385
|
+
self.client_tag = 'ruby:22-07-27'
|
6386
|
+
self.api_version = '18.10.0'
|
6371
6387
|
end
|
6372
6388
|
|
6373
6389
|
def client_tag=(value)
|
data/lib/kaltura_enums.rb
CHANGED
@@ -3573,6 +3573,7 @@ module Kaltura
|
|
3573
3573
|
TOP_CUSTOM_VAR3 = "59"
|
3574
3574
|
SELF_SERVE_USAGE = "60"
|
3575
3575
|
FLAVOR_PARAMS_TRANSCODING_USAGE = "61"
|
3576
|
+
PLAYER_HIGHLIGHTS = "62"
|
3576
3577
|
PARTNER_USAGE = "201"
|
3577
3578
|
MAP_OVERLAY_COUNTRY_REALTIME = "10001"
|
3578
3579
|
MAP_OVERLAY_REGION_REALTIME = "10002"
|
@@ -515,6 +515,15 @@ module Kaltura
|
|
515
515
|
return client.get_serve_url()
|
516
516
|
end
|
517
517
|
|
518
|
+
# Serves caption file as Json by its ID
|
519
|
+
# @return [file]
|
520
|
+
def serve_as_json(caption_asset_id)
|
521
|
+
kparams = {}
|
522
|
+
client.add_param(kparams, 'captionAssetId', caption_asset_id)
|
523
|
+
client.queue_service_action_call('caption_captionasset', 'serveAsJson', 'file', kparams)
|
524
|
+
return client.get_serve_url()
|
525
|
+
end
|
526
|
+
|
518
527
|
# Serves caption by entry id and thumnail params id
|
519
528
|
# @return [file]
|
520
529
|
def serve_by_entry_id(entry_id, caption_param_id=KalturaNotImplemented)
|
data/lib/kaltura_types.rb
CHANGED
@@ -8681,6 +8681,8 @@ module Kaltura
|
|
8681
8681
|
attr_accessor :virtual_event_id_in
|
8682
8682
|
# filter by origin
|
8683
8683
|
attr_accessor :origin_in
|
8684
|
+
# filter by ui conf id
|
8685
|
+
attr_accessor :ui_conf_id_in
|
8684
8686
|
|
8685
8687
|
def search_in_tags=(val)
|
8686
8688
|
@search_in_tags = to_b(val)
|
@@ -8823,6 +8825,9 @@ module Kaltura
|
|
8823
8825
|
if xml_element.elements['originIn'] != nil
|
8824
8826
|
self.origin_in = xml_element.elements['originIn'].text
|
8825
8827
|
end
|
8828
|
+
if xml_element.elements['uiConfIdIn'] != nil
|
8829
|
+
self.ui_conf_id_in = xml_element.elements['uiConfIdIn'].text
|
8830
|
+
end
|
8826
8831
|
end
|
8827
8832
|
|
8828
8833
|
end
|
@@ -10206,13 +10211,13 @@ module Kaltura
|
|
10206
10211
|
attr_accessor :created_at
|
10207
10212
|
# Last update date as Unix timestamp (In seconds)
|
10208
10213
|
attr_accessor :updated_at
|
10209
|
-
# Upload url - to explicitly determine to which domain to
|
10214
|
+
# Upload url - to explicitly determine to which domain to address the uploadToken->upload call
|
10210
10215
|
attr_accessor :upload_url
|
10211
|
-
# autoFinalize - Should the upload be finalized once the file size on disk matches the file size
|
10216
|
+
# autoFinalize - Should the upload be finalized once the file size on disk matches the file size reported when adding the upload token.
|
10212
10217
|
attr_accessor :auto_finalize
|
10213
|
-
# The
|
10218
|
+
# The type of the object this token is attached to.
|
10214
10219
|
attr_accessor :attached_object_type
|
10215
|
-
# The
|
10220
|
+
# The id of the object this token is attached to.
|
10216
10221
|
attr_accessor :attached_object_id
|
10217
10222
|
|
10218
10223
|
def partner_id=(val)
|
@@ -18842,15 +18847,6 @@ module Kaltura
|
|
18842
18847
|
|
18843
18848
|
end
|
18844
18849
|
|
18845
|
-
class KalturaCategoryEntryFilter < KalturaCategoryEntryBaseFilter
|
18846
|
-
|
18847
|
-
|
18848
|
-
def from_xml(xml_element)
|
18849
|
-
super
|
18850
|
-
end
|
18851
|
-
|
18852
|
-
end
|
18853
|
-
|
18854
18850
|
class KalturaCategoryFilter < KalturaCategoryBaseFilter
|
18855
18851
|
attr_accessor :free_text
|
18856
18852
|
attr_accessor :members_in
|
@@ -18893,6 +18889,29 @@ module Kaltura
|
|
18893
18889
|
|
18894
18890
|
end
|
18895
18891
|
|
18892
|
+
class KalturaCategoriesCsvJobData < KalturaMappedObjectsCsvJobData
|
18893
|
+
# The filter should return the list of categories that need to be specified in the csv.
|
18894
|
+
attr_accessor :filter
|
18895
|
+
|
18896
|
+
|
18897
|
+
def from_xml(xml_element)
|
18898
|
+
super
|
18899
|
+
if xml_element.elements['filter'] != nil
|
18900
|
+
self.filter = KalturaClientBase.object_from_xml(xml_element.elements['filter'], 'KalturaCategoryFilter')
|
18901
|
+
end
|
18902
|
+
end
|
18903
|
+
|
18904
|
+
end
|
18905
|
+
|
18906
|
+
class KalturaCategoryEntryFilter < KalturaCategoryEntryBaseFilter
|
18907
|
+
|
18908
|
+
|
18909
|
+
def from_xml(xml_element)
|
18910
|
+
super
|
18911
|
+
end
|
18912
|
+
|
18913
|
+
end
|
18914
|
+
|
18896
18915
|
class KalturaConstantXsltSyndicationFeed < KalturaGenericXsltSyndicationFeed
|
18897
18916
|
|
18898
18917
|
|