kaltura-client 22.8.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 CHANGED
@@ -42,8 +42,8 @@ class Client extends kaltura.ClientBase {
42
42
  */
43
43
  constructor(config) {
44
44
  super(config);
45
- this.setApiVersion('22.8.0');
46
- this.setClientTag('node:25-12-07');
45
+ this.setApiVersion('22.9.0');
46
+ this.setClientTag('node:25-12-21');
47
47
  }
48
48
  }
49
49
 
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
 
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.8.0 and above.
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
  [![NPM](https://nodei.co/npm/kaltura-client.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/kaltura-client/)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kaltura-client",
3
- "version": "22.8.0",
3
+ "version": "22.9.0",
4
4
  "description": "Kaltura NodeJS client library (new implementation)",
5
5
  "main": "KalturaClient.js",
6
6
  "scripts": {