kaltura-client 17.11.0 → 17.18.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: '04858765aaa80cf0abcfa9e1148904ff2567262985a81683e20825905ef19b01'
4
- data.tar.gz: 3280fe75a6fc85d836c725b658a0f86d51abe914540fb1a7bbc511c7908256b3
3
+ metadata.gz: 0bb45bc1235631fe27b8577dd44bf75e145840f4df2fdd4a0f511600cbe61b31
4
+ data.tar.gz: c0280fb2fcaf7d7de9eb2c56e5b0d1f9fccdfacd82d805e47b7041170dab1c1b
5
5
  SHA512:
6
- metadata.gz: 943b22b050affd8edfff598cf9265ee9335890b9d988ab2639141e03515b0258743cd567ab36a15697ed1f78f4383d9d332764675ec3ab3fbc7fa75fcdc3e5ad
7
- data.tar.gz: 4494248dfa89e4eec80555a5f5a9c4746eb076391ce1ca6433d5777cacc058215014c9b0c975a604e83b2c852b4c183ef1b47cdee72c3ebe800d0b16e7f7baca
6
+ metadata.gz: 07a1e668bd976fbff6b61d46bb6450407d858c6ae7bbfe064ce0908e35d71b3ab2f553bed8603c53f06611ed7dfe1a5f85fc976874db9d412665ee7ef1a5404a
7
+ data.tar.gz: a74567a87d64c278a888c06e6c406cc6d90a11974237e9069a65988e9acc885a5712c18c815a0ac1d384f13fd35dea36a11b5afea320394c27fbee3adbe326ef
data/README CHANGED
@@ -1,5 +1,5 @@
1
1
  Kaltura Ruby API Client Library.
2
- Compatible with Kaltura server version 17.11.0 and above.
2
+ Compatible with Kaltura server version 17.18.0 and above.
3
3
 
4
4
  This source contains:
5
5
  - The Kaltura client library (kaltura_client_base.rb)
@@ -3978,20 +3978,23 @@ module Kaltura
3978
3978
  end
3979
3979
 
3980
3980
  # @return [file]
3981
- def get_csv(id, params=KalturaNotImplemented)
3981
+ def get_csv(id, params=KalturaNotImplemented, excluded_fields=KalturaNotImplemented)
3982
3982
  kparams = {}
3983
3983
  client.add_param(kparams, 'id', id)
3984
3984
  client.add_param(kparams, 'params', params)
3985
+ client.add_param(kparams, 'excludedFields', excluded_fields)
3985
3986
  client.queue_service_action_call('report', 'getCsv', 'file', kparams)
3986
3987
  return client.get_serve_url()
3987
3988
  end
3988
3989
 
3989
3990
  # Returns report CSV file executed by string params with the following convention: param1=value1;param2=value2
3991
+ # excludedFields can be supplied comma separated
3990
3992
  # @return [file]
3991
- def get_csv_from_string_params(id, params=KalturaNotImplemented)
3993
+ def get_csv_from_string_params(id, params=KalturaNotImplemented, excluded_fields=KalturaNotImplemented)
3992
3994
  kparams = {}
3993
3995
  client.add_param(kparams, 'id', id)
3994
3996
  client.add_param(kparams, 'params', params)
3997
+ client.add_param(kparams, 'excludedFields', excluded_fields)
3995
3998
  client.queue_service_action_call('report', 'getCsvFromStringParams', 'file', kparams)
3996
3999
  return client.get_serve_url()
3997
4000
  end
@@ -5739,6 +5742,19 @@ module Kaltura
5739
5742
  return client.do_queue()
5740
5743
  end
5741
5744
 
5745
+ # Resets user login password
5746
+ # @return []
5747
+ def login_data_reset_password(login_data_id, new_password)
5748
+ kparams = {}
5749
+ client.add_param(kparams, 'loginDataId', login_data_id)
5750
+ client.add_param(kparams, 'newPassword', new_password)
5751
+ client.queue_service_action_call('user', 'loginDataResetPassword', '', kparams)
5752
+ if (client.is_multirequest)
5753
+ return nil
5754
+ end
5755
+ return client.do_queue()
5756
+ end
5757
+
5742
5758
  # Notifies that a user is banned from an account.
5743
5759
  # @return []
5744
5760
  def notify_ban(user_id)
@@ -6348,8 +6364,8 @@ module Kaltura
6348
6364
 
6349
6365
  def initialize(client)
6350
6366
  super(client)
6351
- self.client_tag = 'ruby:21-10-07'
6352
- self.api_version = '17.11.0'
6367
+ self.client_tag = 'ruby:22-01-10'
6368
+ self.api_version = '17.18.0'
6353
6369
  end
