kaltura-client 22.8.0 → 22.10.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 +177 -0
- package/KalturaTypes.js +19 -0
- package/README.md +1 -1
- package/package.json +1 -1
package/KalturaClient.js
CHANGED
package/KalturaModel.js
CHANGED
|
@@ -14404,6 +14404,123 @@ class ESearchOrderBy extends kaltura.BaseObject{
|
|
|
14404
14404
|
}
|
|
14405
14405
|
module.exports.ESearchOrderBy = ESearchOrderBy;
|
|
14406
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
|
+
|
|
14407
14524
|
/**
|
|
14408
14525
|
*
|
|
14409
14526
|
*/
|
|
@@ -14503,6 +14620,21 @@ class ESearchParams extends kaltura.BaseObject{
|
|
|
14503
14620
|
setObjectIdsNotIn(objectIdsNotIn) {
|
|
14504
14621
|
this.objectIdsNotIn = objectIdsNotIn;
|
|
14505
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
|
+
}
|
|
14506
14638
|
}
|
|
14507
14639
|
module.exports.ESearchParams = ESearchParams;
|
|
14508
14640
|
|
|
@@ -39235,6 +39367,36 @@ class BaseSyndicationFeedBaseFilter extends Filter{
|
|
|
39235
39367
|
super(object);
|
|
39236
39368
|
this.objectType = 'KalturaBaseSyndicationFeedBaseFilter';
|
|
39237
39369
|
}
|
|
39370
|
+
|
|
39371
|
+
/**
|
|
39372
|
+
*
|
|
39373
|
+
* @return string
|
|
39374
|
+
*/
|
|
39375
|
+
getIdEqual() {
|
|
39376
|
+
return this.idEqual;
|
|
39377
|
+
}
|
|
39378
|
+
|
|
39379
|
+
/**
|
|
39380
|
+
* @param idEqual string
|
|
39381
|
+
*/
|
|
39382
|
+
setIdEqual(idEqual) {
|
|
39383
|
+
this.idEqual = idEqual;
|
|
39384
|
+
}
|
|
39385
|
+
|
|
39386
|
+
/**
|
|
39387
|
+
*
|
|
39388
|
+
* @return string
|
|
39389
|
+
*/
|
|
39390
|
+
getIdIn() {
|
|
39391
|
+
return this.idIn;
|
|
39392
|
+
}
|
|
39393
|
+
|
|
39394
|
+
/**
|
|
39395
|
+
* @param idIn string
|
|
39396
|
+
*/
|
|
39397
|
+
setIdIn(idIn) {
|
|
39398
|
+
this.idIn = idIn;
|
|
39399
|
+
}
|
|
39238
39400
|
}
|
|
39239
39401
|
module.exports.BaseSyndicationFeedBaseFilter = BaseSyndicationFeedBaseFilter;
|
|
39240
39402
|
|
|
@@ -70836,6 +70998,21 @@ class CortexApiDistributionJobProviderData extends ConfigurableDistributionJobPr
|
|
|
70836
70998
|
setCaptionsInfo(captionsInfo) {
|
|
70837
70999
|
this.captionsInfo = captionsInfo;
|
|
70838
71000
|
}
|
|
71001
|
+
|
|
71002
|
+
/**
|
|
71003
|
+
*
|
|
71004
|
+
* @return int
|
|
71005
|
+
*/
|
|
71006
|
+
getMediaType() {
|
|
71007
|
+
return this.mediaType;
|
|
71008
|
+
}
|
|
71009
|
+
|
|
71010
|
+
/**
|
|
71011
|
+
* @param mediaType int
|
|
71012
|
+
*/
|
|
71013
|
+
setMediaType(mediaType) {
|
|
71014
|
+
this.mediaType = mediaType;
|
|
71015
|
+
}
|
|
70839
71016
|
}
|
|
70840
71017
|
module.exports.CortexApiDistributionJobProviderData = CortexApiDistributionJobProviderData;
|
|
70841
71018
|
|
package/KalturaTypes.js
CHANGED
|
@@ -3303,6 +3303,25 @@ TURKISH : 'Turkish',
|
|
|
3303
3303
|
module.exports.ESearchMetadataAggregateByFieldName = {
|
|
3304
3304
|
};
|
|
3305
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
|
+
|
|
3306
3325
|
module.exports.ESearchSortOrder = {
|
|
3307
3326
|
ORDER_BY_ASC : 'asc',
|
|
3308
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.10.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/)
|