Skip to content

Commit

Permalink
New clientlib ver
Browse files Browse the repository at this point in the history
  • Loading branch information
KalturaCommunity committed Nov 24, 2021
1 parent 9e62c17 commit 3be572b
Show file tree
Hide file tree
Showing 5 changed files with 76 additions and 6 deletions.
4 changes: 2 additions & 2 deletions KalturaClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ class Client extends kaltura.ClientBase {
*/
constructor(config) {
super(config);
this.setApiVersion('17.12.0');
this.setClientTag('node:21-11-21');
this.setApiVersion('17.14.0');
this.setClientTag('node:21-11-24');
}
}

Expand Down
70 changes: 68 additions & 2 deletions KalturaModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -4705,6 +4705,33 @@ class ESearchLanguageItem extends kaltura.BaseObject{
}
module.exports.ESearchLanguageItem = ESearchLanguageItem;

/**
*
*/
class RegexItem extends kaltura.BaseObject{

constructor(object = null) {
super(object);
this.objectType = 'KalturaRegexItem';
}

/**
*
* @return string
*/
getRegex() {
return this.regex;
}

/**
* @param regex string
*/
setRegex(regex) {
this.regex = regex;
}
}
module.exports.RegexItem = RegexItem;

/**
*
*/
Expand Down Expand Up @@ -5492,14 +5519,14 @@ class Partner extends kaltura.BaseObject{

/**
*
* @return string
* @return array
*/
getPasswordStructureValidations() {
return this.passwordStructureValidations;
}

/**
* @param passwordStructureValidations string
* @param passwordStructureValidations array
*/
setPasswordStructureValidations(passwordStructureValidations) {
this.passwordStructureValidations = passwordStructureValidations;
Expand Down Expand Up @@ -5587,6 +5614,21 @@ class Partner extends kaltura.BaseObject{
getTwoFactorAuthenticationMode() {
return this.twoFactorAuthenticationMode;
}

/**
*
* @return bool
*/
getIsSelfServe() {
return this.isSelfServe;
}

/**
* @param isSelfServe bool
*/
setIsSelfServe(isSelfServe) {
this.isSelfServe = isSelfServe;
}
}
module.exports.Partner = Partner;

Expand Down Expand Up @@ -58400,6 +58442,18 @@ class UploadTokenListResponse extends ListResponse{
}
module.exports.UploadTokenListResponse = UploadTokenListResponse;

/**
*
*/
class UrlAuthenticationParamsCondition extends Condition{

constructor(object = null) {
super(object);
this.objectType = 'KalturaUrlAuthenticationParamsCondition';
}
}
module.exports.UrlAuthenticationParamsCondition = UrlAuthenticationParamsCondition;

/**
*
*/
Expand Down Expand Up @@ -77738,6 +77792,18 @@ class AccessControlProfileFilter extends AccessControlProfileBaseFilter{
}
module.exports.AccessControlProfileFilter = AccessControlProfileFilter;

/**
*
*/
class ActionNameCondition extends RegexCondition{

constructor(object = null) {
super(object);
this.objectType = 'KalturaActionNameCondition';
}
}
module.exports.ActionNameCondition = ActionNameCondition;

/**
*
*/
Expand Down
4 changes: 4 additions & 0 deletions KalturaTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -2258,6 +2258,8 @@ ASSET_TYPE : '16',
BOOLEAN : '17',
HTTP_HEADER : '18',
ENTRY_SCHEDULED : '19',
ACTION_NAME : '20',
URL_AUTH_PARAMS : '21',
};

module.exports.ConfMapsSourceLocation = {
Expand Down Expand Up @@ -2745,6 +2747,7 @@ ERROR_GET_PHISICAL_FILE_LIST : '3',
ERROR_GET_DB_FILE_LIST : '4',
DROP_FOLDER_APP_ERROR : '5',
CONTENT_MATCH_POLICY_UNDEFINED : '6',
MISSING_CONFIG : '7',
};

module.exports.DropFolderFileErrorCode = {
Expand Down Expand Up @@ -5555,6 +5558,7 @@ MINUTES : 'minutes',
MONTHS : 'months',
TEN_MINUTES : 'ten_minutes',
TEN_SECONDS : 'ten_seconds',
YEARS : 'years',
};

module.exports.ReportOrderBy = {
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Kaltura node.js API Client Library.
Compatible with Kaltura server version 17.12.0 and above.
Compatible with Kaltura server version 17.14.0 and above.
This client library replaces the older architecture that presented in previous node.js client library.

[![NPM](https://nodei.co/npm/kaltura-client.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/kaltura-client/)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kaltura-client",
"version": "17.12.0",
"version": "17.14.0",
"description": "Kaltura NodeJS client library (new implementation)",
"main": "KalturaClient.js",
"scripts": {
Expand Down

0 comments on commit 3be572b

Please sign in to comment.