kaltura-client 22.7.0 → 22.9.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.
- package/KalturaClient.js +2 -2
- package/KalturaModel.js +155 -0
- package/KalturaTypes.js +20 -0
- package/README.md +1 -1
- package/package.json +1 -1
package/KalturaClient.js
CHANGED
package/KalturaModel.js
CHANGED
|
@@ -1305,6 +1305,21 @@ class Annotation extends CuePoint{
|
|
|
1305
1305
|
setSearchableOnEntry(searchableOnEntry) {
|
|
1306
1306
|
this.searchableOnEntry = searchableOnEntry;
|
|
1307
1307
|
}
|
|
1308
|
+
|
|
1309
|
+
/**
|
|
1310
|
+
* In case of cloned annotation it will hold source cuepoint createdAt
|
|
1311
|
+
* @return int
|
|
1312
|
+
*/
|
|
1313
|
+
getOriginalCuePointCreateAt() {
|
|
1314
|
+
return this.originalCuePointCreateAt;
|
|
1315
|
+
}
|
|
1316
|
+
|
|
1317
|
+
/**
|
|
1318
|
+
* @param originalCuePointCreateAt int In case of cloned annotation it will hold source cuepoint createdAt
|
|
1319
|
+
*/
|
|
1320
|
+
setOriginalCuePointCreateAt(originalCuePointCreateAt) {
|
|
1321
|
+
this.originalCuePointCreateAt = originalCuePointCreateAt;
|
|
1322
|
+
}
|
|
1308
1323
|
}
|
|
1309
1324
|
module.exports.Annotation = Annotation;
|
|
1310
1325
|
|
|
@@ -14389,6 +14404,123 @@ class ESearchOrderBy extends kaltura.BaseObject{
|
|
|
14389
14404
|
}
|
|
14390
14405
|
module.exports.ESearchOrderBy = ESearchOrderBy;
|
|
14391
14406
|
|
|
14407
|
+
/**
|
|
14408
|
+
*
|
|
14409
|
+
*/
|
|
14410
|
+
class ESearchScoreFunctionParams extends kaltura.BaseObject{
|
|
14411
|
+
|
|
14412
|
+
constructor(object = null) {
|
|
14413
|
+
super(object);
|
|
14414
|
+
this.objectType = 'KalturaESearchScoreFunctionParams';
|
|
14415
|
+
}
|
|
14416
|
+
|
|
14417
|
+
/**
|
|
14418
|
+
*
|
|
14419
|
+
* @return string
|
|
14420
|
+
*/
|
|
14421
|
+
getDecayAlgorithm() {
|
|
14422
|
+
return this.decayAlgorithm;
|
|
14423
|
+
}
|
|
14424
|
+
|
|
14425
|
+
/**
|
|
14426
|
+
* @param decayAlgorithm string
|
|
14427
|
+
*/
|
|
14428
|
+
setDecayAlgorithm(decayAlgorithm) {
|
|
14429
|
+
this.decayAlgorithm = decayAlgorithm;
|
|
14430
|
+
}
|
|
14431
|
+
|
|
14432
|
+
/**
|
|
14433
|
+
*
|
|
14434
|
+
* @return string
|
|
14435
|
+
*/
|
|
14436
|
+
getFunctionField() {
|
|
14437
|
+
return this.functionField;
|
|
14438
|
+
}
|
|
14439
|
+
|
|
14440
|
+
/**
|
|
14441
|
+
* @param functionField string
|
|
14442
|
+
*/
|
|
14443
|
+
setFunctionField(functionField) {
|
|
14444
|
+
this.functionField = functionField;
|
|
14445
|
+
}
|
|
14446
|
+
|
|
14447
|
+
/**
|
|
14448
|
+
*
|
|
14449
|
+
* @return string
|
|
14450
|
+
*/
|
|
14451
|
+
getBoostMode() {
|
|
14452
|
+
return this.boostMode;
|
|
14453
|
+
}
|
|
14454
|
+
|
|
14455
|
+
/**
|
|
14456
|
+
* @param boostMode string
|
|
14457
|
+
*/
|
|
14458
|
+
setBoostMode(boostMode) {
|
|
14459
|
+
this.boostMode = boostMode;
|
|
14460
|
+
}
|
|
14461
|
+
|
|
14462
|
+
/**
|
|
14463
|
+
*
|
|
14464
|
+
* @return string
|
|
14465
|
+
*/
|
|
14466
|
+
getOrigin() {
|
|
14467
|
+
return this.origin;
|
|
14468
|
+
}
|
|
14469
|
+
|
|
14470
|
+
/**
|
|
14471
|
+
* @param origin string
|
|
14472
|
+
*/
|
|
14473
|
+
setOrigin(origin) {
|
|
14474
|
+
this.origin = origin;
|
|
14475
|
+
}
|
|
14476
|
+
|
|
14477
|
+
/**
|
|
14478
|
+
*
|
|
14479
|
+
* @return float
|
|
14480
|
+
*/
|
|
14481
|
+
getWeight() {
|
|
14482
|
+
return this.weight;
|
|
14483
|
+
}
|
|
14484
|
+
|
|
14485
|
+
/**
|
|
14486
|
+
* @param weight float
|
|
14487
|
+
*/
|
|
14488
|
+
setWeight(weight) {
|
|
14489
|
+
this.weight = weight;
|
|
14490
|
+
}
|
|
14491
|
+
|
|
14492
|
+
/**
|
|
14493
|
+
*
|
|
14494
|
+
* @return string
|
|
14495
|
+
*/
|
|
14496
|
+
getScale() {
|
|
14497
|
+
return this.scale;
|
|
14498
|
+
}
|
|
14499
|
+
|
|
14500
|
+
/**
|
|
14501
|
+
* @param scale string
|
|
14502
|
+
*/
|
|
14503
|
+
setScale(scale) {
|
|
14504
|
+
this.scale = scale;
|
|
14505
|
+
}
|
|
14506
|
+
|
|
14507
|
+
/**
|
|
14508
|
+
*
|
|
14509
|
+
* @return float
|
|
14510
|
+
*/
|
|
14511
|
+
getDecay() {
|
|
14512
|
+
return this.decay;
|
|
14513
|
+
}
|
|
14514
|
+
|
|
14515
|
+
/**
|
|
14516
|
+
* @param decay float
|
|
14517
|
+
*/
|
|
14518
|
+
setDecay(decay) {
|
|
14519
|
+
this.decay = decay;
|
|
14520
|
+
}
|
|
14521
|
+
}
|
|
14522
|
+
module.exports.ESearchScoreFunctionParams = ESearchScoreFunctionParams;
|
|
14523
|
+
|
|
14392
14524
|
/**
|
|
14393
14525
|
*
|
|
14394
14526
|
*/
|
|
@@ -14488,6 +14620,21 @@ class ESearchParams extends kaltura.BaseObject{
|
|
|
14488
14620
|
setObjectIdsNotIn(objectIdsNotIn) {
|
|
14489
14621
|
this.objectIdsNotIn = objectIdsNotIn;
|
|
14490
14622
|
}
|
|
14623
|
+
|
|
14624
|
+
/**
|
|
14625
|
+
*
|
|
14626
|
+
* @return ESearchScoreFunctionParams
|
|
14627
|
+
*/
|
|
14628
|
+
getScoreFunctionParams() {
|
|
14629
|
+
return this.scoreFunctionParams;
|
|
14630
|
+
}
|
|
14631
|
+
|
|
14632
|
+
/**
|
|
14633
|
+
* @param scoreFunctionParams ESearchScoreFunctionParams
|
|
14634
|
+
*/
|
|
14635
|
+
setScoreFunctionParams(scoreFunctionParams) {
|
|
14636
|
+
this.scoreFunctionParams = scoreFunctionParams;
|
|
14637
|
+
}
|
|
14491
14638
|
}
|
|
14492
14639
|
module.exports.ESearchParams = ESearchParams;
|
|
14493
14640
|
|
|
@@ -18502,6 +18649,14 @@ class FlavorParams extends AssetParams{
|
|
|
18502
18649
|
setClipDuration(clipDuration) {
|
|
18503
18650
|
this.clipDuration = clipDuration;
|
|
18504
18651
|
}
|
|
18652
|
+
|
|
18653
|
+
/**
|
|
18654
|
+
* Audio languages extracted from multiStream field
|
|
18655
|
+
* @return array
|
|
18656
|
+
*/
|
|
18657
|
+
getAudioLanguages() {
|
|
18658
|
+
return this.audioLanguages;
|
|
18659
|
+
}
|
|
18505
18660
|
}
|
|
18506
18661
|
module.exports.FlavorParams = FlavorParams;
|
|
18507
18662
|
|
package/KalturaTypes.js
CHANGED
|
@@ -3177,6 +3177,7 @@ ENTITLED_USER_PUBLISH : 'entitled_kusers_publish',
|
|
|
3177
3177
|
ENTITLED_USER_VIEW : 'entitled_kusers_view',
|
|
3178
3178
|
ENTRY_TYPE : 'entry_type',
|
|
3179
3179
|
EXTERNAL_SOURCE_TYPE : 'external_source_type',
|
|
3180
|
+
FLAVOR_PARAMS_IDS : 'flavor_params_ids',
|
|
3180
3181
|
ID : 'id',
|
|
3181
3182
|
IS_LIVE : 'is_live',
|
|
3182
3183
|
IS_QUIZ : 'is_quiz',
|
|
@@ -3302,6 +3303,25 @@ TURKISH : 'Turkish',
|
|
|
3302
3303
|
module.exports.ESearchMetadataAggregateByFieldName = {
|
|
3303
3304
|
};
|
|
3304
3305
|
|
|
3306
|
+
module.exports.ESearchScoreFunctionBoostMode = {
|
|
3307
|
+
MULTIPLY : 'multiply',
|
|
3308
|
+
SUM : 'sum',
|
|
3309
|
+
};
|
|
3310
|
+
|
|
3311
|
+
module.exports.ESearchScoreFunctionDecayAlgorithm = {
|
|
3312
|
+
EXP : 'exp',
|
|
3313
|
+
GAUSS : 'gauss',
|
|
3314
|
+
LINEAR : 'linear',
|
|
3315
|
+
};
|
|
3316
|
+
|
|
3317
|
+
module.exports.ESearchScoreFunctionField = {
|
|
3318
|
+
CREATED_AT : 'created_at',
|
|
3319
|
+
};
|
|
3320
|
+
|
|
3321
|
+
module.exports.ESearchScoreFunctionOrigin = {
|
|
3322
|
+
NOW : 'now',
|
|
3323
|
+
};
|
|
3324
|
+
|
|
3305
3325
|
module.exports.ESearchSortOrder = {
|
|
3306
3326
|
ORDER_BY_ASC : 'asc',
|
|
3307
3327
|
ORDER_BY_DESC : 'desc',
|
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
## Kaltura node.js API Client Library.
|
|
2
|
-
Compatible with Kaltura server version 22.
|
|
2
|
+
Compatible with Kaltura server version 22.9.0 and above.
|
|
3
3
|
This client library replaces the older architecture that presented in previous node.js client library.
|
|
4
4
|
|
|
5
5
|
[](https://nodei.co/npm/kaltura-client/)
|