kaltura-client 17.5.0 → 17.16.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: 6dc94a41f93b5bc343ef67fc6a2c127021ab3171f84d6a2291092259dcbae0bd
4
- data.tar.gz: 8b5ec748edbdd51c9a5b397d94c4bc10f781b70df0241432c075beb0bb568897
3
+ metadata.gz: 6321e77b3a0225149e26f2e4e2aeb68d491f76e8935f35aad0b4eb0873bc9009
4
+ data.tar.gz: 55ec31ba609b1e573db48d91250cd83b2382ada52a6a1bd957d55b7a991ab241
5
5
  SHA512:
6
- metadata.gz: 59e4b06ea1afd08dff268172e763b5715c6c6567f778599db1c48d922490d6e4b1557d11e397e37e6b0a599f8ec5be4cb9032472e0396da0f27a043f5453c461
7
- data.tar.gz: b0826418ebc8ea18a2185de5c81412272cd1f9289607aa715a10a571dccb90fcdf5962fa12060f2ca5477eabae789e8f7d7c809c972d31094ce6d6aa3fa67d98
6
+ metadata.gz: 1e1d7565b19bfe15a26a9f02a17b576e597e5e5c16b192f2155780edfa7841aaca81dceeb010b7077ef40fd7f83c60c786087df112165c2556ec5168e6e698df
7
+ data.tar.gz: 4c51654451187f91b69554e992a773f59871ff6e36005db0204a1be593e255c78f03fd187ed30361df69e74900e490a20628799aae2040c3ce266b49fc1db645
data/README CHANGED
@@ -1,5 +1,5 @@
1
1
  Kaltura Ruby API Client Library.
2
- Compatible with Kaltura server version 17.5.0 and above.
2
+ Compatible with Kaltura server version 17.16.0 and above.
3
3
 
4
4
  This source contains:
5
5
  - The Kaltura client library (kaltura_client_base.rb)
@@ -612,6 +612,15 @@ module Kaltura
612
612
  return client.do_queue()
613
613
  end
614
614
 
615
+ # This action serves HLS encrypted key if access control is validated
616
+ # @return [file]
617
+ def serve_playback_key(entry_id)
618
+ kparams = {}
619
+ client.add_param(kparams, 'entryId', entry_id)
620
+ client.queue_service_action_call('baseentry', 'servePlaybackKey', 'file', kparams)
621
+ return client.get_serve_url()
622
+ end
623
+
615
624
  # Update base entry. Only the properties that were set will be updated.
616
625
  # @return [KalturaBaseEntry]
617
626
  def update(entry_id, base_entry)
@@ -932,6 +941,20 @@ module Kaltura
932
941
  return client.do_queue()
933
942
  end
934
943
 
944
+ # Clone Category
945
+ # @return [KalturaCategory]
946
+ def clone(category_id, from_partner_id, parent_category_id=KalturaNotImplemented)
947
+ kparams = {}
948
+ client.add_param(kparams, 'categoryId', category_id)
949
+ client.add_param(kparams, 'fromPartnerId', from_partner_id)
950
+ client.add_param(kparams, 'parentCategoryId', parent_category_id)
951
+ client.queue_service_action_call('category', 'clone', 'KalturaCategory', kparams)
952
+ if (client.is_multirequest)
953
+ return nil
954
+ end
955
+ return client.do_queue()
956
+ end
957
+
935
958
  # Delete a Category
936
959
  # @return []
937
960
  def delete(id, move_entries_to_parent_category=1)
@@ -3955,20 +3978,23 @@ module Kaltura
3955
3978
  end
3956
3979
 
3957
3980
  # @return [file]
3958
- def get_csv(id, params=KalturaNotImplemented)
3981
+ def get_csv(id, params=KalturaNotImplemented, excluded_fields=KalturaNotImplemented)
3959
3982
  kparams = {}
3960
3983
  client.add_param(kparams, 'id', id)
3961
3984
  client.add_param(kparams, 'params', params)
3985
+ client.add_param(kparams, 'excludedFields', excluded_fields)
3962
3986
  client.queue_service_action_call('report', 'getCsv', 'file', kparams)
3963
3987
  return client.get_serve_url()
3964
3988
  end
3965
3989
 
3966
3990
  # Returns report CSV file executed by string params with the following convention: param1=value1;param2=value2
3991
+ # excludedFields can be supplied comma separated
3967
3992
  # @return [file]
3968
- def get_csv_from_string_params(id, params=KalturaNotImplemented)
3993
+ def get_csv_from_string_params(id, params=KalturaNotImplemented, excluded_fields=KalturaNotImplemented)
3969
3994
  kparams = {}
3970
3995
  client.add_param(kparams, 'id', id)
3971
3996
  client.add_param(kparams, 'params', params)
3997
+ client.add_param(kparams, 'excludedFields', excluded_fields)
3972
3998
  client.queue_service_action_call('report', 'getCsvFromStringParams', 'file', kparams)
3973
3999
  return client.get_serve_url()
3974
4000
  end
@@ -6325,8 +6351,8 @@ module Kaltura
6325
6351
 
6326
6352
  def initialize(client)
6327
6353
  super(client)
6328
- self.client_tag = 'ruby:21-07-08'
6329
- self.api_version = '17.5.0'
6354
+ self.client_tag = 'ruby:21-12-11'
6355
+ self.api_version = '17.16.0'
6330
6356
  end
6331
6357
 
6332
6358
  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
@@ -715,6 +716,12 @@ module Kaltura
715
716
  RESIZE_WITH_FORCE = 5
716
717
  end
