kaltura-client 18.4.0 → 18.10.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: a15b62e4b056b53c3359a7a53c63a831dc72b9e7d8eeb98842b2e75330cc6fac
4
- data.tar.gz: b5d3828090e82c7c922de09df34c6ae8f5ae7e06d0e5d80346e57b75f0025424
3
+ metadata.gz: 8e59559a271c99fe53b2a928f51c108d932a8ddcf859989276400dacfe8b6047
4
+ data.tar.gz: 2633c591978f079e95bca5df04dc08857f59d657d717d4dfdcf49f46fea29ca7
5
5
  SHA512:
6
- metadata.gz: 6aabb46344a08d40e08d8b1dccdb32f21c00834bb9ff64e0e7602177b0f3fd92c0af713738b490e9fc491bbd99f750f9a7d7d0a281dba3f737857bf00caf062c
7
- data.tar.gz: 61a2be8071e3e9aafaa7892d0206ed281e03cb5e260d6e970cf8d72c78f08156f180676a03ee86e7ab8435153e3751239113b4f1d9c59cd9abd9477a56ce8d95
6
+ metadata.gz: b0e74036ec6a7c59a63a1a9db316b1306ebcbb1395b643b54eeaf9f2b1670a8fd7dbd580bbaeebd810fb65952c8b82048723732cc43c82455f69ff1267246943
7
+ data.tar.gz: 1557c81fb71acd3a9621f3b50c3796728fbc6d80267b7d63be0de3a50568075d1108cad14f4ecde6cec8bd197c6b3b025c36f4b4d04f09f097fa953fc8040983
data/README CHANGED
@@ -1,5 +1,5 @@
1
1
  Kaltura Ruby API Client Library.
2
- Compatible with Kaltura server version 18.4.0 and above.
2
+ Compatible with Kaltura server version 18.10.0 and above.
3
3
 
4
4
  This source contains:
5
5
  - The Kaltura client library (kaltura_client_base.rb)
@@ -460,12 +460,13 @@ module Kaltura
460
460
 
461
461
  # add batch job that sends an email with a link to download an updated CSV that contains list of entries
462
462
  # @return [string]
463
- def export_to_csv(filter=KalturaNotImplemented, metadata_profile_id=KalturaNotImplemented, additional_fields=KalturaNotImplemented, mapped_fields=KalturaNotImplemented)
463
+ def export_to_csv(filter=KalturaNotImplemented, metadata_profile_id=KalturaNotImplemented, additional_fields=KalturaNotImplemented, mapped_fields=KalturaNotImplemented, options=KalturaNotImplemented)
464
464
  kparams = {}
465
465
  client.add_param(kparams, 'filter', filter)
466
466
  client.add_param(kparams, 'metadataProfileId', metadata_profile_id)
467
467
  client.add_param(kparams, 'additionalFields', additional_fields)
468
468
  client.add_param(kparams, 'mappedFields', mapped_fields)
469
+ client.add_param(kparams, 'options', options)
469
470
  client.queue_service_action_call('baseentry', 'exportToCsv', 'string', kparams)
470
471
  if (client.is_multirequest)
471
472
  return nil
@@ -968,6 +969,22 @@ module Kaltura
968
969
  return client.do_queue()
969
970
  end
970
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
+
971
988
  # Get Category by id
972
989
  # @return [KalturaCategory]
973
990
  def get(id)
@@ -5619,12 +5636,13 @@ module Kaltura
5619
5636
 
5620
5637
  # Creates a batch job that sends an email with a link to download a CSV containing a list of users
5621
5638
  # @return [string]
5622
- def export_to_csv(filter=KalturaNotImplemented, metadata_profile_id=KalturaNotImplemented, additional_fields=KalturaNotImplemented, mapped_fields=KalturaNotImplemented)
5639
+ def export_to_csv(filter=KalturaNotImplemented, metadata_profile_id=KalturaNotImplemented, additional_fields=KalturaNotImplemented, mapped_fields=KalturaNotImplemented, options=KalturaNotImplemented)
5623
5640
  kparams = {}
5624
5641
  client.add_param(kparams, 'filter', filter)
5625
5642
  client.add_param(kparams, 'metadataProfileId', metadata_profile_id)
5626
5643
  client.add_param(kparams, 'additionalFields', additional_fields)
5627
5644
  client.add_param(kparams, 'mappedFields', mapped_fields)
5645
+ client.add_param(kparams, 'options', options)
5628
5646
  client.queue_service_action_call('user', 'exportToCsv', 'string', kparams)
5629
5647
  if (client.is_multirequest)
5630
5648
  return nil
@@ -6364,8 +6382,8 @@ module Kaltura
6364
6382
 
6365
6383
  def initialize(client)
6366
6384
  super(client)
