kaltura-client 16.10.0 → 17.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README +1 -1
- data/lib/kaltura_client.rb +37 -6
- data/lib/kaltura_enums.rb +10 -3
- data/lib/kaltura_plugins/kaltura_activiti_business_process_notification_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_ad_cue_point_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_admin_console_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_annotation_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_aspera_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_attachment_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_audit_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_avn_distribution_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_beacon_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_bpm_event_notification_integration_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_bulk_upload_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_bulk_upload_csv_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_bulk_upload_filter_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_bulk_upload_xml_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_business_process_notification_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_caption_client_plugin.rb +12 -2
- data/lib/kaltura_plugins/kaltura_caption_search_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_capture_space_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_cielo24client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_code_cue_point_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_comcast_mrss_distribution_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_conf_maps_client_plugin.rb +6 -2
- data/lib/kaltura_plugins/kaltura_conference_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_cross_kaltura_distribution_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_cue_point_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_dailymotion_distribution_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_document_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_double_click_distribution_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_drm_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb +6 -2
- data/lib/kaltura_plugins/kaltura_drop_folder_xml_bulk_upload_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_email_notification_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_event_cue_point_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_external_media_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_facebook_distribution_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_fairplay_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_feed_drop_folder_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_file_sync_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_freewheel_distribution_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_freewheel_generic_distribution_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_ftp_distribution_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_group_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_http_notification_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_hulu_distribution_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_idetic_distribution_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_integration_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_interactivity_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_kaltura_internal_tools_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_kontiki_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_like_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_live_cluster_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_metadata_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_metro_pcs_distribution_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_msn_distribution_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_play_ready_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_podcast_distribution_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_poll_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_push_notification_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_quick_play_distribution_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_quiz_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_rating_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_reach_client_plugin.rb +85 -18
- data/lib/kaltura_plugins/kaltura_registration_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_schedule_bulk_upload_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_schedule_client_plugin.rb +93 -24
- data/lib/kaltura_plugins/kaltura_schedule_drop_folder_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb +7 -2
- data/lib/kaltura_plugins/kaltura_scheduled_task_content_distribution_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_scheduled_task_event_notification_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_scheduled_task_metadata_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_search_history_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_short_link_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_sip_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_sso_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_system_partner_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_tag_search_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_thumb_cue_point_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_thumbnail_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_transcript_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_unicorn_distribution_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_var_console_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_velocix_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_vendor_client_plugin.rb +114 -9
- data/lib/kaltura_plugins/kaltura_view_history_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_virus_scan_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_voicebase_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_watch_later_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_webex_drop_folder_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_widevine_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_wowza_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_yahoo_distribution_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb +2 -2
- data/lib/kaltura_plugins/kaltura_youtube_api_distribution_client_plugin.rb +2 -2
- data/lib/kaltura_types.rb +160 -29
- metadata +2 -2
@@ -5,10 +5,10 @@
|
|
5
5
|
# |_|\_\__,_|_|\__|\_,_|_| \__,_|
|
6
6
|
#
|
7
7
|
# This file is part of the Kaltura Collaborative Media Suite which allows users
|
8
|
-
# to do with audio, video, and animation what Wiki
|
8
|
+
# to do with audio, video, and animation what Wiki platforms allow them to do with
|
9
9
|
# text.
|
10
10
|
#
|
11
|
-
# Copyright (C) 2006-
|
11
|
+
# Copyright (C) 2006-2021 Kaltura Inc.
|
12
12
|
#
|
13
13
|
# This program is free software: you can redistribute it and/or modify
|
14
14
|
# it under the terms of the GNU Affero General Public License as
|
@@ -5,10 +5,10 @@
|
|
5
5
|
# |_|\_\__,_|_|\__|\_,_|_| \__,_|
|
6
6
|
#
|
7
7
|
# This file is part of the Kaltura Collaborative Media Suite which allows users
|
8
|
-
# to do with audio, video, and animation what Wiki
|
8
|
+
# to do with audio, video, and animation what Wiki platforms allow them to do with
|
9
9
|
# text.
|
10
10
|
#
|
11
|
-
# Copyright (C) 2006-
|
11
|
+
# Copyright (C) 2006-2021 Kaltura Inc.
|
12
12
|
#
|
13
13
|
# This program is free software: you can redistribute it and/or modify
|
14
14
|
# it under the terms of the GNU Affero General Public License as
|
@@ -39,6 +39,7 @@ module Kaltura
|
|
39
39
|
DO_NOT_MODIFY = 0
|
40
40
|
ADD_POSTFIX = 1
|
41
41
|
REMOVE_POSTFIX = 2
|
42
|
+
CMS_MATCHING = 3
|
42
43
|
end
|
43
44
|
|
44
45
|
class KalturaZoomIntegrationSetting < KalturaObjectBase
|
@@ -47,11 +48,19 @@ module Kaltura
|
|
47
48
|
attr_accessor :account_id
|
48
49
|
attr_accessor :enable_recording_upload
|
49
50
|
attr_accessor :create_user_if_not_exist
|
50
|
-
attr_accessor :
|
51
|
+
attr_accessor :handle_participants_mode
|
51
52
|
attr_accessor :zoom_user_matching_mode
|
52
53
|
attr_accessor :zoom_user_postfix
|
53
54
|
attr_accessor :zoom_webinar_category
|
54
55
|
attr_accessor :enable_webinar_uploads
|
56
|
+
attr_accessor :conversion_profile_id
|
57
|
+
attr_accessor :jwt_token
|
58
|
+
attr_accessor :deletion_policy
|
59
|
+
attr_accessor :enable_zoom_transcription
|
60
|
+
attr_accessor :zoom_account_description
|
61
|
+
attr_accessor :created_at
|
62
|
+
attr_accessor :updated_at
|
63
|
+
attr_accessor :enable_meeting_upload
|
55
64
|
|
56
65
|
def enable_recording_upload=(val)
|
57
66
|
@enable_recording_upload = val.to_i
|
@@ -59,8 +68,8 @@ module Kaltura
|
|
59
68
|
def create_user_if_not_exist=(val)
|
60
69
|
@create_user_if_not_exist = val.to_i
|
61
70
|
end
|
62
|
-
def
|
63
|
-
@
|
71
|
+
def handle_participants_mode=(val)
|
72
|
+
@handle_participants_mode = val.to_i
|
64
73
|
end
|
65
74
|
def zoom_user_matching_mode=(val)
|
66
75
|
@zoom_user_matching_mode = val.to_i
|
@@ -68,6 +77,18 @@ module Kaltura
|
|
68
77
|
def enable_webinar_uploads=(val)
|
69
78
|
@enable_webinar_uploads = val.to_i
|
70
79
|
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
|
+
def enable_zoom_transcription=(val)
|
87
|
+
@enable_zoom_transcription = val.to_i
|
88
|
+
end
|
89
|
+
def enable_meeting_upload=(val)
|
90
|
+
@enable_meeting_upload = val.to_i
|
91
|
+
end
|
71
92
|
|
72
93
|
def from_xml(xml_element)
|
73
94
|
super
|
@@ -86,8 +107,8 @@ module Kaltura
|
|
86
107
|
if xml_element.elements['createUserIfNotExist'] != nil
|
87
108
|
self.create_user_if_not_exist = xml_element.elements['createUserIfNotExist'].text
|
88
109
|
end
|
89
|
-
if xml_element.elements['
|
90
|
-
self.
|
110
|
+
if xml_element.elements['handleParticipantsMode'] != nil
|
111
|
+
self.handle_participants_mode = xml_element.elements['handleParticipantsMode'].text
|
91
112
|
end
|
92
113
|
if xml_element.elements['zoomUserMatchingMode'] != nil
|
93
114
|
self.zoom_user_matching_mode = xml_element.elements['zoomUserMatchingMode'].text
|
@@ -101,6 +122,43 @@ module Kaltura
|
|
101
122
|
if xml_element.elements['enableWebinarUploads'] != nil
|
102
123
|
self.enable_webinar_uploads = xml_element.elements['enableWebinarUploads'].text
|
103
124
|
end
|
125
|
+
if xml_element.elements['conversionProfileId'] != nil
|
126
|
+
self.conversion_profile_id = xml_element.elements['conversionProfileId'].text
|
127
|
+
end
|
128
|
+
if xml_element.elements['jwtToken'] != nil
|
129
|
+
self.jwt_token = xml_element.elements['jwtToken'].text
|
130
|
+
end
|
131
|
+
if xml_element.elements['deletionPolicy'] != nil
|
132
|
+
self.deletion_policy = xml_element.elements['deletionPolicy'].text
|
133
|
+
end
|
134
|
+
if xml_element.elements['enableZoomTranscription'] != nil
|
135
|
+
self.enable_zoom_transcription = xml_element.elements['enableZoomTranscription'].text
|
136
|
+
end
|
137
|
+
if xml_element.elements['zoomAccountDescription'] != nil
|
138
|
+
self.zoom_account_description = xml_element.elements['zoomAccountDescription'].text
|
139
|
+
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
|
+
if xml_element.elements['enableMeetingUpload'] != nil
|
147
|
+
self.enable_meeting_upload = xml_element.elements['enableMeetingUpload'].text
|
148
|
+
end
|
149
|
+
end
|
150
|
+
|
151
|
+
end
|
152
|
+
|
153
|
+
class KalturaZoomIntegrationSettingResponse < KalturaListResponse
|
154
|
+
attr_accessor :objects
|
155
|
+
|
156
|
+
|
157
|
+
def from_xml(xml_element)
|
158
|
+
super
|
159
|
+
if xml_element.elements['objects'] != nil
|
160
|
+
self.objects = KalturaClientBase.object_from_xml(xml_element.elements['objects'], 'KalturaZoomIntegrationSetting')
|
161
|
+
end
|
104
162
|
end
|
105
163
|
|
106
164
|
end
|
@@ -133,10 +191,57 @@ module Kaltura
|
|
133
191
|
return client.do_queue()
|
134
192
|
end
|
135
193
|
|
136
|
-
#
|
194
|
+
# Retrieve zoom integration setting object by partner id
|
195
|
+
# @return [KalturaZoomIntegrationSetting]
|
196
|
+
def get(partner_id)
|
197
|
+
kparams = {}
|
198
|
+
client.add_param(kparams, 'partnerId', partner_id)
|
199
|
+
client.queue_service_action_call('vendor_zoomvendor', 'get', 'KalturaZoomIntegrationSetting', kparams)
|
200
|
+
if (client.is_multirequest)
|
201
|
+
return nil
|
202
|
+
end
|
203
|
+
return client.do_queue()
|
204
|
+
end
|
205
|
+
|
206
|
+
# List KalturaZoomIntegrationSetting objects
|
207
|
+
# @return [KalturaZoomIntegrationSettingResponse]
|
208
|
+
def list(pager=KalturaNotImplemented)
|
209
|
+
kparams = {}
|
210
|
+
client.add_param(kparams, 'pager', pager)
|
211
|
+
client.queue_service_action_call('vendor_zoomvendor', 'list', 'KalturaZoomIntegrationSettingResponse', kparams)
|
212
|
+
if (client.is_multirequest)
|
213
|
+
return nil
|
214
|
+
end
|
215
|
+
return client.do_queue()
|
216
|
+
end
|
217
|
+
|
218
|
+
# @return []
|
219
|
+
def local_registration_page(jwt)
|
220
|
+
kparams = {}
|
221
|
+
client.add_param(kparams, 'jwt', jwt)
|
222
|
+
client.queue_service_action_call('vendor_zoomvendor', 'localRegistrationPage', '', kparams)
|
223
|
+
if (client.is_multirequest)
|
224
|
+
return nil
|
225
|
+
end
|
226
|
+
return client.do_queue()
|
227
|
+
end
|
228
|
+
|
229
|
+
# load html page the that will ask the user for its KMC URL, derive the region of the user from it,
|
230
|
+
# and redirect to the registration page in the correct region, while forwarding the necessary code for registration
|
231
|
+
# @return []
|
137
232
|
def oauth_validation()
|
138
233
|
kparams = {}
|
139
|
-
client.queue_service_action_call('vendor_zoomvendor', 'oauthValidation', '
|
234
|
+
client.queue_service_action_call('vendor_zoomvendor', 'oauthValidation', '', kparams)
|
235
|
+
if (client.is_multirequest)
|
236
|
+
return nil
|
237
|
+
end
|
238
|
+
return client.do_queue()
|
239
|
+
end
|
240
|
+
|
241
|
+
# @return [string]
|
242
|
+
def pre_oauth_validation()
|
243
|
+
kparams = {}
|
244
|
+
client.queue_service_action_call('vendor_zoomvendor', 'preOauthValidation', 'string', kparams)
|
140
245
|
if (client.is_multirequest)
|
141
246
|
return nil
|
142
247
|
end
|
@@ -5,10 +5,10 @@
|
|
5
5
|
# |_|\_\__,_|_|\__|\_,_|_| \__,_|
|
6
6
|
#
|
7
7
|
# This file is part of the Kaltura Collaborative Media Suite which allows users
|
8
|
-
# to do with audio, video, and animation what Wiki
|
8
|
+
# to do with audio, video, and animation what Wiki platforms allow them to do with
|
9
9
|
# text.
|
10
10
|
#
|
11
|
-
# Copyright (C) 2006-
|
11
|
+
# Copyright (C) 2006-2021 Kaltura Inc.
|
12
12
|
#
|
13
13
|
# This program is free software: you can redistribute it and/or modify
|
14
14
|
# it under the terms of the GNU Affero General Public License as
|
@@ -5,10 +5,10 @@
|
|
5
5
|
# |_|\_\__,_|_|\__|\_,_|_| \__,_|
|
6
6
|
#
|
7
7
|
# This file is part of the Kaltura Collaborative Media Suite which allows users
|
8
|
-
# to do with audio, video, and animation what Wiki
|
8
|
+
# to do with audio, video, and animation what Wiki platforms allow them to do with
|
9
9
|
# text.
|
10
10
|
#
|
11
|
-
# Copyright (C) 2006-
|
11
|
+
# Copyright (C) 2006-2021 Kaltura Inc.
|
12
12
|
#
|
13
13
|
# This program is free software: you can redistribute it and/or modify
|
14
14
|
# it under the terms of the GNU Affero General Public License as
|
@@ -5,10 +5,10 @@
|
|
5
5
|
# |_|\_\__,_|_|\__|\_,_|_| \__,_|
|
6
6
|
#
|
7
7
|
# This file is part of the Kaltura Collaborative Media Suite which allows users
|
8
|
-
# to do with audio, video, and animation what Wiki
|
8
|
+
# to do with audio, video, and animation what Wiki platforms allow them to do with
|
9
9
|
# text.
|
10
10
|
#
|
11
|
-
# Copyright (C) 2006-
|
11
|
+
# Copyright (C) 2006-2021 Kaltura Inc.
|
12
12
|
#
|
13
13
|
# This program is free software: you can redistribute it and/or modify
|
14
14
|
# it under the terms of the GNU Affero General Public License as
|
@@ -5,10 +5,10 @@
|
|
5
5
|
# |_|\_\__,_|_|\__|\_,_|_| \__,_|
|
6
6
|
#
|
7
7
|
# This file is part of the Kaltura Collaborative Media Suite which allows users
|
8
|
-
# to do with audio, video, and animation what Wiki
|
8
|
+
# to do with audio, video, and animation what Wiki platforms allow them to do with
|
9
9
|
# text.
|
10
10
|
#
|
11
|
-
# Copyright (C) 2006-
|
11
|
+
# Copyright (C) 2006-2021 Kaltura Inc.
|
12
12
|
#
|
13
13
|
# This program is free software: you can redistribute it and/or modify
|
14
14
|
# it under the terms of the GNU Affero General Public License as
|
@@ -5,10 +5,10 @@
|
|
5
5
|
# |_|\_\__,_|_|\__|\_,_|_| \__,_|
|
6
6
|
#
|
7
7
|
# This file is part of the Kaltura Collaborative Media Suite which allows users
|
8
|
-
# to do with audio, video, and animation what Wiki
|
8
|
+
# to do with audio, video, and animation what Wiki platforms allow them to do with
|
9
9
|
# text.
|
10
10
|
#
|
11
|
-
# Copyright (C) 2006-
|
11
|
+
# Copyright (C) 2006-2021 Kaltura Inc.
|
12
12
|
#
|
13
13
|
# This program is free software: you can redistribute it and/or modify
|
14
14
|
# it under the terms of the GNU Affero General Public License as
|
@@ -5,10 +5,10 @@
|
|
5
5
|
# |_|\_\__,_|_|\__|\_,_|_| \__,_|
|
6
6
|
#
|
7
7
|
# This file is part of the Kaltura Collaborative Media Suite which allows users
|
8
|
-
# to do with audio, video, and animation what Wiki
|
8
|
+
# to do with audio, video, and animation what Wiki platforms allow them to do with
|
9
9
|
# text.
|
10
10
|
#
|
11
|
-
# Copyright (C) 2006-
|
11
|
+
# Copyright (C) 2006-2021 Kaltura Inc.
|
12
12
|
#
|
13
13
|
# This program is free software: you can redistribute it and/or modify
|
14
14
|
# it under the terms of the GNU Affero General Public License as
|
@@ -5,10 +5,10 @@
|
|
5
5
|
# |_|\_\__,_|_|\__|\_,_|_| \__,_|
|
6
6
|
#
|
7
7
|
# This file is part of the Kaltura Collaborative Media Suite which allows users
|
8
|
-
# to do with audio, video, and animation what Wiki
|
8
|
+
# to do with audio, video, and animation what Wiki platforms allow them to do with
|
9
9
|
# text.
|
10
10
|
#
|
11
|
-
# Copyright (C) 2006-
|
11
|
+
# Copyright (C) 2006-2021 Kaltura Inc.
|
12
12
|
#
|
13
13
|
# This program is free software: you can redistribute it and/or modify
|
14
14
|
# it under the terms of the GNU Affero General Public License as
|
@@ -5,10 +5,10 @@
|
|
5
5
|
# |_|\_\__,_|_|\__|\_,_|_| \__,_|
|
6
6
|
#
|
7
7
|
# This file is part of the Kaltura Collaborative Media Suite which allows users
|
8
|
-
# to do with audio, video, and animation what Wiki
|
8
|
+
# to do with audio, video, and animation what Wiki platforms allow them to do with
|
9
9
|
# text.
|
10
10
|
#
|
11
|
-
# Copyright (C) 2006-
|
11
|
+
# Copyright (C) 2006-2021 Kaltura Inc.
|
12
12
|
#
|
13
13
|
# This program is free software: you can redistribute it and/or modify
|
14
14
|
# it under the terms of the GNU Affero General Public License as
|
@@ -5,10 +5,10 @@
|
|
5
5
|
# |_|\_\__,_|_|\__|\_,_|_| \__,_|
|
6
6
|
#
|
7
7
|
# This file is part of the Kaltura Collaborative Media Suite which allows users
|
8
|
-
# to do with audio, video, and animation what Wiki
|
8
|
+
# to do with audio, video, and animation what Wiki platforms allow them to do with
|
9
9
|
# text.
|
10
10
|
#
|
11
|
-
# Copyright (C) 2006-
|
11
|
+
# Copyright (C) 2006-2021 Kaltura Inc.
|
12
12
|
#
|
13
13
|
# This program is free software: you can redistribute it and/or modify
|
14
14
|
# it under the terms of the GNU Affero General Public License as
|
@@ -5,10 +5,10 @@
|
|
5
5
|
# |_|\_\__,_|_|\__|\_,_|_| \__,_|
|
6
6
|
#
|
7
7
|
# This file is part of the Kaltura Collaborative Media Suite which allows users
|
8
|
-
# to do with audio, video, and animation what Wiki
|
8
|
+
# to do with audio, video, and animation what Wiki platforms allow them to do with
|
9
9
|
# text.
|
10
10
|
#
|
11
|
-
# Copyright (C) 2006-
|
11
|
+
# Copyright (C) 2006-2021 Kaltura Inc.
|
12
12
|
#
|
13
13
|
# This program is free software: you can redistribute it and/or modify
|
14
14
|
# it under the terms of the GNU Affero General Public License as
|
data/lib/kaltura_types.rb
CHANGED
@@ -5,10 +5,10 @@
|
|
5
5
|
# |_|\_\__,_|_|\__|\_,_|_| \__,_|
|
6
6
|
#
|
7
7
|
# This file is part of the Kaltura Collaborative Media Suite which allows users
|
8
|
-
# to do with audio, video, and animation what Wiki
|
8
|
+
# to do with audio, video, and animation what Wiki platforms allow them to do with
|
9
9
|
# text.
|
10
10
|
#
|
11
|
-
# Copyright (C) 2006-
|
11
|
+
# Copyright (C) 2006-2021 Kaltura Inc.
|
12
12
|
#
|
13
13
|
# This program is free software: you can redistribute it and/or modify
|
14
14
|
# it under the terms of the GNU Affero General Public License as
|
@@ -952,6 +952,8 @@ module Kaltura
|
|
952
952
|
attr_accessor :application
|
953
953
|
# Entry application version
|
954
954
|
attr_accessor :application_version
|
955
|
+
# Block auto transcript on Entry
|
956
|
+
attr_accessor :block_auto_transcript
|
955
957
|
|
956
958
|
def partner_id=(val)
|
957
959
|
@partner_id = val.to_i
|
@@ -1004,6 +1006,9 @@ module Kaltura
|
|
1004
1006
|
def display_in_search=(val)
|
1005
1007
|
@display_in_search = val.to_i
|
1006
1008
|
end
|
1009
|
+
def block_auto_transcript=(val)
|
1010
|
+
@block_auto_transcript = to_b(val)
|
1011
|
+
end
|
1007
1012
|
|
1008
1013
|
def from_xml(xml_element)
|
1009
1014
|
super
|
@@ -1148,6 +1153,9 @@ module Kaltura
|
|
1148
1153
|
if xml_element.elements['applicationVersion'] != nil
|
1149
1154
|
self.application_version = xml_element.elements['applicationVersion'].text
|
1150
1155
|
end
|
1156
|
+
if xml_element.elements['blockAutoTranscript'] != nil
|
1157
|
+
self.block_auto_transcript = xml_element.elements['blockAutoTranscript'].text
|
1158
|
+
end
|
1151
1159
|
end
|
1152
1160
|
|
1153
1161
|
end
|
@@ -1954,6 +1962,12 @@ module Kaltura
|
|
1954
1962
|
attr_accessor :usage_limit_warning
|
1955
1963
|
attr_accessor :last_free_trial_notification_day
|
1956
1964
|
attr_accessor :monitor_usage
|
1965
|
+
attr_accessor :password_structure_validations
|
1966
|
+
attr_accessor :password_structure_validations_description
|
1967
|
+
attr_accessor :pass_replace_freq
|
1968
|
+
attr_accessor :max_login_attempts
|
1969
|
+
attr_accessor :login_block_period
|
1970
|
+
attr_accessor :num_prev_pass_to_keep
|
1957
1971
|
|
1958
1972
|
def id=(val)
|
1959
1973
|
@id = val.to_i
|
@@ -2051,6 +2065,18 @@ module Kaltura
|
|
2051
2065
|
def monitor_usage=(val)
|
2052
2066
|
@monitor_usage = val.to_i
|
2053
2067
|
end
|
2068
|
+
def pass_replace_freq=(val)
|
2069
|
+
@pass_replace_freq = val.to_i
|
2070
|
+
end
|
2071
|
+
def max_login_attempts=(val)
|
2072
|
+
@max_login_attempts = val.to_i
|
2073
|
+
end
|
2074
|
+
def login_block_period=(val)
|
2075
|
+
@login_block_period = val.to_i
|
2076
|
+
end
|
2077
|
+
def num_prev_pass_to_keep=(val)
|
2078
|
+
@num_prev_pass_to_keep = val.to_i
|
2079
|
+
end
|
2054
2080
|
|
2055
2081
|
def from_xml(xml_element)
|
2056
2082
|
super
|
@@ -2258,6 +2284,24 @@ module Kaltura
|
|
2258
2284
|
if xml_element.elements['monitorUsage'] != nil
|
2259
2285
|
self.monitor_usage = xml_element.elements['monitorUsage'].text
|
2260
2286
|
end
|
2287
|
+
if xml_element.elements['passwordStructureValidations'] != nil
|
2288
|
+
self.password_structure_validations = xml_element.elements['passwordStructureValidations'].text
|
2289
|
+
end
|
2290
|
+
if xml_element.elements['passwordStructureValidationsDescription'] != nil
|
2291
|
+
self.password_structure_validations_description = xml_element.elements['passwordStructureValidationsDescription'].text
|
2292
|
+
end
|
2293
|
+
if xml_element.elements['passReplaceFreq'] != nil
|
2294
|
+
self.pass_replace_freq = xml_element.elements['passReplaceFreq'].text
|
2295
|
+
end
|
2296
|
+
if xml_element.elements['maxLoginAttempts'] != nil
|
2297
|
+
self.max_login_attempts = xml_element.elements['maxLoginAttempts'].text
|
2298
|
+
end
|
2299
|
+
if xml_element.elements['loginBlockPeriod'] != nil
|
2300
|
+
self.login_block_period = xml_element.elements['loginBlockPeriod'].text
|
2301
|
+
end
|
2302
|
+
if xml_element.elements['numPrevPassToKeep'] != nil
|
2303
|
+
self.num_prev_pass_to_keep = xml_element.elements['numPrevPassToKeep'].text
|
2304
|
+
end
|
2261
2305
|
end
|
2262
2306
|
|
2263
2307
|
end
|
@@ -2639,6 +2683,7 @@ module Kaltura
|
|
2639
2683
|
attr_accessor :is_aggregation_category
|
2640
2684
|
# List of aggregation channels the category belongs to
|
2641
2685
|
attr_accessor :aggregation_categories
|
2686
|
+
attr_accessor :admin_tags
|
2642
2687
|
|
2643
2688
|
def id=(val)
|
2644
2689
|
@id = val.to_i
|
@@ -2817,6 +2862,9 @@ module Kaltura
|
|
2817
2862
|
if xml_element.elements['aggregationCategories'] != nil
|
2818
2863
|
self.aggregation_categories = xml_element.elements['aggregationCategories'].text
|
2819
2864
|
end
|
2865
|
+
if xml_element.elements['adminTags'] != nil
|
2866
|
+
self.admin_tags = xml_element.elements['adminTags'].text
|
2867
|
+
end
|
2820
2868
|
end
|
2821
2869
|
|
2822
2870
|
end
|
@@ -4165,6 +4213,9 @@ module Kaltura
|
|
4165
4213
|
attr_accessor :login_enabled
|
4166
4214
|
attr_accessor :registration_info
|
4167
4215
|
attr_accessor :attendance_info
|
4216
|
+
attr_accessor :title
|
4217
|
+
attr_accessor :company
|
4218
|
+
attr_accessor :ks_privileges
|
4168
4219
|
|
4169
4220
|
def type=(val)
|
4170
4221
|
@type = val.to_i
|
@@ -4226,6 +4277,15 @@ module Kaltura
|
|
4226
4277
|
if xml_element.elements['attendanceInfo'] != nil
|
4227
4278
|
self.attendance_info = xml_element.elements['attendanceInfo'].text
|
4228
4279
|
end
|
4280
|
+
if xml_element.elements['title'] != nil
|
4281
|
+
self.title = xml_element.elements['title'].text
|
4282
|
+
end
|
4283
|
+
if xml_element.elements['company'] != nil
|
4284
|
+
self.company = xml_element.elements['company'].text
|
4285
|
+
end
|
4286
|
+
if xml_element.elements['ksPrivileges'] != nil
|
4287
|
+
self.ks_privileges = xml_element.elements['ksPrivileges'].text
|
4288
|
+
end
|
4229
4289
|
end
|
4230
4290
|
|
4231
4291
|
end
|
@@ -4548,6 +4608,7 @@ module Kaltura
|
|
4548
4608
|
end
|
4549
4609
|
|
4550
4610
|
class KalturaStreamContainer < KalturaObjectBase
|
4611
|
+
attr_accessor :id
|
4551
4612
|
attr_accessor :type
|
4552
4613
|
attr_accessor :track_index
|
4553
4614
|
attr_accessor :language
|
@@ -4564,6 +4625,9 @@ module Kaltura
|
|
4564
4625
|
|
4565
4626
|
def from_xml(xml_element)
|
4566
4627
|
super
|
4628
|
+
if xml_element.elements['id'] != nil
|
4629
|
+
self.id = xml_element.elements['id'].text
|
4630
|
+
end
|
4567
4631
|
if xml_element.elements['type'] != nil
|
4568
4632
|
self.type = xml_element.elements['type'].text
|
4569
4633
|
end
|
@@ -8148,6 +8212,7 @@ module Kaltura
|
|
8148
8212
|
attr_accessor :actions
|
8149
8213
|
# Array of actions as received from the rules that invalidated
|
8150
8214
|
attr_accessor :messages
|
8215
|
+
attr_accessor :bumper_data
|
8151
8216
|
|
8152
8217
|
|
8153
8218
|
def from_xml(xml_element)
|
@@ -8167,6 +8232,9 @@ module Kaltura
|
|
8167
8232
|
if xml_element.elements['messages'] != nil
|
8168
8233
|
self.messages = KalturaClientBase.object_from_xml(xml_element.elements['messages'], 'KalturaAccessControlMessage')
|
8169
8234
|
end
|
8235
|
+
if xml_element.elements['bumperData'] != nil
|
8236
|
+
self.bumper_data = KalturaClientBase.object_from_xml(xml_element.elements['bumperData'], 'KalturaObject')
|
8237
|
+
end
|
8170
8238
|
end
|
8171
8239
|
|
8172
8240
|
end
|
@@ -8496,6 +8564,14 @@ module Kaltura
|
|
8496
8564
|
attr_accessor :categories_ancestor_id_in
|
8497
8565
|
# filter by hotspot id
|
8498
8566
|
attr_accessor :hotspot_id_in
|
8567
|
+
# filter by crm id
|
8568
|
+
attr_accessor :crm_id_in
|
8569
|
+
# filter by playlist id
|
8570
|
+
attr_accessor :playlist_id_in
|
8571
|
+
# filter by domain
|
8572
|
+
attr_accessor :domain_in
|
8573
|
+
# filter by canonical url
|
8574
|
+
attr_accessor :canonical_url_in
|
8499
8575
|
|
8500
8576
|
def search_in_tags=(val)
|
8501
8577
|
@search_in_tags = to_b(val)
|
@@ -8620,6 +8696,18 @@ module Kaltura
|
|
8620
8696
|
if xml_element.elements['hotspotIdIn'] != nil
|
8621
8697
|
self.hotspot_id_in = xml_element.elements['hotspotIdIn'].text
|
8622
8698
|
end
|
8699
|
+
if xml_element.elements['crmIdIn'] != nil
|
8700
|
+
self.crm_id_in = xml_element.elements['crmIdIn'].text
|
8701
|
+
end
|
8702
|
+
if xml_element.elements['playlistIdIn'] != nil
|
8703
|
+
self.playlist_id_in = xml_element.elements['playlistIdIn'].text
|
8704
|
+
end
|
8705
|
+
if xml_element.elements['domainIn'] != nil
|
8706
|
+
self.domain_in = xml_element.elements['domainIn'].text
|
8707
|
+
end
|
8708
|
+
if xml_element.elements['canonicalUrlIn'] != nil
|
8709
|
+
self.canonical_url_in = xml_element.elements['canonicalUrlIn'].text
|
8710
|
+
end
|
8623
8711
|
end
|
8624
8712
|
|
8625
8713
|
end
|
@@ -13440,6 +13528,7 @@ module Kaltura
|
|
13440
13528
|
attr_accessor :user_mail
|
13441
13529
|
# The file location
|
13442
13530
|
attr_accessor :output_path
|
13531
|
+
attr_accessor :shared_output_path
|
13443
13532
|
|
13444
13533
|
|
13445
13534
|
def from_xml(xml_element)
|
@@ -13453,6 +13542,9 @@ module Kaltura
|
|
13453
13542
|
if xml_element.elements['outputPath'] != nil
|
13454
13543
|
self.output_path = xml_element.elements['outputPath'].text
|
13455
13544
|
end
|
13545
|
+
if xml_element.elements['sharedOutputPath'] != nil
|
13546
|
+
self.shared_output_path = xml_element.elements['sharedOutputPath'].text
|
13547
|
+
end
|
13456
13548
|
end
|
13457
13549
|
|
13458
13550
|
end
|
@@ -13666,6 +13758,7 @@ module Kaltura
|
|
13666
13758
|
attr_accessor :dest_file_local_path
|
13667
13759
|
attr_accessor :flavor_asset_id
|
13668
13760
|
attr_accessor :file_size
|
13761
|
+
attr_accessor :dest_file_shared_path
|
13669
13762
|
|
13670
13763
|
def file_size=(val)
|
13671
13764
|
@file_size = val.to_i
|
@@ -13685,6 +13778,9 @@ module Kaltura
|
|
13685
13778
|
if xml_element.elements['fileSize'] != nil
|
13686
13779
|
self.file_size = xml_element.elements['fileSize'].text
|
13687
13780
|
end
|
13781
|
+
if xml_element.elements['destFileSharedPath'] != nil
|
13782
|
+
self.dest_file_shared_path = xml_element.elements['destFileSharedPath'].text
|
13783
|
+
end
|
13688
13784
|
end
|
13689
13785
|
|
13690
13786
|
end
|
@@ -13842,10 +13938,14 @@ module Kaltura
|
|
13842
13938
|
attr_accessor :streams
|
13843
13939
|
attr_accessor :recording_info
|
13844
13940
|
attr_accessor :is_playable_user
|
13941
|
+
attr_accessor :view_mode
|
13845
13942
|
|
13846
13943
|
def is_playable_user=(val)
|
13847
13944
|
@is_playable_user = to_b(val)
|
13848
13945
|
end
|
13946
|
+
def view_mode=(val)
|
13947
|
+
@view_mode = val.to_i
|
13948
|
+
end
|
13849
13949
|
|
13850
13950
|
def from_xml(xml_element)
|
13851
13951
|
super
|
@@ -13858,6 +13958,9 @@ module Kaltura
|
|
13858
13958
|
if xml_element.elements['isPlayableUser'] != nil
|
13859
13959
|
self.is_playable_user = xml_element.elements['isPlayableUser'].text
|
13860
13960
|
end
|
13961
|
+
if xml_element.elements['viewMode'] != nil
|
13962
|
+
self.view_mode = xml_element.elements['viewMode'].text
|
13963
|
+
end
|
13861
13964
|
end
|
13862
13965
|
|
13863
13966
|
end
|
@@ -17546,6 +17649,33 @@ module Kaltura
|
|
17546
17649
|
|
17547
17650
|
end
|
17548
17651
|
|
17652
|
+
class KalturaMappedObjectsCsvJobData < KalturaExportCsvJobData
|
17653
|
+
# The metadata profile we should look the xpath in
|
17654
|
+
attr_accessor :metadata_profile_id
|
17655
|
+
# The xpath to look in the metadataProfileId and the wanted csv field name
|
17656
|
+
attr_accessor :additional_fields
|
17657
|
+
# Array of header names and their mapped user fields
|
17658
|
+
attr_accessor :mapped_fields
|
17659
|
+
|
17660
|
+
def metadata_profile_id=(val)
|
17661
|
+
@metadata_profile_id = val.to_i
|
17662
|
+
end
|
17663
|
+
|
17664
|
+
def from_xml(xml_element)
|
17665
|
+
super
|
17666
|
+
if xml_element.elements['metadataProfileId'] != nil
|
17667
|
+
self.metadata_profile_id = xml_element.elements['metadataProfileId'].text
|
17668
|
+
end
|
17669
|
+
if xml_element.elements['additionalFields'] != nil
|
17670
|
+
self.additional_fields = KalturaClientBase.object_from_xml(xml_element.elements['additionalFields'], 'KalturaCsvAdditionalFieldInfo')
|
17671
|
+
end
|
17672
|
+
if xml_element.elements['mappedFields'] != nil
|
17673
|
+
self.mapped_fields = KalturaClientBase.object_from_xml(xml_element.elements['mappedFields'], 'KalturaKeyValue')
|
17674
|
+
end
|
17675
|
+
end
|
17676
|
+
|
17677
|
+
end
|
17678
|
+
|
17549
17679
|
class KalturaMediaFlavorParams < KalturaFlavorParams
|
17550
17680
|
|
17551
17681
|
|
@@ -18358,33 +18488,6 @@ module Kaltura
|
|
18358
18488
|
|
18359
18489
|
end
|
18360
18490
|
|
18361
|
-
class KalturaUsersCsvJobData < KalturaExportCsvJobData
|
18362
|
-
# The filter should return the list of users that need to be specified in the csv.
|
18363
|
-
attr_accessor :filter
|
18364
|
-
# The metadata profile we should look the xpath in
|
18365
|
-
attr_accessor :metadata_profile_id
|
18366
|
-
# The xpath to look in the metadataProfileId and the wanted csv field name
|
18367
|
-
attr_accessor :additional_fields
|
18368
|
-
|
18369
|
-
def metadata_profile_id=(val)
|
18370
|
-
@metadata_profile_id = val.to_i
|
18371
|
-
end
|
18372
|
-
|
18373
|
-
def from_xml(xml_element)
|
18374
|
-
super
|
18375
|
-
if xml_element.elements['filter'] != nil
|
18376
|
-
self.filter = KalturaClientBase.object_from_xml(xml_element.elements['filter'], 'KalturaUserFilter')
|
18377
|
-
end
|
18378
|
-
if xml_element.elements['metadataProfileId'] != nil
|
18379
|
-
self.metadata_profile_id = xml_element.elements['metadataProfileId'].text
|
18380
|
-
end
|
18381
|
-
if xml_element.elements['additionalFields'] != nil
|
18382
|
-
self.additional_fields = KalturaClientBase.object_from_xml(xml_element.elements['additionalFields'], 'KalturaCsvAdditionalFieldInfo')
|
18383
|
-
end
|
18384
|
-
end
|
18385
|
-
|
18386
|
-
end
|
18387
|
-
|
18388
18491
|
class KalturaWidgetFilter < KalturaWidgetBaseFilter
|
18389
18492
|
|
18390
18493
|
|
@@ -18797,6 +18900,20 @@ module Kaltura
|
|
18797
18900
|
|
18798
18901
|
end
|
18799
18902
|
|
18903
|
+
class KalturaEntriesCsvJobData < KalturaMappedObjectsCsvJobData
|
18904
|
+
# The filter should return the list of entries that need to be specified in the csv.
|
18905
|
+
attr_accessor :filter
|
18906
|
+
|
18907
|
+
|
18908
|
+
def from_xml(xml_element)
|
18909
|
+
super
|
18910
|
+
if xml_element.elements['filter'] != nil
|
18911
|
+
self.filter = KalturaClientBase.object_from_xml(xml_element.elements['filter'], 'KalturaBaseEntryFilter')
|
18912
|
+
end
|
18913
|
+
end
|
18914
|
+
|
18915
|
+
end
|
18916
|
+
|
18800
18917
|
# Evaluates PHP statement, depends on the execution context
|
18801
18918
|
class KalturaEvalBooleanField < KalturaBooleanField
|
18802
18919
|
# PHP code
|
@@ -19385,6 +19502,20 @@ module Kaltura
|
|
19385
19502
|
|
19386
19503
|
end
|
19387
19504
|
|
19505
|
+
class KalturaUsersCsvJobData < KalturaMappedObjectsCsvJobData
|
19506
|
+
# The filter should return the list of users that need to be specified in the csv.
|
19507
|
+
attr_accessor :filter
|
19508
|
+
|
19509
|
+
|
19510
|
+
def from_xml(xml_element)
|
19511
|
+
super
|
19512
|
+
if xml_element.elements['filter'] != nil
|
19513
|
+
self.filter = KalturaClientBase.object_from_xml(xml_element.elements['filter'], 'KalturaUserFilter')
|
19514
|
+
end
|
19515
|
+
end
|
19516
|
+
|
19517
|
+
end
|
19518
|
+
|
19388
19519
|
# Used to ingest media that streamed to the system and represented by token that returned from media server such as FMS or red5.
|
19389
19520
|
class KalturaWebcamTokenResource < KalturaDataCenterContentResource
|
19390
19521
|
# Token that returned from media server such as FMS or red5.
|