717
718
 
719
+ class KalturaTwoFactorAuthenticationMode
720
+ ALL = 0
721
+ ADMIN_USERS_ONLY = 1
722
+ NON_ADMIN_USERS_ONLY = 2
723
+ end
724
+
718
725
  class KalturaUiConfCreationMode
719
726
  WIZARD = 2
720
727
  ADVANCED = 3
@@ -1258,6 +1265,9 @@ module Kaltura
1258
1265
  ASSET_TYPE = "16"
1259
1266
  BOOLEAN = "17"
1260
1267
  HTTP_HEADER = "18"
1268
+ ENTRY_SCHEDULED = "19"
1269
+ ACTION_NAME = "20"
1270
+ URL_AUTH_PARAMS = "21"
1261
1271
  end
1262
1272
 
1263
1273
  class KalturaConfMapsSourceLocation
@@ -3487,6 +3497,7 @@ module Kaltura
3487
3497
  MONTHS = "months"
3488
3498
  TEN_MINUTES = "ten_minutes"
3489
3499
  TEN_SECONDS = "ten_seconds"
3500
+ YEARS = "years"
3490
3501
  end
3491
3502
 
3492
3503
  class KalturaReportOrderBy
@@ -3554,6 +3565,7 @@ module Kaltura
3554
3565
  INTERACTIVE_VIDEO_NODE_SWITCH_HOTSPOT_CLICKED_PERCENTILES = "57"
3555
3566
  TOP_CUSTOM_VAR2 = "58"
3556
3567
  TOP_CUSTOM_VAR3 = "59"
3568
+ SELF_SERVE_USAGE = "60"
3557
3569
  PARTNER_USAGE = "201"
3558
3570
  MAP_OVERLAY_COUNTRY_REALTIME = "10001"
3559
3571
  MAP_OVERLAY_REGION_REALTIME = "10002"
@@ -3592,6 +3604,7 @@ module Kaltura
3592
3604
  PLAYBACK_RATE_VPAAS = "20020"
3593
3605
  PARTNER_USAGE_VPAAS = "20021"
3594
3606
  TOP_PLAYBACK_CONTEXT_VPAAS = "20022"
3607
+ SELF_SERVE_USAGE_VPAAS = "20023"
3595
3608
  QOE_OVERVIEW = "30001"
3596
3609
  QOE_EXPERIENCE = "30002"
3597
3610
  QOE_EXPERIENCE_PLATFORMS = "30003"
@@ -3888,11 +3901,11 @@ module Kaltura
3888
3901
 
3889
3902
  class KalturaVideoCodec
3890
3903
  NONE = ""
3891
- AV1 = "AV1"
3892
3904
  APCH = "apch"
3893
3905
  APCN = "apcn"
3894
3906
  APCO = "apco"
3895
3907
  APCS = "apcs"
3908
+ AV1 = "av1"
3896
3909
  COPY = "copy"
3897
3910
  DNXHD = "dnxhd"
3898
3911
  DV = "dv"
@@ -383,6 +383,7 @@ module Kaltura
383
383
  attr_accessor :recommended_dc_for_execute
384
384
  # The event that trigger the automatic distribute
385
385
  attr_accessor :distribute_trigger
386
+ attr_accessor :support_image_entry
386
387
 
387
388
  def id=(val)
388
389
  @id = val.to_i
@@ -429,6 +430,9 @@ module Kaltura
429
430
  def distribute_trigger=(val)
430
431
  @distribute_trigger = val.to_i
431
432
  end
433
+ def support_image_entry=(val)
434
+ @support_image_entry = to_b(val)
435
+ end
432
436
 
433
437
  def from_xml(xml_element)
434
438
  super
@@ -507,6 +511,9 @@ module Kaltura
507
511
  if xml_element.elements['distributeTrigger'] != nil
508
512
  self.distribute_trigger = xml_element.elements['distributeTrigger'].text
509
513
  end
514
+ if xml_element.elements['supportImageEntry'] != nil
515
+ self.support_image_entry = xml_element.elements['supportImageEntry'].text
516
+ end
510
517
  end
511
518
 
512
519
  end
@@ -46,6 +46,7 @@ module Kaltura
46
46
  end
47
47
 
48
48
  class KalturaDrmLicenseScenario
49
+ NONE = "0"
49
50
  PROTECTION = "playReady.PROTECTION"
50
51
  PURCHASE = "playReady.PURCHASE"
51
52
  RENTAL = "playReady.RENTAL"
@@ -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
@@ -123,6 +123,7 @@ module Kaltura
123
123
  class KalturaCatalogItemLanguage
124
124
  AR = "Arabic"
125
125
  YUE = "Cantonese"
126
+ CA = "Catalan"
126
127
  ZH = "Chinese"
127
128
  DA = "Danish"
128
129
  NL = "Dutch"
@@ -1239,27 +1240,13 @@ module Kaltura
1239
1240
 
1240
1241
  class KalturaEntryVendorTaskFilter < KalturaEntryVendorTaskBaseFilter
1241
1242
  attr_accessor :free_text
1242
- attr_accessor :expected_finish_time_greater_than_or_equal
1243
- attr_accessor :expected_finish_time_less_than_or_equal
1244
1243
 
1245
- def expected_finish_time_greater_than_or_equal=(val)
1246
- @expected_finish_time_greater_than_or_equal = val.to_i
1247
- end
1248
- def expected_finish_time_less_than_or_equal=(val)
1249
- @expected_finish_time_less_than_or_equal = val.to_i
1250
- end
1251
1244
 
