Skip to content

Commit

Permalink
Auto-generated by Jenkins job OTT-Generate-ClientLibs/928, branch BEO…
Browse files Browse the repository at this point in the history
…-12268
  • Loading branch information
Backend CI committed Jul 17, 2022
1 parent c1abb5c commit 3997786
Show file tree
Hide file tree
Showing 6 changed files with 61 additions and 6 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.29917 and above.
Compatible with Kaltura OTT server version 7.8.0.29957 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 kaltura-ott-typescript-client@7.7.0-29917
npm install kaltura-ott-typescript-client@7.8.0-29957
```

**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-29917",
"version": "7.8.0-29957",
"description": "Kaltura OTT Typescript client",
"keywords": [
"Kaltura"
Expand Down
5 changes: 4 additions & 1 deletion src/api/types/KalturaConcurrencyPartnerConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export interface KalturaConcurrencyPartnerConfigArgs extends KalturaPartnerConf
evictionPolicy? : KalturaEvictionPolicyType;
concurrencyThresholdInSeconds? : number;
revokeOnDeviceDelete? : boolean;
excludeFreeContentFromConcurrency? : boolean;
}


Expand All @@ -18,6 +19,7 @@ export class KalturaConcurrencyPartnerConfig extends KalturaPartnerConfiguration
evictionPolicy : KalturaEvictionPolicyType;
concurrencyThresholdInSeconds : number;
revokeOnDeviceDelete : boolean;
excludeFreeContentFromConcurrency : boolean;

constructor(data? : KalturaConcurrencyPartnerConfigArgs)
{
Expand All @@ -34,7 +36,8 @@ export class KalturaConcurrencyPartnerConfig extends KalturaPartnerConfiguration
deviceFamilyIds : { type : 's' },
evictionPolicy : { type : 'es', subTypeConstructor : KalturaEvictionPolicyType, subType : 'KalturaEvictionPolicyType' },
concurrencyThresholdInSeconds : { type : 'n' },
revokeOnDeviceDelete : { type : 'b' }
revokeOnDeviceDelete : { type : 'b' },
excludeFreeContentFromConcurrency : { type : 'b' }
}
);
return result;
Expand Down
51 changes: 51 additions & 0 deletions src/api/types/StreamingDeviceBookPlaybackSessionAction.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@

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<boolean> {

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;
}
}

3 changes: 2 additions & 1 deletion src/api/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -776,8 +776,8 @@ export { KalturaSSOAdapterProfileInvoke, KalturaSSOAdapterProfileInvokeArgs } fr
export { KalturaTimeShiftedTvPartnerSettings, KalturaTimeShiftedTvPartnerSettingsArgs } from './KalturaTimeShiftedTvPartnerSettings'
export { KalturaPurchaseBase, KalturaPurchaseBaseArgs } from './KalturaPurchaseBase'
export { KalturaPurchase, KalturaPurchaseArgs } from './KalturaPurchase'
export { KalturaPurchaseSession, KalturaPurchaseSessionArgs } from './KalturaPurchaseSession'
export { KalturaExternalReceipt, KalturaExternalReceiptArgs } from './KalturaExternalReceipt'
export { KalturaPurchaseSession, KalturaPurchaseSessionArgs } from './KalturaPurchaseSession'
export { KalturaTransaction, KalturaTransactionArgs } from './KalturaTransaction'
export { KalturaTransactionStatus, KalturaTransactionStatusArgs } from './KalturaTransactionStatus'
export { KalturaEntitlementRenewalBase, KalturaEntitlementRenewalBaseArgs } from './KalturaEntitlementRenewalBase'
Expand Down Expand Up @@ -1508,6 +1508,7 @@ 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'
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.29917',
apiVersion: '7.8.0.29957',
ottMode: true,
fileFormatValue: 20
},
Expand Down

0 comments on commit 3997786

Please sign in to comment.