kaltura-client 18.8.0 → 18.12.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3bd1eb18bacf33bd534660d760586e4ef512380f97c16a0e1c2e7a078da6c23d
4
- data.tar.gz: 84f2b2c2d85c9e62018bc215494beaa3e4b4fa322693b7cab49e412803b3c866
3
+ metadata.gz: 537134bc13088e0ac613ea0b54b04f5cce893a833f2b9804b622763da57ff936
4
+ data.tar.gz: 39bf2e1a7392ee062615856457a249067f318262374aa7ea95e8d3208e46e6bd
5
5
  SHA512:
6
- metadata.gz: faf4bd4734123335e2d5bb114145bbb01f38159e51859091ad1f2f8bffc852495e6257f56f3946e754953fded1da0cbf216fca7ab4db34284b49992432939dad
7
- data.tar.gz: 601ad299b74cbfde8d34244befbd93ba0a522b9f84562ab23b4b6a6136803b10e5871d41b7460073ec58f02cd2b1d0eb4820ee3d8de25b74b463ad8b666b18d8
6
+ metadata.gz: 9c3590b86f4608cde6674af28b3fd4467d633510582a7fe2b8ef9dfbc346fd8f30e8bcbeeab9c9a714d31f76f89f2a6105e16e1d6b818d46dfae647acfb586d7
7
+ data.tar.gz: b01bb01e3cc67552ad76215085668745457635f270644d3edf97a1a824bf9f6ff4e2bde286371122d015dbfcbcaa185709528fc2db56e3e72194f88b812b9773
data/README CHANGED
@@ -1,5 +1,5 @@
1
1
  Kaltura Ruby API Client Library.
2
- Compatible with Kaltura server version 18.8.0 and above.
2
+ Compatible with Kaltura server version 18.12.0 and above.
3
3
 
4
4
  This source contains:
5
5
  - The Kaltura client library (kaltura_client_base.rb)
@@ -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)
@@ -5745,12 +5761,12 @@ module Kaltura
5745
5761
  end
5746
5762
 
5747
5763
  # Resets user login password
5748
- # @return []
5764
+ # @return [KalturaUser]
5749
5765
  def login_data_reset_password(login_data_id, new_password)
5750
5766
  kparams = {}
5751
5767
  client.add_param(kparams, 'loginDataId', login_data_id)
5752
5768
  client.add_param(kparams, 'newPassword', new_password)
5753
- client.queue_service_action_call('user', 'loginDataResetPassword', '', kparams)
5769
+ client.queue_service_action_call('user', 'loginDataResetPassword', 'KalturaUser', kparams)
5754
5770
  if (client.is_multirequest)
5755
5771
  return nil
5756
5772
  end
@@ -6366,8 +6382,8 @@ module Kaltura
6366
6382
 
6367
6383
  def initialize(client)
6368
6384
  super(client)
6369
- self.client_tag = 'ruby:22-06-27'
6370
- self.api_version = '18.8.0'
6385
+ self.client_tag = 'ruby:22-08-22'
6386
+ self.api_version = '18.12.0'
6371
6387
  end
6372
6388
 
6373
6389
  def client_tag=(value)
data/lib/kaltura_enums.rb CHANGED
@@ -3573,6 +3573,11 @@ 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"
3577
+ PARTNER_USAGE_HIGHLIGHTS = "63"
3578
+ CDN_BANDWIDTH_USAGE = "64"
3579
+ REACH_CATALOG_USAGE = "65"
3580
+ REACH_PROFILE_USAGE = "66"
3576
3581
  PARTNER_USAGE = "201"
3577
3582
  MAP_OVERLAY_COUNTRY_REALTIME = "10001"
3578
3583
  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)
@@ -46,6 +46,7 @@ module Kaltura
46
46
  ERROR = 6
47
47
  ABORTED = 7
48
48
  PENDING_ENTRY_READY = 8
49
+ SCHEDULED = 9
49
50
  end
50
51
 
51
52
  class KalturaReachProfileContentDeletionPolicy
@@ -86,6 +87,7 @@ module Kaltura
86
87
  CHAPTERING = 5
87
88
  INTELLIGENT_TAGGING = 6
88
89
  DUBBING = 7
90
+ LIVE_CAPTION = 8
89
91
  end
90
92
 
91
93
  class KalturaVendorServiceTurnAroundTime
@@ -901,6 +903,36 @@ module Kaltura
901
903
 
902
904
  end
903
905
 