1252
1245
  def from_xml(xml_element)
1253
1246
  super
1254
1247
  if xml_element.elements['freeText'] != nil
1255
1248
  self.free_text = xml_element.elements['freeText'].text
1256
1249
  end
1257
- if xml_element.elements['expectedFinishTimeGreaterThanOrEqual'] != nil
1258
- self.expected_finish_time_greater_than_or_equal = xml_element.elements['expectedFinishTimeGreaterThanOrEqual'].text
1259
- end
1260
- if xml_element.elements['expectedFinishTimeLessThanOrEqual'] != nil
1261
- self.expected_finish_time_less_than_or_equal = xml_element.elements['expectedFinishTimeLessThanOrEqual'].text
1262
- end
1263
1250
  end
1264
1251
 
1265
1252
  end
@@ -1822,7 +1809,7 @@ module Kaltura
1822
1809
  return client.do_queue()
1823
1810
  end
1824
1811
 
1825
- # sync vednor profile credit
1812
+ # sync vendor profile credit
1826
1813
  # @return [KalturaReachProfile]
1827
1814
  def sync_credit(reach_profile_id)
1828
1815
  kparams = {}
@@ -59,6 +59,7 @@ module Kaltura
59
59
  BLACKOUT = 3
60
60
  MEETING = 4
61
61
  LIVE_REDIRECT = 5
62
+ VOD = 6
62
63
  end
63
64
 
64
65
  class KalturaScheduleResourceStatus
@@ -182,6 +183,31 @@ module Kaltura
182
183
  UPDATED_AT_DESC = "-updatedAt"
183
184
  end
184
185
 
186
+ class KalturaLinkedScheduleEvent < KalturaObjectBase
187
+ # The time between the end of the event which it's id is in $eventId and the start of the event holding this object
188
+ attr_accessor :offset
189
+ # The id of the event influencing the start of the event holding this object
190
+ attr_accessor :event_id
191
+
192
+ def offset=(val)
193
+ @offset = val.to_i
194
+ end
195
+ def event_id=(val)
196
+ @event_id = val.to_i
197
+ end
198
+
199
+ def from_xml(xml_element)
200
+ super
201
+ if xml_element.elements['offset'] != nil
202
+ self.offset = xml_element.elements['offset'].text
203
+ end
204
+ if xml_element.elements['eventId'] != nil
205
+ self.event_id = xml_element.elements['eventId'].text
206
+ end
207
+ end
208
+
209
+ end
210
+
185
211
  class KalturaScheduleEventRecurrence < KalturaObjectBase
186
212
  attr_accessor :name
187
213
  attr_accessor :frequency
@@ -303,6 +329,10 @@ module Kaltura
303
329
  attr_accessor :start_date
304
330
  attr_accessor :end_date
305
331
  attr_accessor :reference_id
332
+ # Contains the Id of the event that influences the timing of this event and the offset of time.
333
+ attr_accessor :linked_to
334
+ # An array of Schedule Event Ids that their start time depends on the end of the current.
335
+ attr_accessor :linked_by
306
336
  attr_accessor :classification_type
307
337
  # Specifies the global position for the activity
308
338
  attr_accessor :geo_latitude
@@ -405,6 +435,12 @@ module Kaltura
405
435
  if xml_element.elements['referenceId'] != nil
406
436
  self.reference_id = xml_element.elements['referenceId'].text
407
437
  end
438
+ if xml_element.elements['linkedTo'] != nil
439
+ self.linked_to = KalturaClientBase.object_from_xml(xml_element.elements['linkedTo'], 'KalturaLinkedScheduleEvent')
440
+ end
441
+ if xml_element.elements['linkedBy'] != nil
442
+ self.linked_by = xml_element.elements['linkedBy'].text
443
+ end
408
444
  if xml_element.elements['classificationType'] != nil
409
445
  self.classification_type = xml_element.elements['classificationType'].text
410
446
  end
@@ -1050,6 +1086,15 @@ module Kaltura
1050
1086
 
1051
1087
  end
1052
1088
 
1089
+ class KalturaVodScheduleEvent < KalturaEntryScheduleEvent
1090
+
1091
+
1092
+ def from_xml(xml_element)
1093
+ super
1094
+ end
1095
+
1096
+ end
1097
+
1053
1098
  class KalturaLiveRedirectScheduleEvent < KalturaBaseLiveScheduleEvent
1054
1099
  # The vod entry to redirect
1055
1100
  attr_accessor :redirect_entry_id
@@ -1073,6 +1118,10 @@ module Kaltura
1073
1118
  attr_accessor :pre_start_time
1074
1119
  # The time relative time before the endTime considered as postEnd time
1075
1120
  attr_accessor :post_end_time
1121
+ # The entry id of the pre start entry
1122
+ attr_accessor :pre_start_entry_id
1123
+ # The entry id of the post end entry
1124
+ attr_accessor :post_end_entry_id
1076
1125
 
1077
1126
  def projected_audience=(val)
1078
1127
  @projected_audience = val.to_i
@@ -1098,6 +1147,12 @@ module Kaltura
1098
1147
  if xml_element.elements['postEndTime'] != nil
1099
1148
  self.post_end_time = xml_element.elements['postEndTime'].text
1100
1149
  end
1150
+ if xml_element.elements['preStartEntryId'] != nil
1151
+ self.pre_start_entry_id = xml_element.elements['preStartEntryId'].text
1152
+ end
1153
+ if xml_element.elements['postEndEntryId'] != nil
1154
+ self.post_end_entry_id = xml_element.elements['postEndEntryId'].text
1155
+ end
1101
1156
  end
