kaltura-client 16.14.0 → 17.11.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 +60 -6
- data/lib/kaltura_enums.rb +14 -2
- 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 +9 -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 +3 -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 +69 -33
- 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 +166 -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 +228 -29
- 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 +220 -58
- 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
|
@@ -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
|
@@ -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
|
@@ -35,64 +35,129 @@ 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
|
41
47
|
REMOVE_POSTFIX = 2
|
48
|
+
CMS_MATCHING = 3
|
42
49
|
end
|
43
50
|
|
44
|
-
class
|
51
|
+
class KalturaIntegrationSetting < KalturaObjectBase
|
52
|
+
attr_accessor :id
|
53
|
+
attr_accessor :status
|
45
54
|
attr_accessor :default_user_id
|
46
|
-
attr_accessor :zoom_category
|
47
55
|
attr_accessor :account_id
|
48
|
-
attr_accessor :enable_recording_upload
|
49
56
|
attr_accessor :create_user_if_not_exist
|
50
|
-
attr_accessor :handle_participants_mode
|
51
|
-
attr_accessor :zoom_user_matching_mode
|
52
|
-
attr_accessor :zoom_user_postfix
|
53
|
-
attr_accessor :zoom_webinar_category
|
54
|
-
attr_accessor :enable_webinar_uploads
|
55
57
|
attr_accessor :conversion_profile_id
|
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
|
56
63
|
|
57
|
-
def
|
58
|
-
@
|
64
|
+
def id=(val)
|
65
|
+
@id = val.to_i
|
66
|
+
end
|
67
|
+
def status=(val)
|
68
|
+
@status = val.to_i
|
59
69
|
end
|
60
70
|
def create_user_if_not_exist=(val)
|
61
71
|
@create_user_if_not_exist = val.to_i
|
62
72
|
end
|
73
|
+
def conversion_profile_id=(val)
|
74
|
+
@conversion_profile_id = val.to_i
|
75
|
+
end
|
63
76
|
def handle_participants_mode=(val)
|
64
77
|
@handle_participants_mode = val.to_i
|
65
78
|
end
|
66
|
-
def
|
67
|
-
@
|
68
|
-
end
|
69
|
-
def enable_webinar_uploads=(val)
|
70
|
-
@enable_webinar_uploads = val.to_i
|
79
|
+
def deletion_policy=(val)
|
80
|
+
@deletion_policy = val.to_i
|
71
81
|
end
|
72
|
-
def
|
73
|
-
@
|
82
|
+
def partner_id=(val)
|
83
|
+
@partner_id = val.to_i
|
74
84
|
end
|
75
85
|
|
76
86
|
def from_xml(xml_element)
|
77
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
|
78
94
|
if xml_element.elements['defaultUserId'] != nil
|
79
95
|
self.default_user_id = xml_element.elements['defaultUserId'].text
|
80
96
|
end
|
81
|
-
if xml_element.elements['zoomCategory'] != nil
|
82
|
-
self.zoom_category = xml_element.elements['zoomCategory'].text
|
83
|
-
end
|
84
97
|
if xml_element.elements['accountId'] != nil
|
85
98
|
self.account_id = xml_element.elements['accountId'].text
|
86
99
|
end
|
87
|
-
if xml_element.elements['enableRecordingUpload'] != nil
|
88
|
-
self.enable_recording_upload = xml_element.elements['enableRecordingUpload'].text
|
89
|
-
end
|
90
100
|
if xml_element.elements['createUserIfNotExist'] != nil
|
91
101
|
self.create_user_if_not_exist = xml_element.elements['createUserIfNotExist'].text
|
92
102
|
end
|
103
|
+
if xml_element.elements['conversionProfileId'] != nil
|
104
|
+
self.conversion_profile_id = xml_element.elements['conversionProfileId'].text
|
105
|
+
end
|
93
106
|
if xml_element.elements['handleParticipantsMode'] != nil
|
94
107
|
self.handle_participants_mode = xml_element.elements['handleParticipantsMode'].text
|
95
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
|
128
|
+
attr_accessor :zoom_user_matching_mode
|
129
|
+
attr_accessor :zoom_user_postfix
|
130
|
+
attr_accessor :zoom_webinar_category
|
131
|
+
attr_accessor :enable_webinar_uploads
|
132
|
+
attr_accessor :jwt_token
|
133
|
+
attr_accessor :enable_zoom_transcription
|
134
|
+
attr_accessor :zoom_account_description
|
135
|
+
attr_accessor :enable_meeting_upload
|
136
|
+
|
137
|
+
def enable_recording_upload=(val)
|
138
|
+
@enable_recording_upload = val.to_i
|
139
|
+
end
|
140
|
+
def zoom_user_matching_mode=(val)
|
141
|
+
@zoom_user_matching_mode = val.to_i
|
142
|
+
end
|
143
|
+
def enable_webinar_uploads=(val)
|
144
|
+
@enable_webinar_uploads = val.to_i
|
145
|
+
end
|
146
|
+
def enable_zoom_transcription=(val)
|
147
|
+
@enable_zoom_transcription = val.to_i
|
148
|
+
end
|
149
|
+
def enable_meeting_upload=(val)
|
150
|
+
@enable_meeting_upload = val.to_i
|
151
|
+
end
|
152
|
+
|
153
|
+
def from_xml(xml_element)
|
154
|
+
super
|
155
|
+
if xml_element.elements['zoomCategory'] != nil
|
156
|
+
self.zoom_category = xml_element.elements['zoomCategory'].text
|
157
|
+
end
|
158
|
+
if xml_element.elements['enableRecordingUpload'] != nil
|
159
|
+
self.enable_recording_upload = xml_element.elements['enableRecordingUpload'].text
|
160
|
+
end
|
96
161
|
if xml_element.elements['zoomUserMatchingMode'] != nil
|
97
162
|
self.zoom_user_matching_mode = xml_element.elements['zoomUserMatchingMode'].text
|
98
163
|
end
|
@@ -105,8 +170,30 @@ module Kaltura
|
|
105
170
|
if xml_element.elements['enableWebinarUploads'] != nil
|
106
171
|
self.enable_webinar_uploads = xml_element.elements['enableWebinarUploads'].text
|
107
172
|
end
|
108
|
-
if xml_element.elements['
|
109
|
-
self.
|
173
|
+
if xml_element.elements['jwtToken'] != nil
|
174
|
+
self.jwt_token = xml_element.elements['jwtToken'].text
|
175
|
+
end
|
176
|
+
if xml_element.elements['enableZoomTranscription'] != nil
|
177
|
+
self.enable_zoom_transcription = xml_element.elements['enableZoomTranscription'].text
|
178
|
+
end
|
179
|
+
if xml_element.elements['zoomAccountDescription'] != nil
|
180
|
+
self.zoom_account_description = xml_element.elements['zoomAccountDescription'].text
|
181
|
+
end
|
182
|
+
if xml_element.elements['enableMeetingUpload'] != nil
|
183
|
+
self.enable_meeting_upload = xml_element.elements['enableMeetingUpload'].text
|
184
|
+
end
|
185
|
+
end
|
186
|
+
|
187
|
+
end
|
188
|
+
|
189
|
+
class KalturaZoomIntegrationSettingResponse < KalturaListResponse
|
190
|
+
attr_accessor :objects
|
191
|
+
|
192
|
+
|
193
|
+
def from_xml(xml_element)
|
194
|
+
super
|
195
|
+
if xml_element.elements['objects'] != nil
|
196
|
+
self.objects = KalturaClientBase.object_from_xml(xml_element.elements['objects'], 'KalturaZoomIntegrationSetting')
|
110
197
|
end
|
111
198
|
end
|
112
199
|
|
@@ -152,10 +239,45 @@ module Kaltura
|
|
152
239
|
return client.do_queue()
|
153
240
|
end
|
154
241
|
|
155
|
-
#
|
242
|
+
# List KalturaZoomIntegrationSetting objects
|
243
|
+
# @return [KalturaZoomIntegrationSettingResponse]
|
244
|
+
def list(pager=KalturaNotImplemented)
|
245
|
+
kparams = {}
|
246
|
+
client.add_param(kparams, 'pager', pager)
|
247
|
+
client.queue_service_action_call('vendor_zoomvendor', 'list', 'KalturaZoomIntegrationSettingResponse', kparams)
|
248
|
+
if (client.is_multirequest)
|
249
|
+
return nil
|
250
|
+
end
|
251
|
+
return client.do_queue()
|
252
|
+
end
|
253
|
+
|
254
|
+
# @return []
|
255
|
+
def local_registration_page(jwt)
|
256
|
+
kparams = {}
|
257
|
+
client.add_param(kparams, 'jwt', jwt)
|
258
|
+
client.queue_service_action_call('vendor_zoomvendor', 'localRegistrationPage', '', kparams)
|
259
|
+
if (client.is_multirequest)
|
260
|
+
return nil
|
261
|
+
end
|
262
|
+
return client.do_queue()
|
263
|
+
end
|
264
|
+
|
265
|
+
# load html page the that will ask the user for its KMC URL, derive the region of the user from it,
|
266
|
+
# and redirect to the registration page in the correct region, while forwarding the necessary code for registration
|
267
|
+
# @return []
|
156
268
|
def oauth_validation()
|
157
269
|
kparams = {}
|
158
|
-
client.queue_service_action_call('vendor_zoomvendor', 'oauthValidation', '
|
270
|
+
client.queue_service_action_call('vendor_zoomvendor', 'oauthValidation', '', kparams)
|
271
|
+
if (client.is_multirequest)
|
272
|
+
return nil
|
273
|
+
end
|
274
|
+
return client.do_queue()
|
275
|
+
end
|
276
|
+
|
277
|
+
# @return [string]
|
278
|
+
def pre_oauth_validation()
|
279
|
+
kparams = {}
|
280
|
+
client.queue_service_action_call('vendor_zoomvendor', 'preOauthValidation', 'string', kparams)
|
159
281
|
if (client.is_multirequest)
|
160
282
|
return nil
|
161
283
|
end
|
@@ -185,6 +307,75 @@ module Kaltura
|
|
185
307
|
end
|
186
308
|
end
|
187
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
|
+
|
188
379
|
class KalturaClient < KalturaClientBase
|
189
380
|
attr_reader :zoom_vendor_service
|
190
381
|
def zoom_vendor_service
|
@@ -194,6 +385,14 @@ module Kaltura
|
|
194
385
|
return @zoom_vendor_service
|
195
386
|
end
|
196
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
|
+
|
197
396
|
end
|
198
397
|
|
199
398
|
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
|