From 335238520ed683e94c14f93ca6c7f8632336b16c Mon Sep 17 00:00:00 2001 From: Backend CI Date: Mon, 20 Jun 2022 12:47:41 +0000 Subject: [PATCH] Auto-generated by Jenkins job OTT-Generate-ClientLibs/921, branch master --- README.md | 4 +- package.json | 2 +- src/api/types/KalturaLiveToVodInfoAsset.ts | 55 ++++++++++++++++++++++ src/api/types/KalturaMediaAsset.ts | 6 ++- src/api/types/index.ts | 1 + src/environment.ts | 2 +- 6 files changed, 65 insertions(+), 5 deletions(-) create mode 100644 src/api/types/KalturaLiveToVodInfoAsset.ts diff --git a/README.md b/README.md index 2c9124e2..a81bfffa 100644 --- a/README.md +++ b/README.md @@ -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) @@ -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 kaltura-ott-typescript-client@7.7.0-29910 +npm install kaltura-ott-typescript-client@7.7.0-29914 ``` **Found a bug?** create [kaltura/clients-generator issue](https://github.com/kaltura/clients-generator/issues) diff --git a/package.json b/package.json index 89761f78..b398a486 100644 --- a/package.json +++ b/package.json @@ -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" diff --git a/src/api/types/KalturaLiveToVodInfoAsset.ts b/src/api/types/KalturaLiveToVodInfoAsset.ts new file mode 100644 index 00000000..5d9a13a5 --- /dev/null +++ b/src/api/types/KalturaLiveToVodInfoAsset.ts @@ -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); diff --git a/src/api/types/KalturaMediaAsset.ts b/src/api/types/KalturaMediaAsset.ts index 9e4638b7..35fa6d70 100644 --- a/src/api/types/KalturaMediaAsset.ts +++ b/src/api/types/KalturaMediaAsset.ts @@ -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 { @@ -11,6 +12,7 @@ export interface KalturaMediaAssetArgs extends KalturaAssetArgs { geoBlockRuleId? : number; status? : boolean; inheritancePolicy? : KalturaAssetInheritancePolicy; + liveToVod? : KalturaLiveToVodInfoAsset; } @@ -22,6 +24,7 @@ export class KalturaMediaAsset extends KalturaAsset { geoBlockRuleId : number; status : boolean; inheritancePolicy : KalturaAssetInheritancePolicy; + liveToVod : KalturaLiveToVodInfoAsset; constructor(data? : KalturaMediaAssetArgs) { @@ -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; diff --git a/src/api/types/index.ts b/src/api/types/index.ts index 452771f6..649dac1c 100644 --- a/src/api/types/index.ts +++ b/src/api/types/index.ts @@ -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' diff --git a/src/environment.ts b/src/environment.ts index 64eda772..24aff5d7 100644 --- a/src/environment.ts +++ b/src/environment.ts @@ -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 },