1102
1157
 
1103
1158
  end
@@ -1337,6 +1392,15 @@ module Kaltura
1337
1392
 
1338
1393
  end
1339
1394
 
1395
+ class KalturaVodScheduleEventBaseFilter < KalturaEntryScheduleEventFilter
1396
+
1397
+
1398
+ def from_xml(xml_element)
1399
+ super
1400
+ end
1401
+
1402
+ end
1403
+
1340
1404
  class KalturaBlackoutScheduleEventFilter < KalturaRecordScheduleEventBaseFilter
1341
1405
 
1342
1406
 
@@ -1373,6 +1437,15 @@ module Kaltura
1373
1437
 
1374
1438
  end
1375
1439
 
1440
+ class KalturaVodScheduleEventFilter < KalturaVodScheduleEventBaseFilter
1441
+
1442
+
1443
+ def from_xml(xml_element)
1444
+ super
1445
+ end
1446
+
1447
+ end
1448
+
1376
1449
 
1377
1450
  # The ScheduleEvent service enables you to create and manage (update, delete, retrieve, etc.) scheduled recording events.
1378
1451
  class KalturaScheduleEventService < KalturaServiceBase
@@ -35,6 +35,12 @@ module Kaltura
35
35
  IGNORE = 2
36
36
  end
37
37
 
38
+ class KalturaVendorIntegrationStatus
39
+ DISABLED = 1
40
+ ACTIVE = 2
41
+ DELETED = 3
42
+ end
43
+
38
44
  class KalturaZoomUsersMatching
39
45
  DO_NOT_MODIFY = 0
40
46
  ADD_POSTFIX = 1
@@ -42,47 +48,101 @@ module Kaltura
42
48
  CMS_MATCHING = 3
43
49
  end
44
50
 
45
- class KalturaZoomIntegrationSetting < KalturaObjectBase
51
+ class KalturaIntegrationSetting < KalturaObjectBase
52
+ attr_accessor :id
53
+ attr_accessor :status
46
54
  attr_accessor :default_user_id
47
- attr_accessor :zoom_category
48
55
  attr_accessor :account_id
49
- attr_accessor :enable_recording_upload
50
56
  attr_accessor :create_user_if_not_exist
57
+ attr_accessor :conversion_profile_id
51
58
  attr_accessor :handle_participants_mode
59
+ attr_accessor :deletion_policy
60
+ attr_accessor :created_at
61
+ attr_accessor :updated_at
62
+ attr_accessor :partner_id
63
+
64
+ def id=(val)
65
+ @id = val.to_i
66
+ end
67
+ def status=(val)
68
+ @status = val.to_i
69
+ end
70
+ def create_user_if_not_exist=(val)
71
+ @create_user_if_not_exist = val.to_i
72
+ end
73
+ def conversion_profile_id=(val)
74
+ @conversion_profile_id = val.to_i
75
+ end
76
+ def handle_participants_mode=(val)
77
+ @handle_participants_mode = val.to_i
78
+ end
79
+ def deletion_policy=(val)
80
+ @deletion_policy = val.to_i
81
+ end
82
+ def partner_id=(val)
83
+ @partner_id = val.to_i
84
+ end
85
+
86
+ def from_xml(xml_element)
87
+ super
88
+ if xml_element.elements['id'] != nil
89
+ self.id = xml_element.elements['id'].text
90
+ end
91
+ if xml_element.elements['status'] != nil
92
+ self.status = xml_element.elements['status'].text
93
+ end
94
+ if xml_element.elements['defaultUserId'] != nil
95
+ self.default_user_id = xml_element.elements['defaultUserId'].text
96
+ end
97
+ if xml_element.elements['accountId'] != nil
98
+ self.account_id = xml_element.elements['accountId'].text
99
+ end
100
+ if xml_element.elements['createUserIfNotExist'] != nil
101
+ self.create_user_if_not_exist = xml_element.elements['createUserIfNotExist'].text
102
+ end
103
+ if xml_element.elements['conversionProfileId'] != nil
104
+ self.conversion_profile_id = xml_element.elements['conversionProfileId'].text
105
+ end
106
+ if xml_element.elements['handleParticipantsMode'] != nil
107
+ self.handle_participants_mode = xml_element.elements['handleParticipantsMode'].text
108
+ end
109
+ if xml_element.elements['deletionPolicy'] != nil
110
+ self.deletion_policy = xml_element.elements['deletionPolicy'].text
111
+ end
112
+ if xml_element.elements['createdAt'] != nil
113
+ self.created_at = xml_element.elements['createdAt'].text
114
+ end
115
+ if xml_element.elements['updatedAt'] != nil
116
+ self.updated_at = xml_element.elements['updatedAt'].text
117
+ end
118
+ if xml_element.elements['partnerId'] != nil
119
+ self.partner_id = xml_element.elements['partnerId'].text
120
+ end
121
+ end
122
+
123
+ end
124
+
125
+ class KalturaZoomIntegrationSetting < KalturaIntegrationSetting
126
+ attr_accessor :zoom_category
127
+ attr_accessor :enable_recording_upload
52
128
  attr_accessor :zoom_user_matching_mode
53
129
  attr_accessor :zoom_user_postfix
54
130
  attr_accessor :zoom_webinar_category
55
131
  attr_accessor :enable_webinar_uploads
56
- attr_accessor :conversion_profile_id
57
132
  attr_accessor :jwt_token
58
- attr_accessor :deletion_policy
59
133
  attr_accessor :enable_zoom_transcription
60
134
  attr_accessor :zoom_account_description
