Skip to content

Commit

Permalink
Auto-generated by Jenkins job OTT-Generate-ClientLibs/885, branch BEO…
Browse files Browse the repository at this point in the history
…-11720_linear_channels_updated
  • Loading branch information
Backend CI committed May 12, 2022
1 parent 6865a72 commit 5ac86a8
Show file tree
Hide file tree
Showing 13 changed files with 136 additions and 20 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.4.0.29868 and above.
Compatible with Kaltura OTT server version 7.6.0.29891 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.4.0-29868
npm install kaltura-ott-typescript-client@7.6.0-29891
```

**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.4.0-29868",
"version": "7.6.0-29891",
"description": "Kaltura OTT Typescript client",
"keywords": [
"Kaltura"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ import { KalturaIotProfile } from './KalturaIotProfile';

import { KalturaRequest, KalturaRequestArgs } from '../kaltura-request';

export interface IotProfileDeleteActionArgs extends KalturaRequestArgs {
export interface IotProfileGetActionArgs extends KalturaRequestArgs {
id : number;
}

/**
* Build request payload for service 'iotProfile' action 'delete'.
* Build request payload for service 'iotProfile' action 'get'.
*
* Usage: Get existing KalturaIotProfile
*
Expand All @@ -18,11 +18,11 @@ export interface IotProfileDeleteActionArgs extends KalturaRequestArgs {
* @class
* @extends KalturaRequest
*/
export class IotProfileDeleteAction extends KalturaRequest<KalturaIotProfile> {
export class IotProfileGetAction extends KalturaRequest<KalturaIotProfile> {

id : number;

constructor(data : IotProfileDeleteActionArgs)
constructor(data : IotProfileGetActionArgs)
{
super(data, {responseType : 'o', responseSubType : 'KalturaIotProfile', responseConstructor : KalturaIotProfile });
}
Expand All @@ -34,7 +34,7 @@ export class IotProfileDeleteAction extends KalturaRequest<KalturaIotProfile> {
result.properties,
{
service : { type : 'c', default : 'iotprofile' },
action : { type : 'c', default : 'delete' },
action : { type : 'c', default : 'get' },
id : { type : 'n' }
}
);
Expand Down
6 changes: 3 additions & 3 deletions src/api/types/KalturaAssetCondition.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@

import { KalturaObjectMetadata } from '../kaltura-object-base';
import { KalturaTypesFactory } from '../kaltura-types-factory';
import { KalturaCondition, KalturaConditionArgs } from './KalturaCondition';
import { KalturaAssetConditionBase, KalturaAssetConditionBaseArgs } from './KalturaAssetConditionBase';

export interface KalturaAssetConditionArgs extends KalturaConditionArgs {
export interface KalturaAssetConditionArgs extends KalturaAssetConditionBaseArgs {
ksql? : string;
}


export class KalturaAssetCondition extends KalturaCondition {
export class KalturaAssetCondition extends KalturaAssetConditionBase {

ksql : string;

Expand Down
33 changes: 33 additions & 0 deletions src/api/types/KalturaAssetConditionBase.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@

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);
34 changes: 34 additions & 0 deletions src/api/types/KalturaAssetShopCondition.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@

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);
8 changes: 4 additions & 4 deletions src/api/types/KalturaAssetUserRule.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@

import { KalturaObjectMetadata } from '../kaltura-object-base';
import { KalturaTypesFactory } from '../kaltura-types-factory';
import { KalturaAssetCondition } from './KalturaAssetCondition';
import { KalturaAssetConditionBase } from './KalturaAssetConditionBase';
import { KalturaAssetUserRuleAction } from './KalturaAssetUserRuleAction';
import { KalturaAssetRuleBase, KalturaAssetRuleBaseArgs } from './KalturaAssetRuleBase';

export interface KalturaAssetUserRuleArgs extends KalturaAssetRuleBaseArgs {
conditions? : KalturaAssetCondition[];
conditions? : KalturaAssetConditionBase[];
actions? : KalturaAssetUserRuleAction[];
}


export class KalturaAssetUserRule extends KalturaAssetRuleBase {

conditions : KalturaAssetCondition[];
conditions : KalturaAssetConditionBase[];
actions : KalturaAssetUserRuleAction[];

constructor(data? : KalturaAssetUserRuleArgs)
Expand All @@ -30,7 +30,7 @@ export class KalturaAssetUserRule extends KalturaAssetRuleBase {
result.properties,
{
objectType : { type : 'c', default : 'KalturaAssetUserRule' },
conditions : { type : 'a', subTypeConstructor : KalturaAssetCondition, subType : 'KalturaAssetCondition' },
conditions : { type : 'a', subTypeConstructor : KalturaAssetConditionBase, subType : 'KalturaAssetConditionBase' },
actions : { type : 'a', subTypeConstructor : KalturaAssetUserRuleAction, subType : 'KalturaAssetUserRuleAction' }
}
);
Expand Down
6 changes: 5 additions & 1 deletion src/api/types/KalturaAssetUserRuleFilter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,21 @@
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;
}


export class KalturaAssetUserRuleFilter extends KalturaFilter {

attachedUserIdEqualCurrent : boolean;
actionsContainType : KalturaRuleActionType;
conditionsContainType : KalturaRuleConditionType;

constructor(data? : KalturaAssetUserRuleFilterArgs)
{
Expand All @@ -28,7 +31,8 @@ export class KalturaAssetUserRuleFilter extends KalturaFilter {
{
objectType : { type : 'c', default : 'KalturaAssetUserRuleFilter' },
attachedUserIdEqualCurrent : { type : 'b' },
actionsContainType : { type : 'es', subTypeConstructor : KalturaRuleActionType, subType : 'KalturaRuleActionType' }
actionsContainType : { type : 'es', subTypeConstructor : KalturaRuleActionType, subType : 'KalturaRuleActionType' },
conditionsContainType : { type : 'es', subTypeConstructor : KalturaRuleConditionType, subType : 'KalturaRuleConditionType' }
}
);
return result;
Expand Down
5 changes: 4 additions & 1 deletion src/api/types/KalturaCatalogPartnerConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export interface KalturaCatalogPartnerConfigArgs extends KalturaPartnerConfigur
categoryManagement? : KalturaCategoryManagement;
epgMultilingualFallbackSupport? : boolean;
uploadExportDatalake? : boolean;
shopMarkerMetaId? : number;
}


Expand All @@ -18,6 +19,7 @@ export class KalturaCatalogPartnerConfig extends KalturaPartnerConfiguration {
categoryManagement : KalturaCategoryManagement;
epgMultilingualFallbackSupport : boolean;
uploadExportDatalake : boolean;
shopMarkerMetaId : number;

constructor(data? : KalturaCatalogPartnerConfigArgs)
{
Expand All @@ -34,7 +36,8 @@ export class KalturaCatalogPartnerConfig extends KalturaPartnerConfiguration {
singleMultilingualMode : { type : 'b' },
categoryManagement : { type : 'o', subTypeConstructor : KalturaCategoryManagement, subType : 'KalturaCategoryManagement' },
epgMultilingualFallbackSupport : { type : 'b' },
uploadExportDatalake : { type : 'b' }
uploadExportDatalake : { type : 'b' },
shopMarkerMetaId : { type : 'n' }
}
);
return result;
Expand Down
37 changes: 37 additions & 0 deletions src/api/types/KalturaIpV6RangeCondition.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@

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);
2 changes: 2 additions & 0 deletions src/api/types/KalturaRuleConditionType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

export enum KalturaRuleConditionType {
asset = 'ASSET',
assetShop = 'ASSET_SHOP',
assetSubscription = 'ASSET_SUBSCRIPTION',
businessModule = 'BUSINESS_MODULE',
concurrency = 'CONCURRENCY',
Expand All @@ -16,6 +17,7 @@ export enum KalturaRuleConditionType {
dynamicKeys = 'DYNAMIC_KEYS',
header = 'HEADER',
ipRange = 'IP_RANGE',
ipV6Range = 'IP_V6_RANGE',
or = 'OR',
segments = 'SEGMENTS',
userRole = 'USER_ROLE',
Expand Down
7 changes: 5 additions & 2 deletions src/api/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,14 +253,16 @@ export { KalturaCondition, KalturaConditionArgs } from './KalturaCondition'
export { KalturaRuleAction, KalturaRuleActionArgs } from './KalturaRuleAction'
export { KalturaAssetRuleAction, KalturaAssetRuleActionArgs } from './KalturaAssetRuleAction'
export { KalturaAssetRule, KalturaAssetRuleArgs } from './KalturaAssetRule'
export { KalturaAssetCondition, KalturaAssetConditionArgs } from './KalturaAssetCondition'
export { KalturaAssetConditionBase, KalturaAssetConditionBaseArgs } from './KalturaAssetConditionBase'
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'
Expand All @@ -277,6 +279,7 @@ 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'
Expand Down Expand Up @@ -1275,7 +1278,7 @@ export { IngestStatusUpdatePartnerConfigurationAction, IngestStatusUpdatePartner
export { IotGetClientConfigurationAction, IotGetClientConfigurationActionArgs } from './IotGetClientConfigurationAction'
export { IotRegisterAction, IotRegisterActionArgs } from './IotRegisterAction'
export { IotProfileAddAction, IotProfileAddActionArgs } from './IotProfileAddAction'
export { IotProfileDeleteAction, IotProfileDeleteActionArgs } from './IotProfileDeleteAction'
export { IotProfileGetAction, IotProfileGetActionArgs } from './IotProfileGetAction'
export { IotProfileUpdateAction, IotProfileUpdateActionArgs } from './IotProfileUpdateAction'
export { LabelAddAction, LabelAddActionArgs } from './LabelAddAction'
export { LabelDeleteAction, LabelDeleteActionArgs } from './LabelDeleteAction'
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.4.0.29868',
apiVersion: '7.6.0.29891',
ottMode: true,
fileFormatValue: 20
},
Expand Down

0 comments on commit 5ac86a8

Please sign in to comment.