6367
- self.client_tag = 'ruby:22-05-09'
6368
- self.api_version = '18.4.0'
6385
+ self.client_tag = 'ruby:22-07-27'
6386
+ self.api_version = '18.10.0'
6369
6387
  end
6370
6388
 
6371
6389
  def client_tag=(value)
data/lib/kaltura_enums.rb CHANGED
@@ -814,6 +814,12 @@ module Kaltura
814
814
  TIMEHASH = 2
815
815
  end
816
816
 
817
+ class KalturaZoomGroupParticipationType
818
+ NO_CLASSIFICATION = 0
819
+ OPT_IN = 1
820
+ OPT_OUT = 2
821
+ end
822
+
817
823
  class KalturaAccessControlOrderBy
818
824
  CREATED_AT_ASC = "+createdAt"
819
825
  CREATED_AT_DESC = "-createdAt"
@@ -3567,6 +3573,7 @@ module Kaltura
3567
3573
  TOP_CUSTOM_VAR3 = "59"
3568
3574
  SELF_SERVE_USAGE = "60"
3569
3575
  FLAVOR_PARAMS_TRANSCODING_USAGE = "61"
3576
+ PLAYER_HIGHLIGHTS = "62"
3570
3577
  PARTNER_USAGE = "201"
3571
3578
  MAP_OVERLAY_COUNTRY_REALTIME = "10001"
3572
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)
@@ -204,6 +204,7 @@ module Kaltura
204
204
 
205
205
  class KalturaESearchUserFieldName
206
206
  COMPANY = "company"
207
+ COUNTRY = "country"
207
208
  CREATED_AT = "created_at"
208
209
  EMAIL = "email"
209
210
  FIRST_NAME = "first_name"
@@ -37,6 +37,7 @@ module Kaltura
37
37
 
38
38
  class KalturaESearchGroupFieldName
39
39
  COMPANY = "company"
40
+ COUNTRY = "country"
40
41
  CREATED_AT = "created_at"
41
42
  EMAIL = "email"
42
43
  FIRST_NAME = "first_name"
@@ -325,6 +325,8 @@ module Kaltura
325
325
  attr_accessor :service_type
326
326
  attr_accessor :service_feature
327
327
  attr_accessor :turn_around_time
328
+ # The vendor's task internal Id
329
+ attr_accessor :external_task_id
328
330
 
329
331
  def id=(val)
330
332
  @id = val.to_i
@@ -467,6 +469,9 @@ module Kaltura
467
469
  if xml_element.elements['turnAroundTime'] != nil
468
470
  self.turn_around_time = xml_element.elements['turnAroundTime'].text
469
471
  end
472
+ if xml_element.elements['externalTaskId'] != nil
473
+ self.external_task_id = xml_element.elements['externalTaskId'].text
474
+ end
470
475
  end
471
476
 
472
477
  end
@@ -208,6 +208,33 @@ module Kaltura
208
208
 
209
209
  end
210
210
 
211
+ class KalturaLiveFeature < KalturaObjectBase
212
+ attr_accessor :system_name
213
+ attr_accessor :pre_start_time
214
+ attr_accessor :post_end_time
215
+
216
+ def pre_start_time=(val)
217
+ @pre_start_time = val.to_i
218
+ end
219
+ def post_end_time=(val)
220
+ @post_end_time = val.to_i
221
+ end
222
+
223
+ def from_xml(xml_element)
224
+ super
225
+ if xml_element.elements['systemName'] != nil
226
+ self.system_name = xml_element.elements['systemName'].text
227
+ end
228
+ if xml_element.elements['preStartTime'] != nil
229
+ self.pre_start_time = xml_element.elements['preStartTime'].text
230
+ end
231
+ if xml_element.elements['postEndTime'] != nil
232
+ self.post_end_time = xml_element.elements['postEndTime'].text
233
+ end
234
+ end
235
+
236
+ end
237
+
211
238
  class KalturaScheduleEventRecurrence < KalturaObjectBase
212
239
  attr_accessor :name
213
240
  attr_accessor :frequency
@@ -663,6 +690,31 @@ module Kaltura
663
690
 
664
691
  end
665
692
 
693
+ class KalturaLiveCaptionFeature < KalturaLiveFeature
694
+ attr_accessor :media_url
695
+ attr_accessor :media_key
696
+ attr_accessor :caption_url
697
+ attr_accessor :caption_token
698
+
699
+
700
+ def from_xml(xml_element)
701
+ super
702
+ if xml_element.elements['mediaUrl'] != nil
703
+ self.media_url = xml_element.elements['mediaUrl'].text
704
+ end
705
+ if xml_element.elements['mediaKey'] != nil
706
+ self.media_key = xml_element.elements['mediaKey'].text
707
+ end
708
+ if xml_element.elements['captionUrl'] != nil
709
+ self.caption_url = xml_element.elements['captionUrl'].text
710
+ end
711
+ if xml_element.elements['captionToken'] != nil
712
+ self.caption_token = xml_element.elements['captionToken'].text
713
+ end
714
+ end
715
+
716
+ end
717
+
666
718
  class KalturaLiveEntryScheduleResource < KalturaScheduleResource