61
- attr_accessor :created_at
62
- attr_accessor :updated_at
63
135
  attr_accessor :enable_meeting_upload
64
136
 
65
137
  def enable_recording_upload=(val)
66
138
  @enable_recording_upload = val.to_i
67
139
  end
68
- def create_user_if_not_exist=(val)
69
- @create_user_if_not_exist = val.to_i
70
- end
71
- def handle_participants_mode=(val)
72
- @handle_participants_mode = val.to_i
73
- end
74
140
  def zoom_user_matching_mode=(val)
75
141
  @zoom_user_matching_mode = val.to_i
76
142
  end
77
143
  def enable_webinar_uploads=(val)
78
144
  @enable_webinar_uploads = val.to_i
79
145
  end
80
- def conversion_profile_id=(val)
81
- @conversion_profile_id = val.to_i
82
- end
83
- def deletion_policy=(val)
84
- @deletion_policy = val.to_i
85
- end
86
146
  def enable_zoom_transcription=(val)
87
147
  @enable_zoom_transcription = val.to_i
88
148
  end
@@ -92,24 +152,12 @@ module Kaltura
92
152
 
93
153
  def from_xml(xml_element)
94
154
  super
95
- if xml_element.elements['defaultUserId'] != nil
96
- self.default_user_id = xml_element.elements['defaultUserId'].text
97
- end
98
155
  if xml_element.elements['zoomCategory'] != nil
99
156
  self.zoom_category = xml_element.elements['zoomCategory'].text
100
157
  end
101
- if xml_element.elements['accountId'] != nil
102
- self.account_id = xml_element.elements['accountId'].text
103
- end
104
158
  if xml_element.elements['enableRecordingUpload'] != nil
105
159
  self.enable_recording_upload = xml_element.elements['enableRecordingUpload'].text
106
160
  end
107
- if xml_element.elements['createUserIfNotExist'] != nil
108
- self.create_user_if_not_exist = xml_element.elements['createUserIfNotExist'].text
109
- end
110
- if xml_element.elements['handleParticipantsMode'] != nil
111
- self.handle_participants_mode = xml_element.elements['handleParticipantsMode'].text
112
- end
113
161
  if xml_element.elements['zoomUserMatchingMode'] != nil
114
162
  self.zoom_user_matching_mode = xml_element.elements['zoomUserMatchingMode'].text
115
163
  end
@@ -122,27 +170,15 @@ module Kaltura
122
170
  if xml_element.elements['enableWebinarUploads'] != nil
123
171
  self.enable_webinar_uploads = xml_element.elements['enableWebinarUploads'].text
124
172
  end
125
- if xml_element.elements['conversionProfileId'] != nil
126
- self.conversion_profile_id = xml_element.elements['conversionProfileId'].text
127
- end
128
173
  if xml_element.elements['jwtToken'] != nil
129
174
  self.jwt_token = xml_element.elements['jwtToken'].text
130
175
  end
131
- if xml_element.elements['deletionPolicy'] != nil
132
- self.deletion_policy = xml_element.elements['deletionPolicy'].text
133
- end
134
176
  if xml_element.elements['enableZoomTranscription'] != nil
135
177
  self.enable_zoom_transcription = xml_element.elements['enableZoomTranscription'].text
136
178
  end
137
179
  if xml_element.elements['zoomAccountDescription'] != nil
138
180
  self.zoom_account_description = xml_element.elements['zoomAccountDescription'].text
139
181
  end
140
- if xml_element.elements['createdAt'] != nil
141
- self.created_at = xml_element.elements['createdAt'].text
142
- end
143
- if xml_element.elements['updatedAt'] != nil
144
- self.updated_at = xml_element.elements['updatedAt'].text
145
- end
146
182
  if xml_element.elements['enableMeetingUpload'] != nil
147
183
  self.enable_meeting_upload = xml_element.elements['enableMeetingUpload'].text
148
184
  end
@@ -271,6 +307,75 @@ module Kaltura
271
307
  end
272
308
  end
273
309
 
310
+ class KalturaVendorIntegrationService < KalturaServiceBase
311
+ def initialize(client)
312
+ super(client)
313
+ end
314
+
315
+ # Add new integration setting object
316
+ # @return [KalturaIntegrationSetting]
317
+ def add(integration, remote_id)
318
+ kparams = {}
319
+ client.add_param(kparams, 'integration', integration)
320
+ client.add_param(kparams, 'remoteId', remote_id)
321
+ client.queue_service_action_call('vendor_vendorintegration', 'add', 'KalturaIntegrationSetting', kparams)
322
+ if (client.is_multirequest)
323
+ return nil
324
+ end
325
+ return client.do_queue()
326
+ end
327
+
328
+ # Delete integration object by ID
329
+ # @return [KalturaIntegrationSetting]
330
+ def delete(integration_id)
331
+ kparams = {}
332
+ client.add_param(kparams, 'integrationId', integration_id)
333
+ client.queue_service_action_call('vendor_vendorintegration', 'delete', 'KalturaIntegrationSetting', kparams)
334
+ if (client.is_multirequest)
335
+ return nil
336
+ end
337
+ return client.do_queue()
338
+ end
339
+
340
+ # Retrieve integration setting object by ID
341
+ # @return [KalturaIntegrationSetting]
342
+ def get(integration_id)
343
+ kparams = {}
344
+ client.add_param(kparams, 'integrationId', integration_id)
345
+ client.queue_service_action_call('vendor_vendorintegration', 'get', 'KalturaIntegrationSetting', kparams)
346
+ if (client.is_multirequest)
347
+ return nil
348
+ end
349
+ return client.do_queue()
350
+ end
351
+
352
+ # Update an existing vedor catalog item object
353
+ # @return [KalturaIntegrationSetting]
354
+ def update(id, integration_setting)
355
+ kparams = {}
356
+ client.add_param(kparams, 'id', id)
357
+ client.add_param(kparams, 'integrationSetting', integration_setting)
358
+ client.queue_service_action_call('vendor_vendorintegration', 'update', 'KalturaIntegrationSetting', kparams)
359
+ if (client.is_multirequest)
360
+ return nil
361
+ end
362
+ return client.do_queue()
363
+ end
364
+
365
+ # Update vendor catalog item status by id
366
+ # @return [KalturaIntegrationSetting]
367
+ def update_status(id, status)
368
+ kparams = {}
369
+ client.add_param(kparams, 'id', id)
370
+ client.add_param(kparams, 'status', status)
371
+ client.queue_service_action_call('vendor_vendorintegration', 'updateStatus', 'KalturaIntegrationSetting', kparams)
372
+ if (client.is_multirequest)
373
+ return nil
374
+ end
375
+ return client.do_queue()
376
+ end
377
+ end
378
+
274
379
  class KalturaClient < KalturaClientBase