6354
6370
 
6355
6371
  def client_tag=(value)
data/lib/kaltura_enums.rb CHANGED
@@ -415,6 +415,7 @@ module Kaltura
415
415
  ACTIVE = 1
416
416
  BLOCKED = 2
417
417
  FULL_BLOCK = 3
418
+ READ_ONLY = 4
418
419
  end
419
420
 
420
421
  class KalturaPartnerType
@@ -1265,6 +1266,8 @@ module Kaltura
1265
1266
  BOOLEAN = "17"
1266
1267
  HTTP_HEADER = "18"
1267
1268
  ENTRY_SCHEDULED = "19"
1269
+ ACTION_NAME = "20"
1270
+ URL_AUTH_PARAMS = "21"
1268
1271
  end
1269
1272
 
1270
1273
  class KalturaConfMapsSourceLocation
@@ -3494,6 +3497,7 @@ module Kaltura
3494
3497
  MONTHS = "months"
3495
3498
  TEN_MINUTES = "ten_minutes"
3496
3499
  TEN_SECONDS = "ten_seconds"
3500
+ YEARS = "years"
3497
3501
  end
3498
3502
 
3499
3503
  class KalturaReportOrderBy
@@ -74,6 +74,7 @@ module Kaltura
74
74
  ERROR_GET_DB_FILE_LIST = "4"
75
75
  DROP_FOLDER_APP_ERROR = "5"
76
76
  CONTENT_MATCH_POLICY_UNDEFINED = "6"
77
+ MISSING_CONFIG = "7"
77
78
  end
78
79
 
79
80
  class KalturaDropFolderFileErrorCode
@@ -35,6 +35,8 @@ module Kaltura
35
35
  # Last playback time reached by user
36
36
  attr_accessor :last_time_reached
37
37
  attr_accessor :last_update_time
38
+ # Property to save last entry ID played in a playlist.
39
+ attr_accessor :playlist_last_entry_id
38
40
 
39
41
  def last_time_reached=(val)
40
42
  @last_time_reached = val.to_i
@@ -54,6 +56,9 @@ module Kaltura
54
56
  if xml_element.elements['lastUpdateTime'] != nil
55
57
  self.last_update_time = xml_element.elements['lastUpdateTime'].text
56
58
  end
59
+ if xml_element.elements['playlistLastEntryId'] != nil
60
+ self.playlist_last_entry_id = xml_element.elements['playlistLastEntryId'].text
61
+ end
57
62
  end
58
63
 
59
64
  end
data/lib/kaltura_types.rb CHANGED
@@ -1887,6 +1887,19 @@ module Kaltura
1887
1887
 
1888
1888
  end
1889
1889
 
1890
+ class KalturaRegexItem < KalturaObjectBase
1891
+ attr_accessor :regex
1892
+
1893
+
1894
+ def from_xml(xml_element)
1895
+ super
1896
+ if xml_element.elements['regex'] != nil
1897
+ self.regex = xml_element.elements['regex'].text
1898
+ end
1899
+ end
1900
+
1901
+ end
1902
+
1890
1903
  class KalturaPartner < KalturaObjectBase
1891
1904
  attr_accessor :id
1892
1905
  attr_accessor :name
@@ -1969,6 +1982,7 @@ module Kaltura
1969
1982
  attr_accessor :login_block_period
1970
1983
  attr_accessor :num_prev_pass_to_keep
1971
1984
  attr_accessor :two_factor_authentication_mode
1985
+ attr_accessor :is_self_serve
1972
1986
 
1973
1987
  def id=(val)
1974
1988
  @id = val.to_i
@@ -2081,6 +2095,9 @@ module Kaltura
2081
2095
  def two_factor_authentication_mode=(val)
2082
2096
  @two_factor_authentication_mode = val.to_i
2083
2097
  end
2098
+ def is_self_serve=(val)
2099
+ @is_self_serve = to_b(val)
2100
+ end
2084
2101
 
2085
2102
  def from_xml(xml_element)
2086
2103
  super
@@ -2289,7 +2306,7 @@ module Kaltura
2289
2306
  self.monitor_usage = xml_element.elements['monitorUsage'].text
2290
2307
  end
2291
2308
  if xml_element.elements['passwordStructureValidations'] != nil
2292
- self.password_structure_validations = xml_element.elements['passwordStructureValidations'].text
2309
+ self.password_structure_validations = KalturaClientBase.object_from_xml(xml_element.elements['passwordStructureValidations'], 'KalturaRegexItem')
2293
2310
  end
2294
2311
  if xml_element.elements['passwordStructureValidationsDescription'] != nil
