From 6865a7264c9a627680f98fc184a1df8d486d3c22 Mon Sep 17 00:00:00 2001 From: Backend CI Date: Thu, 12 May 2022 02:13:16 +0000 Subject: [PATCH] Auto-generated by Jenkins job OTT-Generate-ClientLibs/884, branch BEO-11720_linear_channels_updated --- README.md | 4 +- package.json | 2 +- ...GetAction.ts => IotProfileDeleteAction.ts} | 10 ++--- src/api/types/KalturaAssetCondition.ts | 6 +-- src/api/types/KalturaAssetConditionBase.ts | 33 ----------------- src/api/types/KalturaAssetShopCondition.ts | 34 ----------------- src/api/types/KalturaAssetUserRule.ts | 8 ++-- src/api/types/KalturaAssetUserRuleFilter.ts | 6 +-- src/api/types/KalturaCatalogPartnerConfig.ts | 5 +-- src/api/types/KalturaIpV6RangeCondition.ts | 37 ------------------- src/api/types/KalturaLiveAsset.ts | 10 +++++ src/api/types/KalturaRuleConditionType.ts | 2 - src/api/types/index.ts | 7 +--- src/environment.ts | 2 +- 14 files changed, 30 insertions(+), 136 deletions(-) rename src/api/types/{IotProfileGetAction.ts => IotProfileDeleteAction.ts} (73%) delete mode 100644 src/api/types/KalturaAssetConditionBase.ts delete mode 100644 src/api/types/KalturaAssetShopCondition.ts delete mode 100644 src/api/types/KalturaIpV6RangeCondition.ts diff --git a/README.md b/README.md index fb067f45..38ea5a08 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Kaltura OTT Typescript Client -Compatible with Kaltura OTT server version 7.4.0.29874 and above. +Compatible with Kaltura OTT server version 7.4.0.29868 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.4.0-29874 +npm install kaltura-ott-typescript-client@7.4.0-29868 ``` **Found a bug?** create [kaltura/clients-generator issue](https://github.com/kaltura/clients-generator/issues) diff --git a/package.json b/package.json index 6f4f07f1..16476144 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "kaltura-ott-typescript-client", "private": true, - "version": "7.4.0-29874", + "version": "7.4.0-29868", "description": "Kaltura OTT Typescript client", "keywords": [ "Kaltura" diff --git a/src/api/types/IotProfileGetAction.ts b/src/api/types/IotProfileDeleteAction.ts similarity index 73% rename from src/api/types/IotProfileGetAction.ts rename to src/api/types/IotProfileDeleteAction.ts index 66c40c5a..7f2c45f1 100644 --- a/src/api/types/IotProfileGetAction.ts +++ b/src/api/types/IotProfileDeleteAction.ts @@ -4,12 +4,12 @@ import { KalturaIotProfile } from './KalturaIotProfile'; import { KalturaRequest, KalturaRequestArgs } from '../kaltura-request'; -export interface IotProfileGetActionArgs extends KalturaRequestArgs { +export interface IotProfileDeleteActionArgs extends KalturaRequestArgs { id : number; } /** - * Build request payload for service 'iotProfile' action 'get'. + * Build request payload for service 'iotProfile' action 'delete'. * * Usage: Get existing KalturaIotProfile * @@ -18,11 +18,11 @@ export interface IotProfileGetActionArgs extends KalturaRequestArgs { * @class * @extends KalturaRequest */ -export class IotProfileGetAction extends KalturaRequest { +export class IotProfileDeleteAction extends KalturaRequest { id : number; - constructor(data : IotProfileGetActionArgs) + constructor(data : IotProfileDeleteActionArgs) { super(data, {responseType : 'o', responseSubType : 'KalturaIotProfile', responseConstructor : KalturaIotProfile }); } @@ -34,7 +34,7 @@ export class IotProfileGetAction extends KalturaRequest { result.properties, { service : { type : 'c', default : 'iotprofile' }, - action : { type : 'c', default : 'get' }, + action : { type : 'c', default : 'delete' }, id : { type : 'n' } } ); diff --git a/src/api/types/KalturaAssetCondition.ts b/src/api/types/KalturaAssetCondition.ts index 8187bdd3..9ac7ae5f 100644 --- a/src/api/types/KalturaAssetCondition.ts +++ b/src/api/types/KalturaAssetCondition.ts @@ -1,14 +1,14 @@ import { KalturaObjectMetadata } from '../kaltura-object-base'; import { KalturaTypesFactory } from '../kaltura-types-factory'; -import { KalturaAssetConditionBase, KalturaAssetConditionBaseArgs } from './KalturaAssetConditionBase'; +import { KalturaCondition, KalturaConditionArgs } from './KalturaCondition'; -export interface KalturaAssetConditionArgs extends KalturaAssetConditionBaseArgs { +export interface KalturaAssetConditionArgs extends KalturaConditionArgs { ksql? : string; } -export class KalturaAssetCondition extends KalturaAssetConditionBase { +export class KalturaAssetCondition extends KalturaCondition { ksql : string; diff --git a/src/api/types/KalturaAssetConditionBase.ts b/src/api/types/KalturaAssetConditionBase.ts deleted file mode 100644 index 01902937..00000000 --- a/src/api/types/KalturaAssetConditionBase.ts +++ /dev/null @@ -1,33 +0,0 @@ - -import { KalturaObjectMetadata } from '../kaltura-object-base'; -import { KalturaTypesFactory } from '../kaltura-types-factory'; -import { KalturaCondition, KalturaConditionArgs } from './KalturaCondition'; - -export interface KalturaAssetConditionBaseArgs extends KalturaConditionArgs { - -} - - -export class KalturaAssetConditionBase extends KalturaCondition { - - - - constructor(data? : KalturaAssetConditionBaseArgs) - { - super(data); - } - - protected _getMetadata() : KalturaObjectMetadata - { - const result = super._getMetadata(); - Object.assign( - result.properties, - { - objectType : { type : 'c', default : 'KalturaAssetConditionBase' } - } - ); - return result; - } -} - -KalturaTypesFactory.registerType('KalturaAssetConditionBase',KalturaAssetConditionBase); diff --git a/src/api/types/KalturaAssetShopCondition.ts b/src/api/types/KalturaAssetShopCondition.ts deleted file mode 100644 index dcef548f..00000000 --- a/src/api/types/KalturaAssetShopCondition.ts +++ /dev/null @@ -1,34 +0,0 @@ - -import { KalturaObjectMetadata } from '../kaltura-object-base'; -import { KalturaTypesFactory } from '../kaltura-types-factory'; -import { KalturaAssetConditionBase, KalturaAssetConditionBaseArgs } from './KalturaAssetConditionBase'; - -export interface KalturaAssetShopConditionArgs extends KalturaAssetConditionBaseArgs { - value? : string; -} - - -export class KalturaAssetShopCondition extends KalturaAssetConditionBase { - - value : string; - - constructor(data? : KalturaAssetShopConditionArgs) - { - super(data); - } - - protected _getMetadata() : KalturaObjectMetadata - { - const result = super._getMetadata(); - Object.assign( - result.properties, - { - objectType : { type : 'c', default : 'KalturaAssetShopCondition' }, - value : { type : 's' } - } - ); - return result; - } -} - -KalturaTypesFactory.registerType('KalturaAssetShopCondition',KalturaAssetShopCondition); diff --git a/src/api/types/KalturaAssetUserRule.ts b/src/api/types/KalturaAssetUserRule.ts index efbf38fb..3539d56c 100644 --- a/src/api/types/KalturaAssetUserRule.ts +++ b/src/api/types/KalturaAssetUserRule.ts @@ -1,19 +1,19 @@ import { KalturaObjectMetadata } from '../kaltura-object-base'; import { KalturaTypesFactory } from '../kaltura-types-factory'; -import { KalturaAssetConditionBase } from './KalturaAssetConditionBase'; +import { KalturaAssetCondition } from './KalturaAssetCondition'; import { KalturaAssetUserRuleAction } from './KalturaAssetUserRuleAction'; import { KalturaAssetRuleBase, KalturaAssetRuleBaseArgs } from './KalturaAssetRuleBase'; export interface KalturaAssetUserRuleArgs extends KalturaAssetRuleBaseArgs { - conditions? : KalturaAssetConditionBase[]; + conditions? : KalturaAssetCondition[]; actions? : KalturaAssetUserRuleAction[]; } export class KalturaAssetUserRule extends KalturaAssetRuleBase { - conditions : KalturaAssetConditionBase[]; + conditions : KalturaAssetCondition[]; actions : KalturaAssetUserRuleAction[]; constructor(data? : KalturaAssetUserRuleArgs) @@ -30,7 +30,7 @@ export class KalturaAssetUserRule extends KalturaAssetRuleBase { result.properties, { objectType : { type : 'c', default : 'KalturaAssetUserRule' }, - conditions : { type : 'a', subTypeConstructor : KalturaAssetConditionBase, subType : 'KalturaAssetConditionBase' }, + conditions : { type : 'a', subTypeConstructor : KalturaAssetCondition, subType : 'KalturaAssetCondition' }, actions : { type : 'a', subTypeConstructor : KalturaAssetUserRuleAction, subType : 'KalturaAssetUserRuleAction' } } ); diff --git a/src/api/types/KalturaAssetUserRuleFilter.ts b/src/api/types/KalturaAssetUserRuleFilter.ts index 6bbb2c8c..8fb9a319 100644 --- a/src/api/types/KalturaAssetUserRuleFilter.ts +++ b/src/api/types/KalturaAssetUserRuleFilter.ts @@ -2,13 +2,11 @@ import { KalturaObjectMetadata } from '../kaltura-object-base'; import { KalturaTypesFactory } from '../kaltura-types-factory'; import { KalturaRuleActionType } from './KalturaRuleActionType'; -import { KalturaRuleConditionType } from './KalturaRuleConditionType'; import { KalturaFilter, KalturaFilterArgs } from './KalturaFilter'; export interface KalturaAssetUserRuleFilterArgs extends KalturaFilterArgs { attachedUserIdEqualCurrent? : boolean; actionsContainType? : KalturaRuleActionType; - conditionsContainType? : KalturaRuleConditionType; } @@ -16,7 +14,6 @@ export class KalturaAssetUserRuleFilter extends KalturaFilter { attachedUserIdEqualCurrent : boolean; actionsContainType : KalturaRuleActionType; - conditionsContainType : KalturaRuleConditionType; constructor(data? : KalturaAssetUserRuleFilterArgs) { @@ -31,8 +28,7 @@ export class KalturaAssetUserRuleFilter extends KalturaFilter { { objectType : { type : 'c', default : 'KalturaAssetUserRuleFilter' }, attachedUserIdEqualCurrent : { type : 'b' }, - actionsContainType : { type : 'es', subTypeConstructor : KalturaRuleActionType, subType : 'KalturaRuleActionType' }, - conditionsContainType : { type : 'es', subTypeConstructor : KalturaRuleConditionType, subType : 'KalturaRuleConditionType' } + actionsContainType : { type : 'es', subTypeConstructor : KalturaRuleActionType, subType : 'KalturaRuleActionType' } } ); return result; diff --git a/src/api/types/KalturaCatalogPartnerConfig.ts b/src/api/types/KalturaCatalogPartnerConfig.ts index 9e73e192..e10c3283 100644 --- a/src/api/types/KalturaCatalogPartnerConfig.ts +++ b/src/api/types/KalturaCatalogPartnerConfig.ts @@ -9,7 +9,6 @@ export interface KalturaCatalogPartnerConfigArgs extends KalturaPartnerConfigur categoryManagement? : KalturaCategoryManagement; epgMultilingualFallbackSupport? : boolean; uploadExportDatalake? : boolean; - shopMarkerMetaId? : number; } @@ -19,7 +18,6 @@ export class KalturaCatalogPartnerConfig extends KalturaPartnerConfiguration { categoryManagement : KalturaCategoryManagement; epgMultilingualFallbackSupport : boolean; uploadExportDatalake : boolean; - shopMarkerMetaId : number; constructor(data? : KalturaCatalogPartnerConfigArgs) { @@ -36,8 +34,7 @@ export class KalturaCatalogPartnerConfig extends KalturaPartnerConfiguration { singleMultilingualMode : { type : 'b' }, categoryManagement : { type : 'o', subTypeConstructor : KalturaCategoryManagement, subType : 'KalturaCategoryManagement' }, epgMultilingualFallbackSupport : { type : 'b' }, - uploadExportDatalake : { type : 'b' }, - shopMarkerMetaId : { type : 'n' } + uploadExportDatalake : { type : 'b' } } ); return result; diff --git a/src/api/types/KalturaIpV6RangeCondition.ts b/src/api/types/KalturaIpV6RangeCondition.ts deleted file mode 100644 index eb5a3c2b..00000000 --- a/src/api/types/KalturaIpV6RangeCondition.ts +++ /dev/null @@ -1,37 +0,0 @@ - -import { KalturaObjectMetadata } from '../kaltura-object-base'; -import { KalturaTypesFactory } from '../kaltura-types-factory'; -import { KalturaCondition, KalturaConditionArgs } from './KalturaCondition'; - -export interface KalturaIpV6RangeConditionArgs extends KalturaConditionArgs { - fromIP? : string; - toIP? : string; -} - - -export class KalturaIpV6RangeCondition extends KalturaCondition { - - fromIP : string; - toIP : string; - - constructor(data? : KalturaIpV6RangeConditionArgs) - { - super(data); - } - - protected _getMetadata() : KalturaObjectMetadata - { - const result = super._getMetadata(); - Object.assign( - result.properties, - { - objectType : { type : 'c', default : 'KalturaIpV6RangeCondition' }, - fromIP : { type : 's' }, - toIP : { type : 's' } - } - ); - return result; - } -} - -KalturaTypesFactory.registerType('KalturaIpV6RangeCondition',KalturaIpV6RangeCondition); diff --git a/src/api/types/KalturaLiveAsset.ts b/src/api/types/KalturaLiveAsset.ts index 0b8e74ae..f9f27e75 100644 --- a/src/api/types/KalturaLiveAsset.ts +++ b/src/api/types/KalturaLiveAsset.ts @@ -10,6 +10,8 @@ export interface KalturaLiveAssetArgs extends KalturaMediaAssetArgs { enableCatchUpState? : KalturaTimeShiftedTvState; enableStartOverState? : KalturaTimeShiftedTvState; bufferCatchUpSetting? : number; + paddingBeforeProgramStartsSetting? : number; + paddingAfterProgramEndsSetting? : number; bufferTrickPlaySetting? : number; enableRecordingPlaybackNonEntitledChannelState? : KalturaTimeShiftedTvState; enableTrickPlayState? : KalturaTimeShiftedTvState; @@ -25,6 +27,8 @@ export class KalturaLiveAsset extends KalturaMediaAsset { enableCatchUpState : KalturaTimeShiftedTvState; enableStartOverState : KalturaTimeShiftedTvState; bufferCatchUpSetting : number; + paddingBeforeProgramStartsSetting : number; + paddingAfterProgramEndsSetting : number; bufferTrickPlaySetting : number; enableRecordingPlaybackNonEntitledChannelState : KalturaTimeShiftedTvState; enableTrickPlayState : KalturaTimeShiftedTvState; @@ -34,6 +38,8 @@ export class KalturaLiveAsset extends KalturaMediaAsset { readonly enableCatchUp : boolean; readonly enableStartOver : boolean; readonly catchUpBuffer : number; + readonly paddingBeforeProgramStarts : number; + readonly paddingAfterProgramEnds : number; readonly trickPlayBuffer : number; readonly enableRecordingPlaybackNonEntitledChannel : boolean; readonly enableTrickPlay : boolean; @@ -55,6 +61,8 @@ export class KalturaLiveAsset extends KalturaMediaAsset { enableCatchUpState : { type : 'es', subTypeConstructor : KalturaTimeShiftedTvState, subType : 'KalturaTimeShiftedTvState' }, enableStartOverState : { type : 'es', subTypeConstructor : KalturaTimeShiftedTvState, subType : 'KalturaTimeShiftedTvState' }, bufferCatchUpSetting : { type : 'n' }, + paddingBeforeProgramStartsSetting : { type : 'n' }, + paddingAfterProgramEndsSetting : { type : 'n' }, bufferTrickPlaySetting : { type : 'n' }, enableRecordingPlaybackNonEntitledChannelState : { type : 'es', subTypeConstructor : KalturaTimeShiftedTvState, subType : 'KalturaTimeShiftedTvState' }, enableTrickPlayState : { type : 'es', subTypeConstructor : KalturaTimeShiftedTvState, subType : 'KalturaTimeShiftedTvState' }, @@ -64,6 +72,8 @@ export class KalturaLiveAsset extends KalturaMediaAsset { enableCatchUp : { type : 'b', readOnly : true }, enableStartOver : { type : 'b', readOnly : true }, catchUpBuffer : { type : 'n', readOnly : true }, + paddingBeforeProgramStarts : { type : 'n', readOnly : true }, + paddingAfterProgramEnds : { type : 'n', readOnly : true }, trickPlayBuffer : { type : 'n', readOnly : true }, enableRecordingPlaybackNonEntitledChannel : { type : 'b', readOnly : true }, enableTrickPlay : { type : 'b', readOnly : true }, diff --git a/src/api/types/KalturaRuleConditionType.ts b/src/api/types/KalturaRuleConditionType.ts index e4fb2847..38386aff 100644 --- a/src/api/types/KalturaRuleConditionType.ts +++ b/src/api/types/KalturaRuleConditionType.ts @@ -2,7 +2,6 @@ export enum KalturaRuleConditionType { asset = 'ASSET', - assetShop = 'ASSET_SHOP', assetSubscription = 'ASSET_SUBSCRIPTION', businessModule = 'BUSINESS_MODULE', concurrency = 'CONCURRENCY', @@ -17,7 +16,6 @@ export enum KalturaRuleConditionType { dynamicKeys = 'DYNAMIC_KEYS', header = 'HEADER', ipRange = 'IP_RANGE', - ipV6Range = 'IP_V6_RANGE', or = 'OR', segments = 'SEGMENTS', userRole = 'USER_ROLE', diff --git a/src/api/types/index.ts b/src/api/types/index.ts index f6ddffb8..3bad6879 100644 --- a/src/api/types/index.ts +++ b/src/api/types/index.ts @@ -253,16 +253,14 @@ export { KalturaCondition, KalturaConditionArgs } from './KalturaCondition' export { KalturaRuleAction, KalturaRuleActionArgs } from './KalturaRuleAction' export { KalturaAssetRuleAction, KalturaAssetRuleActionArgs } from './KalturaAssetRuleAction' export { KalturaAssetRule, KalturaAssetRuleArgs } from './KalturaAssetRule' -export { KalturaAssetConditionBase, KalturaAssetConditionBaseArgs } from './KalturaAssetConditionBase' +export { KalturaAssetCondition, KalturaAssetConditionArgs } from './KalturaAssetCondition' export { KalturaAssetUserRuleAction, KalturaAssetUserRuleActionArgs } from './KalturaAssetUserRuleAction' export { KalturaAssetUserRule, KalturaAssetUserRuleArgs } from './KalturaAssetUserRule' -export { KalturaAssetShopCondition, KalturaAssetShopConditionArgs } from './KalturaAssetShopCondition' export { KalturaNotCondition, KalturaNotConditionArgs } from './KalturaNotCondition' export { KalturaOrCondition, KalturaOrConditionArgs } from './KalturaOrCondition' export { KalturaCountryCondition, KalturaCountryConditionArgs } from './KalturaCountryCondition' export { KalturaDateCondition, KalturaDateConditionArgs } from './KalturaDateCondition' export { KalturaHeaderCondition, KalturaHeaderConditionArgs } from './KalturaHeaderCondition' -export { KalturaAssetCondition, KalturaAssetConditionArgs } from './KalturaAssetCondition' export { KalturaConcurrencyCondition, KalturaConcurrencyConditionArgs } from './KalturaConcurrencyCondition' export { KalturaIpRangeCondition, KalturaIpRangeConditionArgs } from './KalturaIpRangeCondition' export { KalturaBusinessModuleCondition, KalturaBusinessModuleConditionArgs } from './KalturaBusinessModuleCondition' @@ -279,7 +277,6 @@ export { KalturaUdidDynamicListCondition, KalturaUdidDynamicListConditionArgs } export { KalturaDynamicKeysCondition, KalturaDynamicKeysConditionArgs } from './KalturaDynamicKeysCondition' export { KalturaDeviceDynamicDataCondition, KalturaDeviceDynamicDataConditionArgs } from './KalturaDeviceDynamicDataCondition' export { KalturaUserSessionProfileCondition, KalturaUserSessionProfileConditionArgs } from './KalturaUserSessionProfileCondition' -export { KalturaIpV6RangeCondition, KalturaIpV6RangeConditionArgs } from './KalturaIpV6RangeCondition' export { KalturaAccessControlBlockAction, KalturaAccessControlBlockActionArgs } from './KalturaAccessControlBlockAction' export { KalturaAllowPlaybackAction, KalturaAllowPlaybackActionArgs } from './KalturaAllowPlaybackAction' export { KalturaApplyPlaybackAdapterAction, KalturaApplyPlaybackAdapterActionArgs } from './KalturaApplyPlaybackAdapterAction' @@ -1278,7 +1275,7 @@ export { IngestStatusUpdatePartnerConfigurationAction, IngestStatusUpdatePartner export { IotGetClientConfigurationAction, IotGetClientConfigurationActionArgs } from './IotGetClientConfigurationAction' export { IotRegisterAction, IotRegisterActionArgs } from './IotRegisterAction' export { IotProfileAddAction, IotProfileAddActionArgs } from './IotProfileAddAction' -export { IotProfileGetAction, IotProfileGetActionArgs } from './IotProfileGetAction' +export { IotProfileDeleteAction, IotProfileDeleteActionArgs } from './IotProfileDeleteAction' export { IotProfileUpdateAction, IotProfileUpdateActionArgs } from './IotProfileUpdateAction' export { LabelAddAction, LabelAddActionArgs } from './LabelAddAction' export { LabelDeleteAction, LabelDeleteActionArgs } from './LabelDeleteAction' diff --git a/src/environment.ts b/src/environment.ts index da5cd772..217af804 100644 --- a/src/environment.ts +++ b/src/environment.ts @@ -12,7 +12,7 @@ export interface Environment { export const environment: Environment = { request: { - apiVersion: '7.4.0.29874', + apiVersion: '7.4.0.29868', ottMode: true, fileFormatValue: 20 },