Skip to content

Commit

Permalink
Auto-generated by Jenkins job OTT-Generate-ClientLibs/921, branch master
Browse files Browse the repository at this point in the history
  • Loading branch information
Backend CI committed Jun 20, 2022
1 parent c05dc6f commit 3352385
Show file tree
Hide file tree
Showing 6 changed files with 65 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Kaltura OTT Typescript Client

Compatible with Kaltura OTT server version 7.7.0.29910 and above.
Compatible with Kaltura OTT server version 7.7.0.29914 and above.


[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org) [![Gitter chat](https://badges.gitter.im/kaltura-ng/kaltura-ng.png)](https://gitter.im/kaltura-ng/kaltura-ng) [![Build Status](https://travis-ci.org/kaltura/KalturaOttGeneratedAPIClientsTypescript.svg?branch=master)](https://travis-ci.org/kaltura/KalturaOttGeneratedAPIClientsTypescript)
Expand All @@ -16,7 +16,7 @@ To keep being update review the [changelog](CHANGELOG.md) frequently.

You can install this client library using npm with:
```
npm install [email protected]29910
npm install [email protected]29914
```

**Found a bug?** create [kaltura/clients-generator issue](https://github.com/kaltura/clients-generator/issues)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "kaltura-ott-typescript-client",
"private": true,
"version": "7.7.0-29910",
"version": "7.7.0-29914",
"description": "Kaltura OTT Typescript client",
"keywords": [
"Kaltura"
Expand Down
55 changes: 55 additions & 0 deletions src/api/types/KalturaLiveToVodInfoAsset.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@

import { KalturaObjectMetadata } from '../kaltura-object-base';
import { KalturaTypesFactory } from '../kaltura-types-factory';
import { KalturaObjectBase, KalturaObjectBaseArgs } from '../kaltura-object-base';

export interface KalturaLiveToVodInfoAssetArgs extends KalturaObjectBaseArgs {
linearAssetId? : number;
epgId? : string;
epgChannelId? : number;
crid? : string;
originalStartDate? : number;
originalEndDate? : number;
paddingBeforeProgramStarts? : number;
paddingAfterProgramEnds? : number;
}


export class KalturaLiveToVodInfoAsset extends KalturaObjectBase {

linearAssetId : number;
epgId : string;
epgChannelId : number;
crid : string;
originalStartDate : number;
originalEndDate : number;
paddingBeforeProgramStarts : number;
paddingAfterProgramEnds : number;

constructor(data? : KalturaLiveToVodInfoAssetArgs)
{
super(data);
}

protected _getMetadata() : KalturaObjectMetadata
{
const result = super._getMetadata();
Object.assign(
result.properties,
{
objectType : { type : 'c', default : 'KalturaLiveToVodInfoAsset' },
linearAssetId : { type : 'n' },
epgId : { type : 's' },
epgChannelId : { type : 'n' },
crid : { type : 's' },
originalStartDate : { type : 'n' },
originalEndDate : { type : 'n' },
paddingBeforeProgramStarts : { type : 'n' },
paddingAfterProgramEnds : { type : 'n' }
}
);
return result;
}
}

KalturaTypesFactory.registerType('KalturaLiveToVodInfoAsset',KalturaLiveToVodInfoAsset);
6 changes: 5 additions & 1 deletion src/api/types/KalturaMediaAsset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import { KalturaObjectMetadata } from '../kaltura-object-base';
import { KalturaTypesFactory } from '../kaltura-types-factory';
import { KalturaAssetInheritancePolicy } from './KalturaAssetInheritancePolicy';
import { KalturaLiveToVodInfoAsset } from './KalturaLiveToVodInfoAsset';
import { KalturaAsset, KalturaAssetArgs } from './KalturaAsset';

export interface KalturaMediaAssetArgs extends KalturaAssetArgs {
Expand All @@ -11,6 +12,7 @@ export interface KalturaMediaAssetArgs extends KalturaAssetArgs {
geoBlockRuleId? : number;
status? : boolean;
inheritancePolicy? : KalturaAssetInheritancePolicy;
liveToVod? : KalturaLiveToVodInfoAsset;
}


Expand All @@ -22,6 +24,7 @@ export class KalturaMediaAsset extends KalturaAsset {
geoBlockRuleId : number;
status : boolean;
inheritancePolicy : KalturaAssetInheritancePolicy;
liveToVod : KalturaLiveToVodInfoAsset;

constructor(data? : KalturaMediaAssetArgs)
{
Expand All @@ -40,7 +43,8 @@ export class KalturaMediaAsset extends KalturaAsset {
deviceRuleId : { type : 'n' },
geoBlockRuleId : { type : 'n' },
status : { type : 'b' },
inheritancePolicy : { type : 'es', subTypeConstructor : KalturaAssetInheritancePolicy, subType : 'KalturaAssetInheritancePolicy' }
inheritancePolicy : { type : 'es', subTypeConstructor : KalturaAssetInheritancePolicy, subType : 'KalturaAssetInheritancePolicy' },
liveToVod : { type : 'o', subTypeConstructor : KalturaLiveToVodInfoAsset, subType : 'KalturaLiveToVodInfoAsset' }
}
);
return result;
Expand Down
1 change: 1 addition & 0 deletions src/api/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,7 @@ export { KalturaRelatedEntity, KalturaRelatedEntityArgs } from './KalturaRelated
export { KalturaRelatedEntityArray, KalturaRelatedEntityArrayArgs } from './KalturaRelatedEntityArray'
export { KalturaAsset, KalturaAssetArgs } from './KalturaAsset'
export { KalturaAssetListResponse, KalturaAssetListResponseArgs } from './KalturaAssetListResponse'
export { KalturaLiveToVodInfoAsset, KalturaLiveToVodInfoAssetArgs } from './KalturaLiveToVodInfoAsset'
export { KalturaMediaAsset, KalturaMediaAssetArgs } from './KalturaMediaAsset'
export { KalturaLiveAsset, KalturaLiveAssetArgs } from './KalturaLiveAsset'
export { KalturaLineupChannelAsset, KalturaLineupChannelAssetArgs } from './KalturaLineupChannelAsset'
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: '7.7.0.29910',
apiVersion: '7.7.0.29914',
ottMode: true,
fileFormatValue: 20
},
Expand Down

0 comments on commit 3352385

Please sign in to comment.