From c5a85a638129f520872770189649bd47b24fced0 Mon Sep 17 00:00:00 2001 From: Backend CI Date: Thu, 21 Jul 2022 08:53:24 +0000 Subject: [PATCH] Auto-generated by Jenkins job OTT-Generate-ClientLibs/940, branch master --- README.md | 4 +- package.json | 2 +- src/api/types/KalturaBookmark.ts | 6 ++- .../types/KalturaConcurrencyPartnerConfig.ts | 5 +- ...treamingDeviceBookPlaybackSessionAction.ts | 51 ------------------- src/api/types/index.ts | 1 - src/environment.ts | 2 +- 7 files changed, 10 insertions(+), 61 deletions(-) delete mode 100644 src/api/types/StreamingDeviceBookPlaybackSessionAction.ts diff --git a/README.md b/README.md index 113085be..3e710b6c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Kaltura OTT Typescript Client -Compatible with Kaltura OTT server version 7.8.0.29957 and above. +Compatible with Kaltura OTT server version 7.8.1.29972 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.8.0-29957 +npm install kaltura-ott-typescript-client@7.8.1-29972 ``` **Found a bug?** create [kaltura/clients-generator issue](https://github.com/kaltura/clients-generator/issues) diff --git a/package.json b/package.json index 87531e06..c94e4bee 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "kaltura-ott-typescript-client", "private": true, - "version": "7.8.0-29957", + "version": "7.8.1-29972", "description": "Kaltura OTT Typescript client", "keywords": [ "Kaltura" diff --git a/src/api/types/KalturaBookmark.ts b/src/api/types/KalturaBookmark.ts index 098aeff4..f73d0c2d 100644 --- a/src/api/types/KalturaBookmark.ts +++ b/src/api/types/KalturaBookmark.ts @@ -3,6 +3,7 @@ import { KalturaObjectMetadata } from '../kaltura-object-base'; import { KalturaTypesFactory } from '../kaltura-types-factory'; import { KalturaPositionOwner } from './KalturaPositionOwner'; import { KalturaBookmarkPlayerData } from './KalturaBookmarkPlayerData'; +import { KalturaPlaybackContextType } from './KalturaPlaybackContextType'; import { KalturaSlimAsset, KalturaSlimAssetArgs } from './KalturaSlimAsset'; export interface KalturaBookmarkArgs extends KalturaSlimAssetArgs { @@ -10,6 +11,7 @@ export interface KalturaBookmarkArgs extends KalturaSlimAssetArgs { playerData? : KalturaBookmarkPlayerData; programId? : number; isReportingMode? : boolean; + context? : KalturaPlaybackContextType; } @@ -22,6 +24,7 @@ export class KalturaBookmark extends KalturaSlimAsset { playerData : KalturaBookmarkPlayerData; programId : number; isReportingMode : boolean; + context : KalturaPlaybackContextType; constructor(data? : KalturaBookmarkArgs) { @@ -41,7 +44,8 @@ export class KalturaBookmark extends KalturaSlimAsset { finishedWatching : { type : 'b', readOnly : true }, playerData : { type : 'o', subTypeConstructor : KalturaBookmarkPlayerData, subType : 'KalturaBookmarkPlayerData' }, programId : { type : 'n' }, - isReportingMode : { type : 'b' } + isReportingMode : { type : 'b' }, + context : { type : 'es', subTypeConstructor : KalturaPlaybackContextType, subType : 'KalturaPlaybackContextType' } } ); return result; diff --git a/src/api/types/KalturaConcurrencyPartnerConfig.ts b/src/api/types/KalturaConcurrencyPartnerConfig.ts index 83e258d9..036ed478 100644 --- a/src/api/types/KalturaConcurrencyPartnerConfig.ts +++ b/src/api/types/KalturaConcurrencyPartnerConfig.ts @@ -9,7 +9,6 @@ export interface KalturaConcurrencyPartnerConfigArgs extends KalturaPartnerConf evictionPolicy? : KalturaEvictionPolicyType; concurrencyThresholdInSeconds? : number; revokeOnDeviceDelete? : boolean; - excludeFreeContentFromConcurrency? : boolean; } @@ -19,7 +18,6 @@ export class KalturaConcurrencyPartnerConfig extends KalturaPartnerConfiguration evictionPolicy : KalturaEvictionPolicyType; concurrencyThresholdInSeconds : number; revokeOnDeviceDelete : boolean; - excludeFreeContentFromConcurrency : boolean; constructor(data? : KalturaConcurrencyPartnerConfigArgs) { @@ -36,8 +34,7 @@ export class KalturaConcurrencyPartnerConfig extends KalturaPartnerConfiguration deviceFamilyIds : { type : 's' }, evictionPolicy : { type : 'es', subTypeConstructor : KalturaEvictionPolicyType, subType : 'KalturaEvictionPolicyType' }, concurrencyThresholdInSeconds : { type : 'n' }, - revokeOnDeviceDelete : { type : 'b' }, - excludeFreeContentFromConcurrency : { type : 'b' } + revokeOnDeviceDelete : { type : 'b' } } ); return result; diff --git a/src/api/types/StreamingDeviceBookPlaybackSessionAction.ts b/src/api/types/StreamingDeviceBookPlaybackSessionAction.ts deleted file mode 100644 index d195d82e..00000000 --- a/src/api/types/StreamingDeviceBookPlaybackSessionAction.ts +++ /dev/null @@ -1,51 +0,0 @@ - -import { KalturaObjectMetadata } from '../kaltura-object-base'; - - -import { KalturaAssetType } from './KalturaAssetType'; -import { KalturaRequest, KalturaRequestArgs } from '../kaltura-request'; - -export interface StreamingDeviceBookPlaybackSessionActionArgs extends KalturaRequestArgs { - mediaFileId : string; - assetId : string; - assetType : KalturaAssetType; -} - -/** - * Build request payload for service 'streamingDevice' action 'bookPlaybackSession'. - * - * Usage: Reserves a concurrency slot for the given asset-device combination - * - * Server response type: boolean - * Server failure response type: KalturaAPIException - * @class - * @extends KalturaRequest - */ -export class StreamingDeviceBookPlaybackSessionAction extends KalturaRequest { - - mediaFileId : string; - assetId : string; - assetType : KalturaAssetType; - - constructor(data : StreamingDeviceBookPlaybackSessionActionArgs) - { - super(data, {responseType : 'b', responseSubType : '', responseConstructor : null }); - } - - protected _getMetadata() : KalturaObjectMetadata - { - const result = super._getMetadata(); - Object.assign( - result.properties, - { - service : { type : 'c', default : 'streamingdevice' }, - action : { type : 'c', default : 'bookPlaybackSession' }, - mediaFileId : { type : 's' }, - assetId : { type : 's' }, - assetType : { type : 'es', subTypeConstructor : KalturaAssetType, subType : 'KalturaAssetType' } - } - ); - return result; - } -} - diff --git a/src/api/types/index.ts b/src/api/types/index.ts index 82642ca3..1e3bccdb 100644 --- a/src/api/types/index.ts +++ b/src/api/types/index.ts @@ -1508,7 +1508,6 @@ export { SsoAdapterProfileGenerateSharedSecretAction, SsoAdapterProfileGenerateS export { SsoAdapterProfileInvokeAction, SsoAdapterProfileInvokeActionArgs } from './SsoAdapterProfileInvokeAction' export { SsoAdapterProfileListAction, SsoAdapterProfileListActionArgs } from './SsoAdapterProfileListAction' export { SsoAdapterProfileUpdateAction, SsoAdapterProfileUpdateActionArgs } from './SsoAdapterProfileUpdateAction' -export { StreamingDeviceBookPlaybackSessionAction, StreamingDeviceBookPlaybackSessionActionArgs } from './StreamingDeviceBookPlaybackSessionAction' export { StreamingDeviceListAction, StreamingDeviceListActionArgs } from './StreamingDeviceListAction' export { SubscriptionAddAction, SubscriptionAddActionArgs } from './SubscriptionAddAction' export { SubscriptionDeleteAction, SubscriptionDeleteActionArgs } from './SubscriptionDeleteAction' diff --git a/src/environment.ts b/src/environment.ts index 3b1a04ea..ffe998eb 100644 --- a/src/environment.ts +++ b/src/environment.ts @@ -12,7 +12,7 @@ export interface Environment { export const environment: Environment = { request: { - apiVersion: '7.8.0.29957', + apiVersion: '7.8.1.29972', ottMode: true, fileFormatValue: 20 },