275
380
  attr_reader :zoom_vendor_service
276
381
  def zoom_vendor_service
@@ -280,6 +385,14 @@ module Kaltura
280
385
  return @zoom_vendor_service
281
386
  end
282
387
 
388
+ attr_reader :vendor_integration_service
389
+ def vendor_integration_service
390
+ if (@vendor_integration_service == nil)
391
+ @vendor_integration_service = KalturaVendorIntegrationService.new(self)
392
+ end
393
+ return @vendor_integration_service
394
+ end
395
+
283
396
  end
284
397
 
285
398
  end
@@ -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
@@ -1968,6 +1981,8 @@ module Kaltura
1968
1981
  attr_accessor :max_login_attempts
1969
1982
  attr_accessor :login_block_period
1970
1983
  attr_accessor :num_prev_pass_to_keep
1984
+ attr_accessor :two_factor_authentication_mode
1985
+ attr_accessor :is_self_serve
1971
1986
 
1972
1987
  def id=(val)
1973
1988
  @id = val.to_i
@@ -2077,6 +2092,12 @@ module Kaltura
2077
2092
  def num_prev_pass_to_keep=(val)
2078
2093
  @num_prev_pass_to_keep = val.to_i
2079
2094
  end
2095
+ def two_factor_authentication_mode=(val)
2096
+ @two_factor_authentication_mode = val.to_i
2097
+ end
2098
+ def is_self_serve=(val)
2099
+ @is_self_serve = to_b(val)
2100
+ end
2080
2101
 
2081
2102
  def from_xml(xml_element)
2082
2103
  super
@@ -2285,7 +2306,7 @@ module Kaltura
2285
2306
  self.monitor_usage = xml_element.elements['monitorUsage'].text
2286
2307
  end
2287
2308
  if xml_element.elements['passwordStructureValidations'] != nil
2288
- self.password_structure_validations = xml_element.elements['passwordStructureValidations'].text
2309
+ self.password_structure_validations = KalturaClientBase.object_from_xml(xml_element.elements['passwordStructureValidations'], 'KalturaRegexItem')
2289
2310
  end
2290
2311
  if xml_element.elements['passwordStructureValidationsDescription'] != nil
2291
2312
  self.password_structure_validations_description = xml_element.elements['passwordStructureValidationsDescription'].text
@@ -2302,6 +2323,12 @@ module Kaltura
2302
2323
  if xml_element.elements['numPrevPassToKeep'] != nil
2303
2324
  self.num_prev_pass_to_keep = xml_element.elements['numPrevPassToKeep'].text
2304
2325
  end
2326
+ if xml_element.elements['twoFactorAuthenticationMode'] != nil
2327
+ self.two_factor_authentication_mode = xml_element.elements['twoFactorAuthenticationMode'].text
2328
+ end
2329
+ if xml_element.elements['isSelfServe'] != nil
2330
+ self.is_self_serve = xml_element.elements['isSelfServe'].text
2331
+ end
2305
2332
  end
2306
2333
 
2307
2334
  end
@@ -4199,6 +4226,25 @@ module Kaltura
4199
4226
 
4200
4227
  end
4201
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
+
4202
4248
  class KalturaUser < KalturaBaseUser
4203
4249
  attr_accessor :type
4204
4250
  attr_accessor :date_of_birth
@@ -4216,6 +4262,7 @@ module Kaltura
4216
4262
  attr_accessor :title
4217
4263
  attr_accessor :company
4218
4264
  attr_accessor :ks_privileges
4265
+ attr_accessor :encrypted_seed
4219
4266
 
4220
4267
  def type=(val)
4221
4268
  @type = val.to_i
@@ -4286,6 +4333,9 @@ module Kaltura
4286
4333
  if xml_element.elements['ksPrivileges'] != nil
4287
4334
  self.ks_privileges = xml_element.elements['ksPrivileges'].text
4288
4335
  end
4336
+ if xml_element.elements['encryptedSeed'] != nil
4337
+ self.encrypted_seed = xml_element.elements['encryptedSeed'].text
4338
+ end
4289
4339
  end
4290
4340
 
4291
4341
  end
@@ -7611,10 +7661,14 @@ module Kaltura
7611
7661
  attr_accessor :category_ancestor_id_in
7612
7662
  # The id of the original entry
