diff --git a/README.md b/README.md index 4789f3ed..c0a9caed 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Kaltura OTT Typescript Client -Compatible with Kaltura OTT server version 8.3.1.30231 and above. +Compatible with Kaltura OTT server version 8.3.1.30102 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@8.3.1-30231 +npm install kaltura-ott-typescript-client@8.3.1-30102 ``` **Found a bug?** create [kaltura/clients-generator issue](https://github.com/kaltura/clients-generator/issues) diff --git a/package.json b/package.json index f569e263..37a1e057 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "kaltura-ott-typescript-client", "private": true, - "version": "8.3.1-30231", + "version": "8.3.1-30102", "description": "Kaltura OTT Typescript client", "keywords": [ "Kaltura" diff --git a/src/api/types/KalturaImmediateRecording.ts b/src/api/types/KalturaImmediateRecording.ts deleted file mode 100644 index 58f89d6e..00000000 --- a/src/api/types/KalturaImmediateRecording.ts +++ /dev/null @@ -1,38 +0,0 @@ - -import { KalturaObjectMetadata } from '../kaltura-object-base'; -import { KalturaTypesFactory } from '../kaltura-types-factory'; -import { KalturaRecording, KalturaRecordingArgs } from './KalturaRecording'; - -export interface KalturaImmediateRecordingArgs extends KalturaRecordingArgs { - -} - - -export class KalturaImmediateRecording extends KalturaRecording { - - readonly endPadding : number; - readonly absoluteStart : number; - readonly absoluteEnd : number; - - constructor(data? : KalturaImmediateRecordingArgs) - { - super(data); - } - - protected _getMetadata() : KalturaObjectMetadata - { - const result = super._getMetadata(); - Object.assign( - result.properties, - { - objectType : { type : 'c', default : 'KalturaImmediateRecording' }, - endPadding : { type : 'n', readOnly : true }, - absoluteStart : { type : 'n', readOnly : true }, - absoluteEnd : { type : 'n', readOnly : true } - } - ); - return result; - } -} - -KalturaTypesFactory.registerType('KalturaImmediateRecording',KalturaImmediateRecording); diff --git a/src/api/types/KalturaPaddedRecording.ts b/src/api/types/KalturaPaddedRecording.ts deleted file mode 100644 index dda5763e..00000000 --- a/src/api/types/KalturaPaddedRecording.ts +++ /dev/null @@ -1,37 +0,0 @@ - -import { KalturaObjectMetadata } from '../kaltura-object-base'; -import { KalturaTypesFactory } from '../kaltura-types-factory'; -import { KalturaRecording, KalturaRecordingArgs } from './KalturaRecording'; - -export interface KalturaPaddedRecordingArgs extends KalturaRecordingArgs { - startPadding? : number; - endPadding? : number; -} - - -export class KalturaPaddedRecording extends KalturaRecording { - - startPadding : number; - endPadding : number; - - constructor(data? : KalturaPaddedRecordingArgs) - { - super(data); - } - - protected _getMetadata() : KalturaObjectMetadata - { - const result = super._getMetadata(); - Object.assign( - result.properties, - { - objectType : { type : 'c', default : 'KalturaPaddedRecording' }, - startPadding : { type : 'n' }, - endPadding : { type : 'n' } - } - ); - return result; - } -} - -KalturaTypesFactory.registerType('KalturaPaddedRecording',KalturaPaddedRecording); diff --git a/src/api/types/KalturaRecordingAsset.ts b/src/api/types/KalturaRecordingAsset.ts index f0a68971..7e000563 100644 --- a/src/api/types/KalturaRecordingAsset.ts +++ b/src/api/types/KalturaRecordingAsset.ts @@ -8,7 +8,6 @@ export interface KalturaRecordingAssetArgs extends KalturaProgramAssetArgs { recordingId? : string; recordingType? : KalturaRecordingType; viewableUntilDate? : number; - multiRecord? : boolean; } @@ -17,7 +16,6 @@ export class KalturaRecordingAsset extends KalturaProgramAsset { recordingId : string; recordingType : KalturaRecordingType; viewableUntilDate : number; - multiRecord : boolean; constructor(data? : KalturaRecordingAssetArgs) { @@ -33,8 +31,7 @@ export class KalturaRecordingAsset extends KalturaProgramAsset { objectType : { type : 'c', default : 'KalturaRecordingAsset' }, recordingId : { type : 's' }, recordingType : { type : 'es', subTypeConstructor : KalturaRecordingType, subType : 'KalturaRecordingType' }, - viewableUntilDate : { type : 'n' }, - multiRecord : { type : 'b' } + viewableUntilDate : { type : 'n' } } ); return result; diff --git a/src/api/types/KalturaSeriesRecording.ts b/src/api/types/KalturaSeriesRecording.ts index ae136792..34b2db86 100644 --- a/src/api/types/KalturaSeriesRecording.ts +++ b/src/api/types/KalturaSeriesRecording.ts @@ -13,8 +13,6 @@ export interface KalturaSeriesRecordingArgs extends KalturaObjectBaseArgs { seasonNumber? : number; type? : KalturaRecordingType; seriesRecordingOption? : KalturaSeriesRecordingOption; - householdSpecificSeriesStartTimeOffset? : number; - householdSpecificSeriesEndTimeOffset? : number; } @@ -30,8 +28,6 @@ export class KalturaSeriesRecording extends KalturaObjectBase { readonly updateDate : number; readonly excludedSeasons : KalturaIntegerValue[]; seriesRecordingOption : KalturaSeriesRecordingOption; - householdSpecificSeriesStartTimeOffset : number; - householdSpecificSeriesEndTimeOffset : number; constructor(data? : KalturaSeriesRecordingArgs) { @@ -55,9 +51,7 @@ export class KalturaSeriesRecording extends KalturaObjectBase { createDate : { type : 'n', readOnly : true }, updateDate : { type : 'n', readOnly : true }, excludedSeasons : { type : 'a', readOnly : true, subTypeConstructor : KalturaIntegerValue, subType : 'KalturaIntegerValue' }, - seriesRecordingOption : { type : 'o', subTypeConstructor : KalturaSeriesRecordingOption, subType : 'KalturaSeriesRecordingOption' }, - householdSpecificSeriesStartTimeOffset : { type : 'n' }, - householdSpecificSeriesEndTimeOffset : { type : 'n' } + seriesRecordingOption : { type : 'o', subTypeConstructor : KalturaSeriesRecordingOption, subType : 'KalturaSeriesRecordingOption' } } ); return result; diff --git a/src/api/types/KalturaTimeShiftedTvPartnerSettings.ts b/src/api/types/KalturaTimeShiftedTvPartnerSettings.ts index 72ed17da..87ab2831 100644 --- a/src/api/types/KalturaTimeShiftedTvPartnerSettings.ts +++ b/src/api/types/KalturaTimeShiftedTvPartnerSettings.ts @@ -29,9 +29,6 @@ export interface KalturaTimeShiftedTvPartnerSettingsArgs extends KalturaObjectB recoveryGracePeriod? : number; privateCopyEnabled? : boolean; defaultQuota? : number; - personalizedRecording? : boolean; - maxRecordingConcurrency? : number; - maxConcurrencyMargin? : number; } @@ -60,9 +57,6 @@ export class KalturaTimeShiftedTvPartnerSettings extends KalturaObjectBase { recoveryGracePeriod : number; privateCopyEnabled : boolean; defaultQuota : number; - personalizedRecording : boolean; - maxRecordingConcurrency : number; - maxConcurrencyMargin : number; constructor(data? : KalturaTimeShiftedTvPartnerSettingsArgs) { @@ -98,10 +92,7 @@ export class KalturaTimeShiftedTvPartnerSettings extends KalturaObjectBase { protectionPolicy : { type : 'es', subTypeConstructor : KalturaProtectionPolicy, subType : 'KalturaProtectionPolicy' }, recoveryGracePeriod : { type : 'n' }, privateCopyEnabled : { type : 'b' }, - defaultQuota : { type : 'n' }, - personalizedRecording : { type : 'b' }, - maxRecordingConcurrency : { type : 'n' }, - maxConcurrencyMargin : { type : 'n' } + defaultQuota : { type : 'n' } } ); return result; diff --git a/src/api/types/RecordingImmediateRecordAction.ts b/src/api/types/RecordingImmediateRecordAction.ts deleted file mode 100644 index 921a37e9..00000000 --- a/src/api/types/RecordingImmediateRecordAction.ts +++ /dev/null @@ -1,50 +0,0 @@ - -import { KalturaObjectMetadata } from '../kaltura-object-base'; -import { KalturaImmediateRecording } from './KalturaImmediateRecording'; - -import { KalturaRequest, KalturaRequestArgs } from '../kaltura-request'; - -export interface RecordingImmediateRecordActionArgs extends KalturaRequestArgs { - assetId : number; - epgChannelId : number; - endPadding : number; -} - -/** - * Build request payload for service 'recording' action 'immediateRecord'. - * - * Usage: Immediate Record - * - * Server response type: KalturaImmediateRecording - * Server failure response type: KalturaAPIException - * @class - * @extends KalturaRequest - */ -export class RecordingImmediateRecordAction extends KalturaRequest { - - assetId : number; - epgChannelId : number; - endPadding : number; - - constructor(data : RecordingImmediateRecordActionArgs) - { - super(data, {responseType : 'o', responseSubType : 'KalturaImmediateRecording', responseConstructor : KalturaImmediateRecording }); - } - - protected _getMetadata() : KalturaObjectMetadata - { - const result = super._getMetadata(); - Object.assign( - result.properties, - { - service : { type : 'c', default : 'recording' }, - action : { type : 'c', default : 'immediateRecord' }, - assetId : { type : 'n' }, - epgChannelId : { type : 'n' }, - endPadding : { type : 'n' } - } - ); - return result; - } -} - diff --git a/src/api/types/RecordingStopAction.ts b/src/api/types/RecordingStopAction.ts deleted file mode 100644 index 0449a9ec..00000000 --- a/src/api/types/RecordingStopAction.ts +++ /dev/null @@ -1,50 +0,0 @@ - -import { KalturaObjectMetadata } from '../kaltura-object-base'; -import { KalturaRecording } from './KalturaRecording'; - -import { KalturaRequest, KalturaRequestArgs } from '../kaltura-request'; - -export interface RecordingStopActionArgs extends KalturaRequestArgs { - assetId : number; - epgChannelId : number; - householdRecordingId : number; -} - -/** - * Build request payload for service 'recording' action 'stop'. - * - * Usage: Stop current recording - * - * Server response type: KalturaRecording - * Server failure response type: KalturaAPIException - * @class - * @extends KalturaRequest - */ -export class RecordingStopAction extends KalturaRequest { - - assetId : number; - epgChannelId : number; - householdRecordingId : number; - - constructor(data : RecordingStopActionArgs) - { - super(data, {responseType : 'o', responseSubType : 'KalturaRecording', responseConstructor : KalturaRecording }); - } - - protected _getMetadata() : KalturaObjectMetadata - { - const result = super._getMetadata(); - Object.assign( - result.properties, - { - service : { type : 'c', default : 'recording' }, - action : { type : 'c', default : 'stop' }, - assetId : { type : 'n' }, - epgChannelId : { type : 'n' }, - householdRecordingId : { type : 'n' } - } - ); - return result; - } -} - diff --git a/src/api/types/index.ts b/src/api/types/index.ts index ad88ce8e..3ba6ae09 100644 --- a/src/api/types/index.ts +++ b/src/api/types/index.ts @@ -559,8 +559,6 @@ export { KalturaCouponEntitlementDiscountDetails, KalturaCouponEntitlementDiscou export { KalturaHouseholdPremiumServiceListResponse, KalturaHouseholdPremiumServiceListResponseArgs } from './KalturaHouseholdPremiumServiceListResponse' export { KalturaRecording, KalturaRecordingArgs } from './KalturaRecording' export { KalturaExternalRecording, KalturaExternalRecordingArgs } from './KalturaExternalRecording' -export { KalturaImmediateRecording, KalturaImmediateRecordingArgs } from './KalturaImmediateRecording' -export { KalturaPaddedRecording, KalturaPaddedRecordingArgs } from './KalturaPaddedRecording' export { KalturaRecordingListResponse, KalturaRecordingListResponseArgs } from './KalturaRecordingListResponse' export { KalturaSeriesRecordingOption, KalturaSeriesRecordingOptionArgs } from './KalturaSeriesRecordingOption' export { KalturaSeriesRecording, KalturaSeriesRecordingArgs } from './KalturaSeriesRecording' @@ -1453,10 +1451,8 @@ export { RecordingBulkdeleteAction, RecordingBulkdeleteActionArgs } from './Reco export { RecordingCancelAction, RecordingCancelActionArgs } from './RecordingCancelAction' export { RecordingDeleteAction, RecordingDeleteActionArgs } from './RecordingDeleteAction' export { RecordingGetAction, RecordingGetActionArgs } from './RecordingGetAction' -export { RecordingImmediateRecordAction, RecordingImmediateRecordActionArgs } from './RecordingImmediateRecordAction' export { RecordingListAction, RecordingListActionArgs } from './RecordingListAction' export { RecordingProtectAction, RecordingProtectActionArgs } from './RecordingProtectAction' -export { RecordingStopAction, RecordingStopActionArgs } from './RecordingStopAction' export { RecordingUpdateAction, RecordingUpdateActionArgs } from './RecordingUpdateAction' export { RegionAddAction, RegionAddActionArgs } from './RegionAddAction' export { RegionLinearchannelbulkaddAction, RegionLinearchannelbulkaddActionArgs } from './RegionLinearchannelbulkaddAction' diff --git a/src/environment.ts b/src/environment.ts index 4c7704df..fd0e9ff8 100644 --- a/src/environment.ts +++ b/src/environment.ts @@ -12,7 +12,7 @@ export interface Environment { export const environment: Environment = { request: { - apiVersion: '8.3.1.30231', + apiVersion: '8.3.1.30102', ottMode: true, fileFormatValue: 20 },