667
719
  attr_accessor :entry_id
668
720
 
@@ -1124,6 +1176,8 @@ module Kaltura
1124
1176
  attr_accessor :post_end_entry_id
1125
1177
  # Detect whether "real" live can interrupt to the "main" content
1126
1178
  attr_accessor :is_content_interruptible
1179
+ # list of live features that apply to the event
1180
+ attr_accessor :live_features
1127
1181
 
1128
1182
  def projected_audience=(val)
1129
1183
  @projected_audience = val.to_i
@@ -1161,6 +1215,9 @@ module Kaltura
1161
1215
  if xml_element.elements['isContentInterruptible'] != nil
1162
1216
  self.is_content_interruptible = xml_element.elements['isContentInterruptible'].text
1163
1217
  end
1218
+ if xml_element.elements['liveFeatures'] != nil
1219
+ self.live_features = KalturaClientBase.object_from_xml(xml_element.elements['liveFeatures'], 'KalturaLiveFeature')
1220
+ end
1164
1221
  end
1165
1222
 
1166
1223
  end
@@ -133,6 +133,9 @@ module Kaltura
133
133
  attr_accessor :enable_zoom_transcription
134
134
  attr_accessor :zoom_account_description
135
135
  attr_accessor :enable_meeting_upload
136
+ attr_accessor :opt_out_group_names
137
+ attr_accessor :opt_in_group_names
138
+ attr_accessor :group_participation_type
136
139
 
137
140
  def enable_recording_upload=(val)
138
141
  @enable_recording_upload = val.to_i
@@ -149,6 +152,9 @@ module Kaltura
149
152
  def enable_meeting_upload=(val)
150
153
  @enable_meeting_upload = val.to_i
151
154
  end
155
+ def group_participation_type=(val)
156
+ @group_participation_type = val.to_i
157
+ end
152
158
 
153
159
  def from_xml(xml_element)
154
160
  super
@@ -182,6 +188,15 @@ module Kaltura
182
188
  if xml_element.elements['enableMeetingUpload'] != nil
183
189
  self.enable_meeting_upload = xml_element.elements['enableMeetingUpload'].text
184
190
  end
191
+ if xml_element.elements['optOutGroupNames'] != nil
192
+ self.opt_out_group_names = xml_element.elements['optOutGroupNames'].text
193
+ end
194
+ if xml_element.elements['optInGroupNames'] != nil
195
+ self.opt_in_group_names = xml_element.elements['optInGroupNames'].text
196
+ end
197
+ if xml_element.elements['groupParticipationType'] != nil
198
+ self.group_participation_type = xml_element.elements['groupParticipationType'].text
199
+ end
185
200
  end
186
201
 
187
202
  end
data/lib/kaltura_types.rb CHANGED
@@ -4549,13 +4549,26 @@ module Kaltura
4549
4549
  # The format of the outputted date string. There are also several predefined date constants that may be used instead, so for example DATE_RSS contains the format string 'D, d M Y H:i:s'.
4550
4550
  # https://www.php.net/manual/en/function.date.php
4551
4551
  attr_accessor :format
4552
+ # Setting this property will cause additional columns to be added to the final report. The columns will be related to the specific object type passed (currently only MEDIA_CLIP is supported).
4553
+ # Please note that this property will NOT change the result filter in any way (i.e passing MEDIA_CLIP here will not force the report to return only media items).
4554
+ attr_accessor :type_equal
4555
+ attr_accessor :default_header
4552
4556
 
4557
+ def default_header=(val)
4558
+ @default_header = val.to_i
4559
+ end
4553
4560
 
4554
4561
  def from_xml(xml_element)
4555
4562
  super
4556
4563
  if xml_element.elements['format'] != nil
4557
4564
  self.format = xml_element.elements['format'].text
4558
4565
  end
4566
+ if xml_element.elements['typeEqual'] != nil
4567
+ self.type_equal = xml_element.elements['typeEqual'].text
4568
+ end
4569
+ if xml_element.elements['defaultHeader'] != nil
4570
+ self.default_header = xml_element.elements['defaultHeader'].text
4571
+ end
4559
4572
  end
4560
4573
 
4561
4574
  end
@@ -8668,6 +8681,8 @@ module Kaltura
8668
8681
  attr_accessor :virtual_event_id_in
8669
8682
  # filter by origin
