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 8, 2022
1 parent dfd2909 commit de2468b
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/api/types/KalturaAuditTrailObjectType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export enum KalturaAuditTrailObjectType {
accessControl = 'accessControl',
batchJob = 'BatchJob',
category = 'category',
categoryEntry = 'categoryEntry',
conversionProfile2 = 'conversionProfile2',
emailIngestionProfile = 'EmailIngestionProfile',
entry = 'entry',
Expand Down
5 changes: 4 additions & 1 deletion src/api/types/KalturaLiveEntryServerNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export interface KalturaLiveEntryServerNodeArgs extends KalturaEntryServerNodeA
recordingInfo? : KalturaLiveEntryServerNodeRecordingInfo[];
isPlayableUser? : boolean;
viewMode? : KalturaViewMode;
featuresUpdatedAt? : Date;
}


Expand All @@ -20,6 +21,7 @@ export class KalturaLiveEntryServerNode extends KalturaEntryServerNode {
recordingInfo : KalturaLiveEntryServerNodeRecordingInfo[];
isPlayableUser : boolean;
viewMode : KalturaViewMode;
featuresUpdatedAt : Date;

constructor(data? : KalturaLiveEntryServerNodeArgs)
{
Expand All @@ -38,7 +40,8 @@ export class KalturaLiveEntryServerNode extends KalturaEntryServerNode {
streams : { type : 'a', subTypeConstructor : KalturaLiveStreamParams, subType : 'KalturaLiveStreamParams' },
recordingInfo : { type : 'a', subTypeConstructor : KalturaLiveEntryServerNodeRecordingInfo, subType : 'KalturaLiveEntryServerNodeRecordingInfo' },
isPlayableUser : { type : 'b' },
viewMode : { type : 'en', subTypeConstructor : KalturaViewMode, subType : 'KalturaViewMode' }
viewMode : { type : 'en', subTypeConstructor : KalturaViewMode, subType : 'KalturaViewMode' },
featuresUpdatedAt : { type : 'd' }
}
);
return result;
Expand Down
6 changes: 5 additions & 1 deletion src/api/types/KalturaPartner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,13 @@ export class KalturaPartner extends KalturaObjectBase {
maxLoginAttempts : number;
loginBlockPeriod : number;
numPrevPassToKeep : number;
readonly allowDefaultPasswordRestrictions : boolean;
readonly twoFactorAuthenticationMode : KalturaTwoFactorAuthenticationMode;
isSelfServe : boolean;
readonly allowedDomains : string;
readonly excludedAdminRoleName : string;
eventPlatformAllowedTemplates : string;
readonly verticalClassificationId : number;

constructor(data? : KalturaPartnerArgs)
{
Expand Down Expand Up @@ -232,11 +234,13 @@ export class KalturaPartner extends KalturaObjectBase {
maxLoginAttempts : { type : 'n' },
loginBlockPeriod : { type : 'n' },
numPrevPassToKeep : { type : 'n' },
allowDefaultPasswordRestrictions : { type : 'b', readOnly : true },
twoFactorAuthenticationMode : { type : 'en', readOnly : true, subTypeConstructor : KalturaTwoFactorAuthenticationMode, subType : 'KalturaTwoFactorAuthenticationMode' },
isSelfServe : { type : 'b' },
allowedDomains : { type : 's', readOnly : true },
excludedAdminRoleName : { type : 's', readOnly : true },
eventPlatformAllowedTemplates : { type : 's' }
eventPlatformAllowedTemplates : { type : 's' },
verticalClassificationId : { type : 'n', readOnly : true }
}
);
return result;
Expand Down
2 changes: 1 addition & 1 deletion src/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export interface Environment {

export const environment: Environment = {
request: {
apiVersion: '18.16.0',
apiVersion: '18.17.0',
ottMode: false,
fileFormatValue: 1
},
Expand Down
2 changes: 1 addition & 1 deletion src/tests/kaltura-file-request.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ xdescribe("Kaltura File request", () => {
asyncAssert(() => {
expect(result).toBeDefined();
expect(result.url).toBeDefined();
expect(result.url).toBe('https://www.kaltura.com/api_v3/service/thumbasset/action/serve?format=1&apiVersion=18.16.0&thumbAssetId=1_ep9epsxy&ks=YWIyZDAxYWRhZmQ1NzhjMzQ5ZmI3Nzc4MzVhYTJkMGI1NDdhYzA5YnwxNzYzMzIxOzE3NjMzMjE7MTUxMjA1MzA1MzsyOzE1MTE5NjY2NTMuNTk7YWRtaW47ZGlzYWJsZWVudGl0bGVtZW50Ozs&clientTag=ts');
expect(result.url).toBe('https://www.kaltura.com/api_v3/service/thumbasset/action/serve?format=1&apiVersion=18.17.0&thumbAssetId=1_ep9epsxy&ks=YWIyZDAxYWRhZmQ1NzhjMzQ5ZmI3Nzc4MzVhYTJkMGI1NDdhYzA5YnwxNzYzMzIxOzE3NjMzMjE7MTUxMjA1MzA1MzsyOzE1MTE5NjY2NTMuNTk7YWRtaW47ZGlzYWJsZWVudGl0bGVtZW50Ozs&clientTag=ts');

});
done();
Expand Down

0 comments on commit de2468b

Please sign in to comment.