906
+ class KalturaScheduledVendorTaskData < KalturaVendorTaskData
907
+ attr_accessor :start_date
908
+ attr_accessor :end_date
909
+ attr_accessor :scheduled_event_id
910
+
911
+ def start_date=(val)
912
+ @start_date = val.to_i
913
+ end
914
+ def end_date=(val)
915
+ @end_date = val.to_i
916
+ end
917
+ def scheduled_event_id=(val)
918
+ @scheduled_event_id = val.to_i
919
+ end
920
+
921
+ def from_xml(xml_element)
922
+ super
923
+ if xml_element.elements['startDate'] != nil
924
+ self.start_date = xml_element.elements['startDate'].text
925
+ end
926
+ if xml_element.elements['endDate'] != nil
927
+ self.end_date = xml_element.elements['endDate'].text
928
+ end
929
+ if xml_element.elements['scheduledEventId'] != nil
930
+ self.scheduled_event_id = xml_element.elements['scheduledEventId'].text
931
+ end
932
+ end
933
+
934
+ end
935
+
904
936
  class KalturaUnlimitedVendorCredit < KalturaBaseVendorCredit
905
937
  attr_accessor :credit
906
938
  attr_accessor :from_date
@@ -1530,6 +1562,36 @@ module Kaltura
1530
1562
 
1531
1563
  end
1532
1564
 
1565
+ class KalturaVendorLiveCaptionCatalogItem < KalturaVendorCaptionsCatalogItem
1566
+ attr_accessor :minimal_refund_time
1567
+ attr_accessor :minimal_order_time
1568
+ attr_accessor :duration_limit
1569
+
1570
+ def minimal_refund_time=(val)
1571
+ @minimal_refund_time = val.to_i
1572
+ end
1573
+ def minimal_order_time=(val)
1574
+ @minimal_order_time = val.to_i
1575
+ end
1576
+ def duration_limit=(val)
1577
+ @duration_limit = val.to_i
1578
+ end
1579
+
1580
+ def from_xml(xml_element)
1581
+ super
1582
+ if xml_element.elements['minimalRefundTime'] != nil
1583
+ self.minimal_refund_time = xml_element.elements['minimalRefundTime'].text
1584
+ end
1585
+ if xml_element.elements['minimalOrderTime'] != nil
1586
+ self.minimal_order_time = xml_element.elements['minimalOrderTime'].text
1587
+ end
1588
+ if xml_element.elements['durationLimit'] != nil
1589
+ self.duration_limit = xml_element.elements['durationLimit'].text
1590
+ end
1591
+ end
1592
+
1593
+ end
1594
+
1533
1595
  class KalturaVendorTranslationCatalogItem < KalturaVendorCaptionsCatalogItem
1534
1596
  attr_accessor :target_language
1535
1597
 
@@ -1671,6 +1733,15 @@ module Kaltura
1671
1733
 
1672
1734
  end
1673
1735
 
1736
+ class KalturaVendorLiveCaptionCatalogItemFilter < KalturaVendorCaptionsCatalogItemBaseFilter
1737
+
1738
+
1739
+ def from_xml(xml_element)
1740
+ super
1741
+ end
1742
+
1743
+ end
1744
+
1674
1745
  class KalturaVendorTranslationCatalogItemBaseFilter < KalturaVendorCaptionsCatalogItemFilter
1675
1746
  attr_accessor :target_language_equal
1676
1747
  attr_accessor :target_language_in
@@ -1620,6 +1620,20 @@ module Kaltura
1620
1620
  end
1621
1621
  return client.do_queue()
1622
1622
  end
1623
+
1624
+ # Add feature to live event
1625
+ # @return [KalturaLiveStreamScheduleEvent]
1626
+ def update_live_feature(scheduled_event_id, feature_name, live_feature)
1627
+ kparams = {}
1628
+ client.add_param(kparams, 'scheduledEventId', scheduled_event_id)
1629
+ client.add_param(kparams, 'featureName', feature_name)
1630
+ client.add_param(kparams, 'liveFeature', live_feature)
1631
+ client.queue_service_action_call('schedule_scheduleevent', 'updateLiveFeature', 'KalturaLiveStreamScheduleEvent', kparams)
1632
+ if (client.is_multirequest)
1633
+ return nil
1634
+ end
1635
+ return client.do_queue()
1636
+ end
1623
1637
  end
1624
1638
 
1625
1639
  # The ScheduleResource service enables you to create and manage (update, delete, retrieve, etc.) the resources required for scheduled events (cameras, capture devices, etc.).
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 adress the uploadToken->upload call
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 reproted when adding the upload token.
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 value for the object_type field.
10218
+ # The type of the object this token is attached to.
10214
10219
  attr_accessor :attached_object_type
10215
- # The value for the object_id field.
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kaltura-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 18.8.0
4
+ version: 18.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kaltura Inc.