7613
7663
  attr_accessor :redirect_from_entry_id
7664
+ attr_accessor :conversion_profile_id_equal
7614
7665
 
7615
7666
  def is_root=(val)
7616
7667
  @is_root = val.to_i
7617
7668
  end
7669
+ def conversion_profile_id_equal=(val)
7670
+ @conversion_profile_id_equal = val.to_i
7671
+ end
7618
7672
 
7619
7673
  def from_xml(xml_element)
7620
7674
  super
@@ -7639,6 +7693,9 @@ module Kaltura
7639
7693
  if xml_element.elements['redirectFromEntryId'] != nil
7640
7694
  self.redirect_from_entry_id = xml_element.elements['redirectFromEntryId'].text
7641
7695
  end
7696
+ if xml_element.elements['conversionProfileIdEqual'] != nil
7697
+ self.conversion_profile_id_equal = xml_element.elements['conversionProfileIdEqual'].text
7698
+ end
7642
7699
  end
7643
7700
 
7644
7701
  end
@@ -8778,6 +8835,7 @@ module Kaltura
8778
8835
  attr_accessor :time_zone_offset
8779
8836
  attr_accessor :report_items
8780
8837
  attr_accessor :reports_items_group
8838
+ attr_accessor :base_url
8781
8839
 
8782
8840
  def time_zone_offset=(val)
8783
8841
  @time_zone_offset = val.to_i
@@ -8797,6 +8855,9 @@ module Kaltura
8797
8855
  if xml_element.elements['reportsItemsGroup'] != nil
8798
8856
  self.reports_items_group = xml_element.elements['reportsItemsGroup'].text
8799
8857
  end
8858
+ if xml_element.elements['baseUrl'] != nil
8859
+ self.base_url = xml_element.elements['baseUrl'].text
8860
+ end
8800
8861
  end
8801
8862
 
8802
8863
  end
@@ -9646,6 +9707,7 @@ module Kaltura
9646
9707
  attr_accessor :private_key
9647
9708
  attr_accessor :public_key
9648
9709
  attr_accessor :pass_phrase
9710
+ attr_accessor :port
9649
9711
  attr_accessor :should_export_thumbs
9650
9712
  attr_accessor :packager_url
9651
9713
  attr_accessor :export_periodically
@@ -9698,6 +9760,9 @@ module Kaltura
9698
9760
  def create_file_link=(val)
9699
9761
  @create_file_link = to_b(val)
9700
9762
  end
9763
+ def port=(val)
9764
+ @port = val.to_i
9765
+ end
9701
9766
  def should_export_thumbs=(val)
9702
9767
  @should_export_thumbs = to_b(val)
9703
9768
  end
@@ -9806,6 +9871,9 @@ module Kaltura
9806
9871
  if xml_element.elements['passPhrase'] != nil
9807
9872
  self.pass_phrase = xml_element.elements['passPhrase'].text
9808
9873
  end
9874
+ if xml_element.elements['port'] != nil
9875
+ self.port = xml_element.elements['port'].text
9876
+ end
9809
9877
  if xml_element.elements['shouldExportThumbs'] != nil
9810
9878
  self.should_export_thumbs = xml_element.elements['shouldExportThumbs'].text
9811
9879
  end
@@ -12811,17 +12879,17 @@ module Kaltura
12811
12879
 
12812
12880
  end
12813
12881
 
12814
- class KalturaDeliveryProfileVodPackagerPlayServer < KalturaDeliveryProfile
12815
- attr_accessor :ad_stitching_enabled
12882
+ class KalturaDeliveryProfileVod < KalturaDeliveryProfile
12883
+ attr_accessor :simulive_support
12816
12884
 
12817
- def ad_stitching_enabled=(val)
12818
- @ad_stitching_enabled = to_b(val)
12885
+ def simulive_support=(val)
12886
+ @simulive_support = to_b(val)
12819
12887
  end
12820
12888
 
12821
12889
  def from_xml(xml_element)
12822
12890
  super
12823
- if xml_element.elements['adStitchingEnabled'] != nil
12824
- self.ad_stitching_enabled = xml_element.elements['adStitchingEnabled'].text
12891
+ if xml_element.elements['simuliveSupport'] != nil
12892
+ self.simulive_support = xml_element.elements['simuliveSupport'].text
12825
12893
  end
12826
12894
  end
12827
12895
 
@@ -13415,6 +13483,15 @@ module Kaltura
13415
13483
 
13416
13484
  end
13417
13485
 
13486
+ class KalturaEntryScheduledCondition < KalturaCondition
13487
+
13488
+
13489
+ def from_xml(xml_element)
13490
+ super
13491
+ end
13492
+
13493
+ end
13494
+
13418
13495
  class KalturaEntryServerNodeBaseFilter < KalturaFilter
13419
13496
  attr_accessor :entry_id_equal
13420
13497
  attr_accessor :entry_id_in
@@ -14120,6 +14197,7 @@ module Kaltura
14120
14197
  attr_accessor :from_email
14121
14198
  attr_accessor :body_params
14122
14199
  attr_accessor :subject_params
14200
+ attr_accessor :dynamic_email_contents
14123
14201
  attr_accessor :template_path
14124
14202
  attr_accessor :language
14125
14203
  attr_accessor :campaign_id
@@ -14178,6 +14256,9 @@ module Kaltura
14178
14256
  if xml_element.elements['subjectParams'] != nil
14179
14257
  self.subject_params = xml_element.elements['subjectParams'].text
14180
14258
  end