8670
8683
  attr_accessor :origin_in
8684
+ # filter by ui conf id
8685
+ attr_accessor :ui_conf_id_in
8671
8686
 
8672
8687
  def search_in_tags=(val)
8673
8688
  @search_in_tags = to_b(val)
@@ -8810,6 +8825,9 @@ module Kaltura
8810
8825
  if xml_element.elements['originIn'] != nil
8811
8826
  self.origin_in = xml_element.elements['originIn'].text
8812
8827
  end
8828
+ if xml_element.elements['uiConfIdIn'] != nil
8829
+ self.ui_conf_id_in = xml_element.elements['uiConfIdIn'].text
8830
+ end
8813
8831
  end
8814
8832
 
8815
8833
  end
@@ -10193,10 +10211,14 @@ module Kaltura
10193
10211
  attr_accessor :created_at
10194
10212
  # Last update date as Unix timestamp (In seconds)
10195
10213
  attr_accessor :updated_at
10196
- # 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
10197
10215
  attr_accessor :upload_url
10198
- # 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.
10199
10217
  attr_accessor :auto_finalize
10218
+ # The type of the object this token is attached to.
10219
+ attr_accessor :attached_object_type
10220
+ # The id of the object this token is attached to.
10221
+ attr_accessor :attached_object_id
10200
10222
 
10201
10223
  def partner_id=(val)
10202
10224
  @partner_id = val.to_i
@@ -10255,6 +10277,12 @@ module Kaltura
10255
10277
  if xml_element.elements['autoFinalize'] != nil
10256
10278
  self.auto_finalize = xml_element.elements['autoFinalize'].text
10257
10279
  end
10280
+ if xml_element.elements['attachedObjectType'] != nil
10281
+ self.attached_object_type = xml_element.elements['attachedObjectType'].text
10282
+ end
10283
+ if xml_element.elements['attachedObjectId'] != nil
10284
+ self.attached_object_id = xml_element.elements['attachedObjectId'].text
10285
+ end
10258
10286
  end
10259
10287
 
10260
10288
  end
@@ -13997,6 +14025,22 @@ module Kaltura
13997
14025
 
13998
14026
  end
13999
14027
 
14028
+ class KalturaKeyValueExtended < KalturaKeyValue
14029
+ attr_accessor :predefined_format
14030
+
14031
+ def predefined_format=(val)
14032
+ @predefined_format = val.to_i
14033
+ end
14034
+
14035
+ def from_xml(xml_element)
14036
+ super
14037
+ if xml_element.elements['predefinedFormat'] != nil
14038
+ self.predefined_format = xml_element.elements['predefinedFormat'].text
14039
+ end
14040
+ end
14041
+
14042
+ end
14043
+
14000
14044
  class KalturaLimitFlavorsRestriction < KalturaBaseRestriction
14001
14045
  # Limit flavors restriction type (Allow or deny)
14002
14046
  attr_accessor :limit_flavors_restriction_type
@@ -17809,6 +17853,7 @@ module Kaltura
17809
17853
  attr_accessor :additional_fields
17810
17854
  # Array of header names and their mapped user fields
17811
17855
  attr_accessor :mapped_fields
17856
+ attr_accessor :options
17812
17857
 
17813
17858
  def metadata_profile_id=(val)
17814
17859
  @metadata_profile_id = val.to_i
@@ -17825,6 +17870,9 @@ module Kaltura
17825
17870
  if xml_element.elements['mappedFields'] != nil
17826
17871
  self.mapped_fields = KalturaClientBase.object_from_xml(xml_element.elements['mappedFields'], 'KalturaKeyValue')
17827
17872
  end
17873
+ if xml_element.elements['options'] != nil
17874
+ self.options = KalturaClientBase.object_from_xml(xml_element.elements['options'], 'KalturaExportToCsvOptions')
17875
+ end
17828
17876
  end
17829
17877
 
17830
17878
  end
@@ -18799,15 +18847,6 @@ module Kaltura
18799
18847
 
18800
18848
  end
18801
18849
 
18802
- class KalturaCategoryEntryFilter < KalturaCategoryEntryBaseFilter
18803
-
18804
-
18805
- def from_xml(xml_element)
18806
- super
18807
- end
18808
-
18809
- end
18810
-
18811
18850
  class KalturaCategoryFilter < KalturaCategoryBaseFilter
18812
18851
  attr_accessor :free_text
18813
18852
  attr_accessor :members_in
@@ -18850,6 +18889,29 @@ module Kaltura
18850
18889
 
18851
18890
  end
18852
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
+
18853
18915
  class KalturaConstantXsltSyndicationFeed < KalturaGenericXsltSyndicationFeed
18854
18916
 
18855
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.4.0
4
+ version: 18.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kaltura Inc.