2295
2312
  self.password_structure_validations_description = xml_element.elements['passwordStructureValidationsDescription'].text
@@ -2309,6 +2326,9 @@ module Kaltura
2309
2326
  if xml_element.elements['twoFactorAuthenticationMode'] != nil
2310
2327
  self.two_factor_authentication_mode = xml_element.elements['twoFactorAuthenticationMode'].text
2311
2328
  end
2329
+ if xml_element.elements['isSelfServe'] != nil
2330
+ self.is_self_serve = xml_element.elements['isSelfServe'].text
2331
+ end
2312
2332
  end
2313
2333
 
2314
2334
  end
@@ -4206,6 +4226,25 @@ module Kaltura
4206
4226
 
4207
4227
  end
4208
4228
 
4229
+ class KalturaDynamicEmailContents < KalturaObjectBase
4230
+ # The subject of the customized email
4231
+ attr_accessor :email_subject
4232
+ # The body of the customized email
4233
+ attr_accessor :email_body
4234
+
4235
+
4236
+ def from_xml(xml_element)
4237
+ super
4238
+ if xml_element.elements['emailSubject'] != nil
4239
+ self.email_subject = xml_element.elements['emailSubject'].text
4240
+ end
4241
+ if xml_element.elements['emailBody'] != nil
4242
+ self.email_body = xml_element.elements['emailBody'].text
4243
+ end
4244
+ end
4245
+
4246
+ end
4247
+
4209
4248
  class KalturaUser < KalturaBaseUser
4210
4249
  attr_accessor :type
4211
4250
  attr_accessor :date_of_birth
@@ -8590,6 +8629,8 @@ module Kaltura
8590
8629
  attr_accessor :domain_in
8591
8630
  # filter by canonical url
8592
8631
  attr_accessor :canonical_url_in
8632
+ # filter by virtual event id
8633
+ attr_accessor :virtual_event_id_in
8593
8634
 
8594
8635
  def search_in_tags=(val)
8595
8636
  @search_in_tags = to_b(val)
@@ -8726,6 +8767,9 @@ module Kaltura
8726
8767
  if xml_element.elements['canonicalUrlIn'] != nil
8727
8768
  self.canonical_url_in = xml_element.elements['canonicalUrlIn'].text
8728
8769
  end
8770
+ if xml_element.elements['virtualEventIdIn'] != nil
8771
+ self.virtual_event_id_in = xml_element.elements['virtualEventIdIn'].text
8772
+ end
8729
8773
  end
8730
8774
 
8731
8775
  end
@@ -9668,6 +9712,7 @@ module Kaltura
9668
9712
  attr_accessor :private_key
9669
9713
  attr_accessor :public_key
9670
9714
  attr_accessor :pass_phrase
9715
+ attr_accessor :port
9671
9716
  attr_accessor :should_export_thumbs
9672
9717
  attr_accessor :packager_url
9673
9718
  attr_accessor :export_periodically
@@ -9720,6 +9765,9 @@ module Kaltura
9720
9765
  def create_file_link=(val)
9721
9766
  @create_file_link = to_b(val)
9722
9767
  end
9768
+ def port=(val)
9769
+ @port = val.to_i
9770
+ end
9723
9771
  def should_export_thumbs=(val)
9724
9772
  @should_export_thumbs = to_b(val)
9725
9773
  end
@@ -9828,6 +9876,9 @@ module Kaltura
9828
9876
  if xml_element.elements['passPhrase'] != nil
9829
9877
  self.pass_phrase = xml_element.elements['passPhrase'].text
9830
9878
  end
9879
+ if xml_element.elements['port'] != nil
9880
+ self.port = xml_element.elements['port'].text
9881
+ end
9831
9882
  if xml_element.elements['shouldExportThumbs'] != nil
9832
9883
  self.should_export_thumbs = xml_element.elements['shouldExportThumbs'].text
9833
9884
  end
@@ -12800,13 +12851,20 @@ module Kaltura
12800
12851
  class KalturaDeliveryProfileLivePackager < KalturaDeliveryProfile
12801
12852
  # Domain used to sign the live url
12802
12853
  attr_accessor :live_packager_signing_domain
12854
+ attr_accessor :should_redirect
12803
12855
 
12856
+ def should_redirect=(val)
12857
+ @should_redirect = to_b(val)
12858
+ end
12804
12859
 
12805
12860
  def from_xml(xml_element)
12806
12861
  super
12807
12862
  if xml_element.elements['livePackagerSigningDomain'] != nil
12808
12863
  self.live_packager_signing_domain = xml_element.elements['livePackagerSigningDomain'].text
