kaltura-client 17.5.0 → 17.11.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 +25 -2
- data/lib/kaltura_enums.rb +10 -1
- data/lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb +7 -0
- data/lib/kaltura_plugins/kaltura_drm_client_plugin.rb +1 -0
- data/lib/kaltura_plugins/kaltura_reach_client_plugin.rb +2 -15
- data/lib/kaltura_plugins/kaltura_schedule_client_plugin.rb +73 -0
- data/lib/kaltura_plugins/kaltura_vendor_client_plugin.rb +156 -43
- data/lib/kaltura_types.rb +63 -12
- 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: '04858765aaa80cf0abcfa9e1148904ff2567262985a81683e20825905ef19b01'
|
4
|
+
data.tar.gz: 3280fe75a6fc85d836c725b658a0f86d51abe914540fb1a7bbc511c7908256b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 943b22b050affd8edfff598cf9265ee9335890b9d988ab2639141e03515b0258743cd567ab36a15697ed1f78f4383d9d332764675ec3ab3fbc7fa75fcdc3e5ad
|
7
|
+
data.tar.gz: 4494248dfa89e4eec80555a5f5a9c4746eb076391ce1ca6433d5777cacc058215014c9b0c975a604e83b2c852b4c183ef1b47cdee72c3ebe800d0b16e7f7baca
|
data/README
CHANGED
data/lib/kaltura_client.rb
CHANGED
@@ -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)
|
@@ -6325,8 +6348,8 @@ module Kaltura
|
|
6325
6348
|
|
6326
6349
|
def initialize(client)
|
6327
6350
|
super(client)
|
6328
|
-
self.client_tag = 'ruby:21-07
|
6329
|
-
self.api_version = '17.
|
6351
|
+
self.client_tag = 'ruby:21-10-07'
|
6352
|
+
self.api_version = '17.11.0'
|
6330
6353
|
end
|
6331
6354
|
|
6332
6355
|
def client_tag=(value)
|
data/lib/kaltura_enums.rb
CHANGED
@@ -715,6 +715,12 @@ module Kaltura
|
|
715
715
|
RESIZE_WITH_FORCE = 5
|
716
716
|
end
|
717
717
|
|
718
|
+
class KalturaTwoFactorAuthenticationMode
|
719
|
+
ALL = 0
|
720
|
+
ADMIN_USERS_ONLY = 1
|
721
|
+
NON_ADMIN_USERS_ONLY = 2
|
722
|
+
end
|
723
|
+
|
718
724
|
class KalturaUiConfCreationMode
|
719
725
|
WIZARD = 2
|
720
726
|
ADVANCED = 3
|
@@ -1258,6 +1264,7 @@ module Kaltura
|
|
1258
1264
|
ASSET_TYPE = "16"
|
1259
1265
|
BOOLEAN = "17"
|
1260
1266
|
HTTP_HEADER = "18"
|
1267
|
+
ENTRY_SCHEDULED = "19"
|
1261
1268
|
end
|
1262
1269
|
|
1263
1270
|
class KalturaConfMapsSourceLocation
|
@@ -3554,6 +3561,7 @@ module Kaltura
|
|
3554
3561
|
INTERACTIVE_VIDEO_NODE_SWITCH_HOTSPOT_CLICKED_PERCENTILES = "57"
|
3555
3562
|
TOP_CUSTOM_VAR2 = "58"
|
3556
3563
|
TOP_CUSTOM_VAR3 = "59"
|
3564
|
+
SELF_SERVE_USAGE = "60"
|
3557
3565
|
PARTNER_USAGE = "201"
|
3558
3566
|
MAP_OVERLAY_COUNTRY_REALTIME = "10001"
|
3559
3567
|
MAP_OVERLAY_REGION_REALTIME = "10002"
|
@@ -3592,6 +3600,7 @@ module Kaltura
|
|
3592
3600
|
PLAYBACK_RATE_VPAAS = "20020"
|
3593
3601
|
PARTNER_USAGE_VPAAS = "20021"
|
3594
3602
|
TOP_PLAYBACK_CONTEXT_VPAAS = "20022"
|
3603
|
+
SELF_SERVE_USAGE_VPAAS = "20023"
|
3595
3604
|
QOE_OVERVIEW = "30001"
|
3596
3605
|
QOE_EXPERIENCE = "30002"
|
3597
3606
|
QOE_EXPERIENCE_PLATFORMS = "30003"
|
@@ -3888,11 +3897,11 @@ module Kaltura
|
|
3888
3897
|
|
3889
3898
|
class KalturaVideoCodec
|
3890
3899
|
NONE = ""
|
3891
|
-
AV1 = "AV1"
|
3892
3900
|
APCH = "apch"
|
3893
3901
|
APCN = "apcn"
|
3894
3902
|
APCO = "apco"
|
3895
3903
|
APCS = "apcs"
|
3904
|
+
AV1 = "av1"
|
3896
3905
|
COPY = "copy"
|
3897
3906
|
DNXHD = "dnxhd"
|
3898
3907
|
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
|
@@ -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
|
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
|
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
|
data/lib/kaltura_types.rb
CHANGED
@@ -1968,6 +1968,7 @@ module Kaltura
|
|
1968
1968
|
attr_accessor :max_login_attempts
|
1969
1969
|
attr_accessor :login_block_period
|
1970
1970
|
attr_accessor :num_prev_pass_to_keep
|
1971
|
+
attr_accessor :two_factor_authentication_mode
|
1971
1972
|
|
1972
1973
|
def id=(val)
|
1973
1974
|
@id = val.to_i
|
@@ -2077,6 +2078,9 @@ module Kaltura
|
|
2077
2078
|
def num_prev_pass_to_keep=(val)
|
2078
2079
|
@num_prev_pass_to_keep = val.to_i
|
2079
2080
|
end
|
2081
|
+
def two_factor_authentication_mode=(val)
|
2082
|
+
@two_factor_authentication_mode = val.to_i
|
2083
|
+
end
|
2080
2084
|
|
2081
2085
|
def from_xml(xml_element)
|
2082
2086
|
super
|
@@ -2302,6 +2306,9 @@ module Kaltura
|
|
2302
2306
|
if xml_element.elements['numPrevPassToKeep'] != nil
|
2303
2307
|
self.num_prev_pass_to_keep = xml_element.elements['numPrevPassToKeep'].text
|
2304
2308
|
end
|
2309
|
+
if xml_element.elements['twoFactorAuthenticationMode'] != nil
|
2310
|
+
self.two_factor_authentication_mode = xml_element.elements['twoFactorAuthenticationMode'].text
|
2311
|
+
end
|
2305
2312
|
end
|
2306
2313
|
|
2307
2314
|
end
|
@@ -4216,6 +4223,7 @@ module Kaltura
|
|
4216
4223
|
attr_accessor :title
|
4217
4224
|
attr_accessor :company
|
4218
4225
|
attr_accessor :ks_privileges
|
4226
|
+
attr_accessor :encrypted_seed
|
4219
4227
|
|
4220
4228
|
def type=(val)
|
4221
4229
|
@type = val.to_i
|
@@ -4286,6 +4294,9 @@ module Kaltura
|
|
4286
4294
|
if xml_element.elements['ksPrivileges'] != nil
|
4287
4295
|
self.ks_privileges = xml_element.elements['ksPrivileges'].text
|
4288
4296
|
end
|
4297
|
+
if xml_element.elements['encryptedSeed'] != nil
|
4298
|
+
self.encrypted_seed = xml_element.elements['encryptedSeed'].text
|
4299
|
+
end
|
4289
4300
|
end
|
4290
4301
|
|
4291
4302
|
end
|
@@ -7611,10 +7622,14 @@ module Kaltura
|
|
7611
7622
|
attr_accessor :category_ancestor_id_in
|
7612
7623
|
# The id of the original entry
|
7613
7624
|
attr_accessor :redirect_from_entry_id
|
7625
|
+
attr_accessor :conversion_profile_id_equal
|
7614
7626
|
|
7615
7627
|
def is_root=(val)
|
7616
7628
|
@is_root = val.to_i
|
7617
7629
|
end
|
7630
|
+
def conversion_profile_id_equal=(val)
|
7631
|
+
@conversion_profile_id_equal = val.to_i
|
7632
|
+
end
|
7618
7633
|
|
7619
7634
|
def from_xml(xml_element)
|
7620
7635
|
super
|
@@ -7639,6 +7654,9 @@ module Kaltura
|
|
7639
7654
|
if xml_element.elements['redirectFromEntryId'] != nil
|
7640
7655
|
self.redirect_from_entry_id = xml_element.elements['redirectFromEntryId'].text
|
7641
7656
|
end
|
7657
|
+
if xml_element.elements['conversionProfileIdEqual'] != nil
|
7658
|
+
self.conversion_profile_id_equal = xml_element.elements['conversionProfileIdEqual'].text
|
7659
|
+
end
|
7642
7660
|
end
|
7643
7661
|
|
7644
7662
|
end
|
@@ -8778,6 +8796,7 @@ module Kaltura
|
|
8778
8796
|
attr_accessor :time_zone_offset
|
8779
8797
|
attr_accessor :report_items
|
8780
8798
|
attr_accessor :reports_items_group
|
8799
|
+
attr_accessor :base_url
|
8781
8800
|
|
8782
8801
|
def time_zone_offset=(val)
|
8783
8802
|
@time_zone_offset = val.to_i
|
@@ -8797,6 +8816,9 @@ module Kaltura
|
|
8797
8816
|
if xml_element.elements['reportsItemsGroup'] != nil
|
8798
8817
|
self.reports_items_group = xml_element.elements['reportsItemsGroup'].text
|
8799
8818
|
end
|
8819
|
+
if xml_element.elements['baseUrl'] != nil
|
8820
|
+
self.base_url = xml_element.elements['baseUrl'].text
|
8821
|
+
end
|
8800
8822
|
end
|
8801
8823
|
|
8802
8824
|
end
|
@@ -12811,17 +12833,17 @@ module Kaltura
|
|
12811
12833
|
|
12812
12834
|
end
|
12813
12835
|
|
12814
|
-
class
|
12815
|
-
attr_accessor :
|
12836
|
+
class KalturaDeliveryProfileVod < KalturaDeliveryProfile
|
12837
|
+
attr_accessor :simulive_support
|
12816
12838
|
|
12817
|
-
def
|
12818
|
-
@
|
12839
|
+
def simulive_support=(val)
|
12840
|
+
@simulive_support = to_b(val)
|
12819
12841
|
end
|
12820
12842
|
|
12821
12843
|
def from_xml(xml_element)
|
12822
12844
|
super
|
12823
|
-
if xml_element.elements['
|
12824
|
-
self.
|
12845
|
+
if xml_element.elements['simuliveSupport'] != nil
|
12846
|
+
self.simulive_support = xml_element.elements['simuliveSupport'].text
|
12825
12847
|
end
|
12826
12848
|
end
|
12827
12849
|
|
@@ -13415,6 +13437,15 @@ module Kaltura
|
|
13415
13437
|
|
13416
13438
|
end
|
13417
13439
|
|
13440
|
+
class KalturaEntryScheduledCondition < KalturaCondition
|
13441
|
+
|
13442
|
+
|
13443
|
+
def from_xml(xml_element)
|
13444
|
+
super
|
13445
|
+
end
|
13446
|
+
|
13447
|
+
end
|
13448
|
+
|
13418
13449
|
class KalturaEntryServerNodeBaseFilter < KalturaFilter
|
13419
13450
|
attr_accessor :entry_id_equal
|
13420
13451
|
attr_accessor :entry_id_in
|
@@ -14745,6 +14776,7 @@ module Kaltura
|
|
14745
14776
|
attr_accessor :file_paths
|
14746
14777
|
attr_accessor :reports_group
|
14747
14778
|
attr_accessor :files
|
14779
|
+
attr_accessor :base_url
|
14748
14780
|
|
14749
14781
|
|
14750
14782
|
def from_xml(xml_element)
|
@@ -14764,6 +14796,9 @@ module Kaltura
|
|
14764
14796
|
if xml_element.elements['files'] != nil
|
14765
14797
|
self.files = KalturaClientBase.object_from_xml(xml_element.elements['files'], 'KalturaReportExportFile')
|
14766
14798
|
end
|
14799
|
+
if xml_element.elements['baseUrl'] != nil
|
14800
|
+
self.base_url = xml_element.elements['baseUrl'].text
|
14801
|
+
end
|
14767
14802
|
end
|
14768
14803
|
|
14769
14804
|
end
|
@@ -17094,17 +17129,17 @@ module Kaltura
|
|
17094
17129
|
|
17095
17130
|
end
|
17096
17131
|
|
17097
|
-
class
|
17098
|
-
attr_accessor :
|
17132
|
+
class KalturaDeliveryProfileVodPackagerPlayServer < KalturaDeliveryProfileVod
|
17133
|
+
attr_accessor :ad_stitching_enabled
|
17099
17134
|
|
17100
|
-
def
|
17101
|
-
@
|
17135
|
+
def ad_stitching_enabled=(val)
|
17136
|
+
@ad_stitching_enabled = to_b(val)
|
17102
17137
|
end
|
17103
17138
|
|
17104
17139
|
def from_xml(xml_element)
|
17105
17140
|
super
|
17106
|
-
if xml_element.elements['
|
17107
|
-
self.
|
17141
|
+
if xml_element.elements['adStitchingEnabled'] != nil
|
17142
|
+
self.ad_stitching_enabled = xml_element.elements['adStitchingEnabled'].text
|
17108
17143
|
end
|
17109
17144
|
end
|
17110
17145
|
|
@@ -18859,6 +18894,22 @@ module Kaltura
|
|
18859
18894
|
|
18860
18895
|
end
|
18861
18896
|
|
18897
|
+
class KalturaDeliveryProfileVodPackagerHls < KalturaDeliveryProfileVodPackagerPlayServer
|
18898
|
+
attr_accessor :allow_fairplay_offline
|
18899
|
+
|
18900
|
+
def allow_fairplay_offline=(val)
|
18901
|
+
@allow_fairplay_offline = to_b(val)
|
18902
|
+
end
|
18903
|
+
|
18904
|
+
def from_xml(xml_element)
|
18905
|
+
super
|
18906
|
+
if xml_element.elements['allowFairplayOffline'] != nil
|
18907
|
+
self.allow_fairplay_offline = xml_element.elements['allowFairplayOffline'].text
|
18908
|
+
end
|
18909
|
+
end
|
18910
|
+
|
18911
|
+
end
|
18912
|
+
|
18862
18913
|
class KalturaDeliveryServerNodeBaseFilter < KalturaServerNodeFilter
|
18863
18914
|
|
18864
18915
|
|