kaltura-client 16.5.0 → 16.8.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 +4 -3
- data/lib/kaltura_enums.rb +19 -0
- data/lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb +12 -0
- data/lib/kaltura_plugins/kaltura_http_notification_client_plugin.rb +5 -0
- data/lib/kaltura_plugins/kaltura_reach_client_plugin.rb +25 -0
- data/lib/kaltura_plugins/kaltura_sip_client_plugin.rb +10 -3
- data/lib/kaltura_types.rb +34 -0
- 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: 9ce7ad2c1ba3b0fbce5a83b65cf61c50391dd211265efbec4d7cf01456908283
|
4
|
+
data.tar.gz: fbdd2afb79433ee1eff09bd9a501aff19a44f886e118fd821ddf39aa42e88cbb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61fd5f35db2ff11daffc2361af4b89444966b29f91351560a260d27e135824e7ff01716283355df3b67071ce738fdb82c50fcd0fd900e0312bc5f37b9b993b0a
|
7
|
+
data.tar.gz: 23742d7ec237aa96a8220feea82ec02834598dd7041f3a07d7c95d124de53e3d907aa41cb02fc0a71062ff04b093f0d53baa66c7e77c798a9fa3a0c032fb61d3
|
data/README
CHANGED
data/lib/kaltura_client.rb
CHANGED
@@ -5699,9 +5699,10 @@ module Kaltura
|
|
5699
5699
|
|
5700
5700
|
# Reset user's password and send the user an email to generate a new one.
|
5701
5701
|
# @return []
|
5702
|
-
def reset_password(email)
|
5702
|
+
def reset_password(email, link_type=KalturaNotImplemented)
|
5703
5703
|
kparams = {}
|
5704
5704
|
client.add_param(kparams, 'email', email)
|
5705
|
+
client.add_param(kparams, 'linkType', link_type)
|
5705
5706
|
client.queue_service_action_call('user', 'resetPassword', '', kparams)
|
5706
5707
|
if (client.is_multirequest)
|
5707
5708
|
return nil
|
@@ -6293,8 +6294,8 @@ module Kaltura
|
|
6293
6294
|
|
6294
6295
|
def initialize(client)
|
6295
6296
|
super(client)
|
6296
|
-
self.client_tag = 'ruby:20-
|
6297
|
-
self.api_version = '16.
|
6297
|
+
self.client_tag = 'ruby:20-09-24'
|
6298
|
+
self.api_version = '16.8.0'
|
6298
6299
|
end
|
6299
6300
|
|
6300
6301
|
def client_tag=(value)
|
data/lib/kaltura_enums.rb
CHANGED
@@ -1135,6 +1135,7 @@ module Kaltura
|
|
1135
1135
|
STORAGE_PERIODIC_EXPORT = "53"
|
1136
1136
|
STORAGE_PERIODIC_PURGE = "54"
|
1137
1137
|
STORAGE_PERIODIC_DELETE_LOCAL = "55"
|
1138
|
+
REACH_JOB_CLEANER = "56"
|
1138
1139
|
end
|
1139
1140
|
|
1140
1141
|
class KalturaBulkUploadAction
|
@@ -1622,6 +1623,17 @@ module Kaltura
|
|
1622
1623
|
UPDATED_AT_DESC = "-updatedAt"
|
1623
1624
|
end
|
1624
1625
|
|
1626
|
+
class KalturaEntryApplication
|
1627
|
+
KMC = "0"
|
1628
|
+
KMS = "1"
|
1629
|
+
KAF = "2"
|
1630
|
+
PITCH = "3"
|
1631
|
+
KMS_GO = "4"
|
1632
|
+
WEBCAST_APP = "5"
|
1633
|
+
PERSONAL_CAPTURE = "6"
|
1634
|
+
KALTURA_MEETING = "7"
|
1635
|
+
end
|
1636
|
+
|
1625
1637
|
class KalturaEntryIdentifierField
|
1626
1638
|
ID = "id"
|
1627
1639
|
REFERENCE_ID = "referenceId"
|
@@ -3531,6 +3543,8 @@ module Kaltura
|
|
3531
3543
|
INTERCATIVE_VIDEO_NODE_SWITCH_TOP_HOTSPOTS = "55"
|
3532
3544
|
INTERACTIVE_VIDEO_HOTSPOT_CLICKED_PERCENTILES = "56"
|
3533
3545
|
INTERACTIVE_VIDEO_NODE_SWITCH_HOTSPOT_CLICKED_PERCENTILES = "57"
|
3546
|
+
TOP_CUSTOM_VAR2 = "58"
|
3547
|
+
TOP_CUSTOM_VAR3 = "59"
|
3534
3548
|
PARTNER_USAGE = "201"
|
3535
3549
|
MAP_OVERLAY_COUNTRY_REALTIME = "10001"
|
3536
3550
|
MAP_OVERLAY_REGION_REALTIME = "10002"
|
@@ -3635,6 +3649,11 @@ module Kaltura
|
|
3635
3649
|
QOE_ERROR_TRACKING_APPLICATION_VERSION = "30064"
|
3636
3650
|
end
|
3637
3651
|
|
3652
|
+
class KalturaResetPassLinkType
|
3653
|
+
KMC = "1"
|
3654
|
+
KMS = "2"
|
3655
|
+
end
|
3656
|
+
|
3638
3657
|
class KalturaResponseProfileOrderBy
|
3639
3658
|
CREATED_AT_ASC = "+createdAt"
|
3640
3659
|
UPDATED_AT_ASC = "+updatedAt"
|
@@ -1263,6 +1263,18 @@ module Kaltura
|
|
1263
1263
|
end
|
1264
1264
|
return client.do_queue()
|
1265
1265
|
end
|
1266
|
+
|
1267
|
+
# @return []
|
1268
|
+
def update_status(drop_folder_id, status)
|
1269
|
+
kparams = {}
|
1270
|
+
client.add_param(kparams, 'dropFolderId', drop_folder_id)
|
1271
|
+
client.add_param(kparams, 'status', status)
|
1272
|
+
client.queue_service_action_call('dropfolder_dropfolder', 'updateStatus', '', kparams)
|
1273
|
+
if (client.is_multirequest)
|
1274
|
+
return nil
|
1275
|
+
end
|
1276
|
+
return client.do_queue()
|
1277
|
+
end
|
1266
1278
|
end
|
1267
1279
|
|
1268
1280
|
# DropFolderFile service lets you create and manage drop folder files
|
@@ -317,6 +317,8 @@ module Kaltura
|
|
317
317
|
attr_accessor :url
|
318
318
|
# Request method.
|
319
319
|
attr_accessor :method
|
320
|
+
# The type of the data to send.
|
321
|
+
attr_accessor :content_type
|
320
322
|
# Data to send.
|
321
323
|
attr_accessor :data
|
322
324
|
# The maximum number of seconds to allow cURL functions to execute.
|
@@ -378,6 +380,9 @@ module Kaltura
|
|
378
380
|
if xml_element.elements['method'] != nil
|
379
381
|
self.method = xml_element.elements['method'].text
|
380
382
|
end
|
383
|
+
if xml_element.elements['contentType'] != nil
|
384
|
+
self.content_type = xml_element.elements['contentType'].text
|
385
|
+
end
|
381
386
|
if xml_element.elements['data'] != nil
|
382
387
|
self.data = xml_element.elements['data'].text
|
383
388
|
end
|
@@ -1876,6 +1876,20 @@ module Kaltura
|
|
1876
1876
|
return client.do_queue()
|
1877
1877
|
end
|
1878
1878
|
|
1879
|
+
# @return [string]
|
1880
|
+
def get_serve_url(filter_type=KalturaNotImplemented, filter_input=KalturaNotImplemented, status=KalturaNotImplemented, due_date=KalturaNotImplemented)
|
1881
|
+
kparams = {}
|
1882
|
+
client.add_param(kparams, 'filterType', filter_type)
|
1883
|
+
client.add_param(kparams, 'filterInput', filter_input)
|
1884
|
+
client.add_param(kparams, 'status', status)
|
1885
|
+
client.add_param(kparams, 'dueDate', due_date)
|
1886
|
+
client.queue_service_action_call('reach_entryvendortask', 'getServeUrl', 'string', kparams)
|
1887
|
+
if (client.is_multirequest)
|
1888
|
+
return nil
|
1889
|
+
end
|
1890
|
+
return client.do_queue()
|
1891
|
+
end
|
1892
|
+
|
1879
1893
|
# List KalturaEntryVendorTask objects
|
1880
1894
|
# @return [KalturaEntryVendorTaskListResponse]
|
1881
1895
|
def list(filter=KalturaNotImplemented, pager=KalturaNotImplemented)
|
@@ -1902,6 +1916,17 @@ module Kaltura
|
|
1902
1916
|
return client.do_queue()
|
1903
1917
|
end
|
1904
1918
|
|
1919
|
+
# @return [file]
|
1920
|
+
def serve(vendor_partner_id=KalturaNotImplemented, partner_id=KalturaNotImplemented, status=KalturaNotImplemented, due_date=KalturaNotImplemented)
|
1921
|
+
kparams = {}
|
1922
|
+
client.add_param(kparams, 'vendorPartnerId', vendor_partner_id)
|
1923
|
+
client.add_param(kparams, 'partnerId', partner_id)
|
1924
|
+
client.add_param(kparams, 'status', status)
|
1925
|
+
client.add_param(kparams, 'dueDate', due_date)
|
1926
|
+
client.queue_service_action_call('reach_entryvendortask', 'serve', 'file', kparams)
|
1927
|
+
return client.get_serve_url()
|
1928
|
+
end
|
1929
|
+
|
1905
1930
|
# Will serve a requested csv
|
1906
1931
|
# @return [string]
|
1907
1932
|
def serve_csv(id)
|
@@ -29,6 +29,12 @@ require 'kaltura_client.rb'
|
|
29
29
|
|
30
30
|
module Kaltura
|
31
31
|
|
32
|
+
class KalturaSipSourceType
|
33
|
+
PICTURE_IN_PICTURE = 1
|
34
|
+
TALKING_HEADS = 2
|
35
|
+
SCREEN_SHARE = 3
|
36
|
+
end
|
37
|
+
|
32
38
|
class KalturaSipServerNodeOrderBy
|
33
39
|
CREATED_AT_ASC = "+createdAt"
|
34
40
|
HEARTBEAT_TIME_ASC = "+heartbeatTime"
|
@@ -111,10 +117,11 @@ module Kaltura
|
|
111
117
|
end
|
112
118
|
|
113
119
|
# @return [string]
|
114
|
-
def generate_sip_url(entry_id, regenerate=false)
|
120
|
+
def generate_sip_url(entry_id, regenerate=false, source_type=1)
|
115
121
|
kparams = {}
|
116
122
|
client.add_param(kparams, 'entryId', entry_id)
|
117
123
|
client.add_param(kparams, 'regenerate', regenerate)
|
124
|
+
client.add_param(kparams, 'sourceType', source_type)
|
118
125
|
client.queue_service_action_call('sip_pexip', 'generateSipUrl', 'string', kparams)
|
119
126
|
if (client.is_multirequest)
|
120
127
|
return nil
|
@@ -122,10 +129,10 @@ module Kaltura
|
|
122
129
|
return client.do_queue()
|
123
130
|
end
|
124
131
|
|
125
|
-
# @return [
|
132
|
+
# @return []
|
126
133
|
def handle_incoming_call()
|
127
134
|
kparams = {}
|
128
|
-
client.queue_service_action_call('sip_pexip', 'handleIncomingCall', '
|
135
|
+
client.queue_service_action_call('sip_pexip', 'handleIncomingCall', '', kparams)
|
129
136
|
if (client.is_multirequest)
|
130
137
|
return nil
|
131
138
|
end
|
data/lib/kaltura_types.rb
CHANGED
@@ -940,6 +940,10 @@ module Kaltura
|
|
940
940
|
attr_accessor :template_entry_id
|
941
941
|
# should we display this entry in search
|
942
942
|
attr_accessor :display_in_search
|
943
|
+
# Entry application
|
944
|
+
attr_accessor :application
|
945
|
+
# Entry application version
|
946
|
+
attr_accessor :application_version
|
943
947
|
|
944
948
|
def partner_id=(val)
|
945
949
|
@partner_id = val.to_i
|
@@ -1130,6 +1134,12 @@ module Kaltura
|
|
1130
1134
|
if xml_element.elements['displayInSearch'] != nil
|
1131
1135
|
self.display_in_search = xml_element.elements['displayInSearch'].text
|
1132
1136
|
end
|
1137
|
+
if xml_element.elements['application'] != nil
|
1138
|
+
self.application = xml_element.elements['application'].text
|
1139
|
+
end
|
1140
|
+
if xml_element.elements['applicationVersion'] != nil
|
1141
|
+
self.application_version = xml_element.elements['applicationVersion'].text
|
1142
|
+
end
|
1133
1143
|
end
|
1134
1144
|
|
1135
1145
|
end
|
@@ -4138,6 +4148,8 @@ module Kaltura
|
|
4138
4148
|
attr_accessor :first_name
|
4139
4149
|
attr_accessor :last_name
|
4140
4150
|
attr_accessor :login_enabled
|
4151
|
+
attr_accessor :registration_info
|
4152
|
+
attr_accessor :attendance_info
|
4141
4153
|
|
4142
4154
|
def type=(val)
|
4143
4155
|
@type = val.to_i
|
@@ -4193,6 +4205,12 @@ module Kaltura
|
|
4193
4205
|
if xml_element.elements['loginEnabled'] != nil
|
4194
4206
|
self.login_enabled = xml_element.elements['loginEnabled'].text
|
4195
4207
|
end
|
4208
|
+
if xml_element.elements['registrationInfo'] != nil
|
4209
|
+
self.registration_info = xml_element.elements['registrationInfo'].text
|
4210
|
+
end
|
4211
|
+
if xml_element.elements['attendanceInfo'] != nil
|
4212
|
+
self.attendance_info = xml_element.elements['attendanceInfo'].text
|
4213
|
+
end
|
4196
4214
|
end
|
4197
4215
|
|
4198
4216
|
end
|
@@ -4560,6 +4578,8 @@ module Kaltura
|
|
4560
4578
|
attr_accessor :conversion_quality
|
4561
4579
|
# The source type of the entry
|
4562
4580
|
attr_accessor :source_type
|
4581
|
+
# The source version of the entry
|
4582
|
+
attr_accessor :source_version
|
4563
4583
|
# The search provider type used to import this entry
|
4564
4584
|
attr_accessor :search_provider_type
|
4565
4585
|
# The ID of the media in the importing site
|
@@ -4603,6 +4623,9 @@ module Kaltura
|
|
4603
4623
|
if xml_element.elements['sourceType'] != nil
|
4604
4624
|
self.source_type = xml_element.elements['sourceType'].text
|
4605
4625
|
end
|
4626
|
+
if xml_element.elements['sourceVersion'] != nil
|
4627
|
+
self.source_version = xml_element.elements['sourceVersion'].text
|
4628
|
+
end
|
4606
4629
|
if xml_element.elements['searchProviderType'] != nil
|
4607
4630
|
self.search_provider_type = xml_element.elements['searchProviderType'].text
|
4608
4631
|
end
|
@@ -6924,10 +6947,14 @@ module Kaltura
|
|
6924
6947
|
# The Streams primary server node id
|
6925
6948
|
attr_accessor :primary_server_node_id
|
6926
6949
|
attr_accessor :sip_token
|
6950
|
+
attr_accessor :sip_source_type
|
6927
6951
|
|
6928
6952
|
def primary_server_node_id=(val)
|
6929
6953
|
@primary_server_node_id = val.to_i
|
6930
6954
|
end
|
6955
|
+
def sip_source_type=(val)
|
6956
|
+
@sip_source_type = val.to_i
|
6957
|
+
end
|
6931
6958
|
|
6932
6959
|
def from_xml(xml_element)
|
6933
6960
|
super
|
@@ -6988,6 +7015,9 @@ module Kaltura
|
|
6988
7015
|
if xml_element.elements['sipToken'] != nil
|
6989
7016
|
self.sip_token = xml_element.elements['sipToken'].text
|
6990
7017
|
end
|
7018
|
+
if xml_element.elements['sipSourceType'] != nil
|
7019
|
+
self.sip_source_type = xml_element.elements['sipSourceType'].text
|
7020
|
+
end
|
6991
7021
|
end
|
6992
7022
|
|
6993
7023
|
end
|
@@ -10148,6 +10178,7 @@ module Kaltura
|
|
10148
10178
|
# Addes the HTML5 script line to the widget's embed code
|
10149
10179
|
attr_accessor :add_embed_html5support
|
10150
10180
|
attr_accessor :roles
|
10181
|
+
attr_accessor :privileges
|
10151
10182
|
|
10152
10183
|
def partner_id=(val)
|
10153
10184
|
@partner_id = val.to_i
|
@@ -10224,6 +10255,9 @@ module Kaltura
|
|
10224
10255
|
if xml_element.elements['roles'] != nil
|
10225
10256
|
self.roles = xml_element.elements['roles'].text
|
10226
10257
|
end
|
10258
|
+
if xml_element.elements['privileges'] != nil
|
10259
|
+
self.privileges = xml_element.elements['privileges'].text
|
10260
|
+
end
|
10227
10261
|
end
|
10228
10262
|
|
10229
10263
|
end
|