14259
+ if xml_element.elements['dynamicEmailContents'] != nil
14260
+ self.dynamic_email_contents = KalturaClientBase.object_from_xml(xml_element.elements['dynamicEmailContents'], 'KalturaDynamicEmailContents')
14261
+ end
14181
14262
  if xml_element.elements['templatePath'] != nil
14182
14263
  self.template_path = xml_element.elements['templatePath'].text
14183
14264
  end
@@ -14745,6 +14826,7 @@ module Kaltura
14745
14826
  attr_accessor :file_paths
14746
14827
  attr_accessor :reports_group
14747
14828
  attr_accessor :files
14829
+ attr_accessor :base_url
14748
14830
 
14749
14831
 
14750
14832
  def from_xml(xml_element)
@@ -14764,6 +14846,9 @@ module Kaltura
14764
14846
  if xml_element.elements['files'] != nil
14765
14847
  self.files = KalturaClientBase.object_from_xml(xml_element.elements['files'], 'KalturaReportExportFile')
14766
14848
  end
14849
+ if xml_element.elements['baseUrl'] != nil
14850
+ self.base_url = xml_element.elements['baseUrl'].text
14851
+ end
14767
14852
  end
14768
14853
 
14769
14854
  end
@@ -15589,6 +15674,15 @@ module Kaltura
15589
15674
 
15590
15675
  end
15591
15676
 
15677
+ class KalturaUrlAuthenticationParamsCondition < KalturaCondition
15678
+
15679
+
15680
+ def from_xml(xml_element)
15681
+ super
15682
+ end
15683
+
15684
+ end
15685
+
15592
15686
  class KalturaUrlRecognizerAkamaiG2O < KalturaUrlRecognizer
15593
15687
  # headerData
15594
15688
  attr_accessor :header_data
@@ -17094,17 +17188,17 @@ module Kaltura
17094
17188
 
17095
17189
  end
17096
17190
 
17097
- class KalturaDeliveryProfileVodPackagerHls < KalturaDeliveryProfileVodPackagerPlayServer
17098
- attr_accessor :allow_fairplay_offline
17191
+ class KalturaDeliveryProfileVodPackagerPlayServer < KalturaDeliveryProfileVod
17192
+ attr_accessor :ad_stitching_enabled
17099
17193
 
17100
- def allow_fairplay_offline=(val)
17101
- @allow_fairplay_offline = to_b(val)
17194
+ def ad_stitching_enabled=(val)
17195
+ @ad_stitching_enabled = to_b(val)
17102
17196
  end
17103
17197
 
17104
17198
  def from_xml(xml_element)
17105
17199
  super
17106
- if xml_element.elements['allowFairplayOffline'] != nil
17107
- self.allow_fairplay_offline = xml_element.elements['allowFairplayOffline'].text
17200
+ if xml_element.elements['adStitchingEnabled'] != nil
17201
+ self.ad_stitching_enabled = xml_element.elements['adStitchingEnabled'].text
17108
17202
  end
17109
17203
  end
17110
17204
 
@@ -18213,6 +18307,7 @@ module Kaltura
18213
18307
  attr_accessor :create_link
18214
18308
  attr_accessor :asset_id
18215
18309
  attr_accessor :external_url
18310
+ attr_accessor :port
18216
18311
 
18217
18312
  def force=(val)
18218
18313
  @force = to_b(val)
@@ -18220,6 +18315,9 @@ module Kaltura
18220
18315
  def create_link=(val)
18221
18316
  @create_link = to_b(val)
18222
18317
  end
18318
+ def port=(val)
18319
+ @port = val.to_i
18320
+ end
18223
18321
 
18224
18322
  def from_xml(xml_element)
18225
18323
  super
@@ -18235,6 +18333,9 @@ module Kaltura
18235
18333
  if xml_element.elements['externalUrl'] != nil
18236
18334
  self.external_url = xml_element.elements['externalUrl'].text
18237
18335
  end
18336
+ if xml_element.elements['port'] != nil
18337
+ self.port = xml_element.elements['port'].text
18338
+ end
18238
18339
  end
18239
18340
 
18240
18341
  end
@@ -18515,6 +18616,15 @@ module Kaltura
18515
18616
 
18516
18617
  end
18517
18618
 
18619
+ class KalturaActionNameCondition < KalturaRegexCondition
18620
+
18621
+
18622
+ def from_xml(xml_element)
18623
+ super
18624
+ end
18625
+
18626
+ end
18627
+
18518
18628
  class KalturaAmazonS3StorageExportJobData < KalturaStorageExportJobData
18519
18629
  attr_accessor :files_permission_in_s3
18520
18630
  attr_accessor :s3region
@@ -18859,6 +18969,22 @@ module Kaltura
18859
18969
 
18860
18970
  end
18861
18971
 
18972
+ class KalturaDeliveryProfileVodPackagerHls < KalturaDeliveryProfileVodPackagerPlayServer
18973
+ attr_accessor :allow_fairplay_offline
18974
+
18975
+ def allow_fairplay_offline=(val)
18976
+ @allow_fairplay_offline = to_b(val)
18977
+ end
18978
+
18979
+ def from_xml(xml_element)
18980
+ super
18981
+ if xml_element.elements['allowFairplayOffline'] != nil
18982
+ self.allow_fairplay_offline = xml_element.elements['allowFairplayOffline'].text
18983
+ end
18984
+ end
18985
+
18986
+ end
18987
+
18862
18988
  class KalturaDeliveryServerNodeBaseFilter < KalturaServerNodeFilter
18863
18989
 
18864
18990
 
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.5.0
4
+ version: 17.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kaltura Inc.