12809
12864
  end
12865
+ if xml_element.elements['shouldRedirect'] != nil
12866
+ self.should_redirect = xml_element.elements['shouldRedirect'].text
12867
+ end
12810
12868
  end
12811
12869
 
12812
12870
  end
@@ -14151,6 +14209,7 @@ module Kaltura
14151
14209
  attr_accessor :from_email
14152
14210
  attr_accessor :body_params
14153
14211
  attr_accessor :subject_params
14212
+ attr_accessor :dynamic_email_contents
14154
14213
  attr_accessor :template_path
14155
14214
  attr_accessor :language
14156
14215
  attr_accessor :campaign_id
@@ -14209,6 +14268,9 @@ module Kaltura
14209
14268
  if xml_element.elements['subjectParams'] != nil
14210
14269
  self.subject_params = xml_element.elements['subjectParams'].text
14211
14270
  end
14271
+ if xml_element.elements['dynamicEmailContents'] != nil
14272
+ self.dynamic_email_contents = KalturaClientBase.object_from_xml(xml_element.elements['dynamicEmailContents'], 'KalturaDynamicEmailContents')
14273
+ end
14212
14274
  if xml_element.elements['templatePath'] != nil
14213
14275
  self.template_path = xml_element.elements['templatePath'].text
14214
14276
  end
@@ -15624,6 +15686,15 @@ module Kaltura
15624
15686
 
15625
15687
  end
15626
15688
 
15689
+ class KalturaUrlAuthenticationParamsCondition < KalturaCondition
15690
+
15691
+
15692
+ def from_xml(xml_element)
15693
+ super
15694
+ end
15695
+
15696
+ end
15697
+
15627
15698
  class KalturaUrlRecognizerAkamaiG2O < KalturaUrlRecognizer
15628
15699
  # headerData
15629
15700
  attr_accessor :header_data
@@ -16984,10 +17055,14 @@ module Kaltura
16984
17055
  attr_accessor :engine_message
16985
17056
  attr_accessor :dest_file_sync_shared_path
16986
17057
  attr_accessor :user_cpu
17058
+ attr_accessor :estimated_effort
16987
17059
 
16988
17060
  def user_cpu=(val)
16989
17061
  @user_cpu = val.to_i
16990
17062
  end
17063
+ def estimated_effort=(val)
17064
+ @estimated_effort = val.to_i
17065
+ end
16991
17066
 
16992
17067
  def from_xml(xml_element)
16993
17068
  super
@@ -17024,6 +17099,9 @@ module Kaltura
17024
17099
  if xml_element.elements['userCpu'] != nil
17025
17100
  self.user_cpu = xml_element.elements['userCpu'].text
17026
17101
  end
17102
+ if xml_element.elements['estimatedEffort'] != nil
17103
+ self.estimated_effort = xml_element.elements['estimatedEffort'].text
17104
+ end
17027
17105
  end
17028
17106
 
17029
17107
  end
@@ -18248,6 +18326,7 @@ module Kaltura
18248
18326
  attr_accessor :create_link
18249
18327
  attr_accessor :asset_id
18250
18328
  attr_accessor :external_url
18329
+ attr_accessor :port
18251
18330
 
18252
18331
  def force=(val)
18253
18332
  @force = to_b(val)
@@ -18255,6 +18334,9 @@ module Kaltura
18255
18334
  def create_link=(val)
18256
18335
  @create_link = to_b(val)
18257
18336
  end
18337
+ def port=(val)
18338
+ @port = val.to_i
18339
+ end
18258
18340
 
18259
18341
  def from_xml(xml_element)
18260
18342
  super
@@ -18270,6 +18352,9 @@ module Kaltura
18270
18352
  if xml_element.elements['externalUrl'] != nil
18271
18353
  self.external_url = xml_element.elements['externalUrl'].text
18272
18354
  end
18355
+ if xml_element.elements['port'] != nil
18356
+ self.port = xml_element.elements['port'].text
18357
+ end
18273
18358
  end
18274
18359
 
18275
18360
  end
@@ -18550,6 +18635,15 @@ module Kaltura
18550
18635
 
18551
18636
  end
18552
18637
 
18638
+ class KalturaActionNameCondition < KalturaRegexCondition
18639
+
18640
+
18641
+ def from_xml(xml_element)
18642
+ super
18643
+ end
18644
+
18645
+ end
18646
+
18553
18647
  class KalturaAmazonS3StorageExportJobData < KalturaStorageExportJobData
18554
18648
  attr_accessor :files_permission_in_s3
18555
18649
  attr_accessor :s3region
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: 17.11.0
4
+ version: 17.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kaltura Inc.