Skip to content

Commit

Permalink
Auto-generated by Jenkins job OTT-Generate-ClientLibs/915, branch master
Browse files Browse the repository at this point in the history
  • Loading branch information
Backend CI committed Jun 14, 2022
1 parent 70e501a commit c05dc6f
Show file tree
Hide file tree
Showing 13 changed files with 19 additions and 172 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.29939 and above.
Compatible with Kaltura OTT server version 7.7.0.29910 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 [email protected]29939
npm install [email protected]29910
```

**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-29939",
"version": "7.7.0-29910",
"description": "Kaltura OTT Typescript client",
"keywords": [
"Kaltura"
Expand Down
36 changes: 0 additions & 36 deletions src/api/types/KalturaBasePromotion.ts

This file was deleted.

8 changes: 4 additions & 4 deletions src/api/types/KalturaCampaign.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { KalturaObjectMetadata } from '../kaltura-object-base';
import { KalturaTypesFactory } from '../kaltura-types-factory';
import { KalturaObjectState } from './KalturaObjectState';
import { KalturaBasePromotion } from './KalturaBasePromotion';
import { KalturaPromotion } from './KalturaPromotion';
import { KalturaOTTObjectSupportNullable, KalturaOTTObjectSupportNullableArgs } from './KalturaOTTObjectSupportNullable';

export interface KalturaCampaignArgs extends KalturaOTTObjectSupportNullableArgs {
Expand All @@ -11,7 +11,7 @@ export interface KalturaCampaignArgs extends KalturaOTTObjectSupportNullableArg
name? : string;
systemName? : string;
description? : string;
promotion? : KalturaBasePromotion;
promotion? : KalturaPromotion;
message? : string;
collectionIdIn? : string;
}
Expand All @@ -28,7 +28,7 @@ export class KalturaCampaign extends KalturaOTTObjectSupportNullable {
systemName : string;
description : string;
readonly state : KalturaObjectState;
promotion : KalturaBasePromotion;
promotion : KalturaPromotion;
message : string;
collectionIdIn : string;

Expand All @@ -53,7 +53,7 @@ export class KalturaCampaign extends KalturaOTTObjectSupportNullable {
systemName : { type : 's' },
description : { type : 's' },
state : { type : 'es', readOnly : true, subTypeConstructor : KalturaObjectState, subType : 'KalturaObjectState' },
promotion : { type : 'o', subTypeConstructor : KalturaBasePromotion, subType : 'KalturaBasePromotion' },
promotion : { type : 'o', subTypeConstructor : KalturaPromotion, subType : 'KalturaPromotion' },
message : { type : 's' },
collectionIdIn : { type : 's' }
}
Expand Down
7 changes: 1 addition & 6 deletions src/api/types/KalturaCampaignOrderBy.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@


export enum KalturaCampaignOrderBy {
endDateAsc = 'END_DATE_ASC',
endDateDesc = 'END_DATE_DESC',
startDateAsc = 'START_DATE_ASC',
startDateDesc = 'START_DATE_DESC',
updateDateAsc = 'UPDATE_DATE_ASC',
updateDateDesc = 'UPDATE_DATE_DESC'
startDateDesc = 'START_DATE_DESC'
}
11 changes: 1 addition & 10 deletions src/api/types/KalturaCampaignSearchFilter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ export interface KalturaCampaignSearchFilterArgs extends KalturaCampaignFilterA
endDateLessThanOrEqual? : number;
stateEqual? : KalturaObjectState;
hasPromotion? : boolean;
nameEqual? : string;
nameContains? : string;
stateIn? : string;
}


Expand All @@ -21,9 +18,6 @@ export class KalturaCampaignSearchFilter extends KalturaCampaignFilter {
endDateLessThanOrEqual : number;
stateEqual : KalturaObjectState;
hasPromotion : boolean;
nameEqual : string;
nameContains : string;
stateIn : string;

constructor(data? : KalturaCampaignSearchFilterArgs)
{
Expand All @@ -40,10 +34,7 @@ export class KalturaCampaignSearchFilter extends KalturaCampaignFilter {
startDateGreaterThanOrEqual : { type : 'n' },
endDateLessThanOrEqual : { type : 'n' },
stateEqual : { type : 'es', subTypeConstructor : KalturaObjectState, subType : 'KalturaObjectState' },
hasPromotion : { type : 'b' },
nameEqual : { type : 's' },
nameContains : { type : 's' },
stateIn : { type : 's' }
hasPromotion : { type : 'b' }
}
);
return result;
Expand Down
34 changes: 0 additions & 34 deletions src/api/types/KalturaChannelCondition.ts

This file was deleted.

34 changes: 0 additions & 34 deletions src/api/types/KalturaCouponPromotion.ts

This file was deleted.

34 changes: 0 additions & 34 deletions src/api/types/KalturaFileTypeCondition.ts

This file was deleted.

11 changes: 8 additions & 3 deletions src/api/types/KalturaPromotion.ts
Original file line number Diff line number Diff line change
@@ -1,22 +1,26 @@

import { KalturaObjectMetadata } from '../kaltura-object-base';
import { KalturaTypesFactory } from '../kaltura-types-factory';
import { KalturaBasePromotion, KalturaBasePromotionArgs } from './KalturaBasePromotion';
import { KalturaCondition } from './KalturaCondition';
import { KalturaObjectBase, KalturaObjectBaseArgs } from '../kaltura-object-base';

export interface KalturaPromotionArgs extends KalturaBasePromotionArgs {
export interface KalturaPromotionArgs extends KalturaObjectBaseArgs {
discountModuleId? : number;
conditions? : KalturaCondition[];
numberOfRecurring? : number;
}


export class KalturaPromotion extends KalturaBasePromotion {
export class KalturaPromotion extends KalturaObjectBase {

discountModuleId : number;
conditions : KalturaCondition[];
numberOfRecurring : number;

constructor(data? : KalturaPromotionArgs)
{
super(data);
if (typeof this.conditions === 'undefined') this.conditions = [];
}

protected _getMetadata() : KalturaObjectMetadata
Expand All @@ -27,6 +31,7 @@ export class KalturaPromotion extends KalturaBasePromotion {
{
objectType : { type : 'c', default : 'KalturaPromotion' },
discountModuleId : { type : 'n' },
conditions : { type : 'a', subTypeConstructor : KalturaCondition, subType : 'KalturaCondition' },
numberOfRecurring : { type : 'n' }
}
);
Expand Down
2 changes: 0 additions & 2 deletions src/api/types/KalturaRuleConditionType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ export enum KalturaRuleConditionType {
assetShop = 'ASSET_SHOP',
assetSubscription = 'ASSET_SUBSCRIPTION',
businessModule = 'BUSINESS_MODULE',
channel = 'CHANNEL',
concurrency = 'CONCURRENCY',
country = 'COUNTRY',
date = 'DATE',
Expand All @@ -16,7 +15,6 @@ export enum KalturaRuleConditionType {
deviceModel = 'DEVICE_MODEL',
deviceUdidDynamicList = 'DEVICE_UDID_DYNAMIC_LIST',
dynamicKeys = 'DYNAMIC_KEYS',
fileType = 'FILE_TYPE',
header = 'HEADER',
ipRange = 'IP_RANGE',
ipV6Range = 'IP_V6_RANGE',
Expand Down
6 changes: 1 addition & 5 deletions src/api/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,6 @@ export { KalturaAssetConditionBase, KalturaAssetConditionBaseArgs } from './Kalt
export { KalturaAssetUserRuleAction, KalturaAssetUserRuleActionArgs } from './KalturaAssetUserRuleAction'
export { KalturaAssetUserRule, KalturaAssetUserRuleArgs } from './KalturaAssetUserRule'
export { KalturaAssetShopCondition, KalturaAssetShopConditionArgs } from './KalturaAssetShopCondition'
export { KalturaChannelCondition, KalturaChannelConditionArgs } from './KalturaChannelCondition'
export { KalturaNotCondition, KalturaNotConditionArgs } from './KalturaNotCondition'
export { KalturaOrCondition, KalturaOrConditionArgs } from './KalturaOrCondition'
export { KalturaCountryCondition, KalturaCountryConditionArgs } from './KalturaCountryCondition'
Expand All @@ -281,7 +280,6 @@ export { KalturaUdidDynamicListCondition, KalturaUdidDynamicListConditionArgs }
export { KalturaDynamicKeysCondition, KalturaDynamicKeysConditionArgs } from './KalturaDynamicKeysCondition'
export { KalturaDeviceDynamicDataCondition, KalturaDeviceDynamicDataConditionArgs } from './KalturaDeviceDynamicDataCondition'
export { KalturaUserSessionProfileCondition, KalturaUserSessionProfileConditionArgs } from './KalturaUserSessionProfileCondition'
export { KalturaFileTypeCondition, KalturaFileTypeConditionArgs } from './KalturaFileTypeCondition'
export { KalturaIpV6RangeCondition, KalturaIpV6RangeConditionArgs } from './KalturaIpV6RangeCondition'
export { KalturaAccessControlBlockAction, KalturaAccessControlBlockActionArgs } from './KalturaAccessControlBlockAction'
export { KalturaAllowPlaybackAction, KalturaAllowPlaybackActionArgs } from './KalturaAllowPlaybackAction'
Expand Down Expand Up @@ -325,12 +323,10 @@ export { KalturaBusinessModuleRule, KalturaBusinessModuleRuleArgs } from './Kalt
export { KalturaTvmRule, KalturaTvmRuleArgs } from './KalturaTvmRule'
export { KalturaTvmDeviceRule, KalturaTvmDeviceRuleArgs } from './KalturaTvmDeviceRule'
export { KalturaTvmGeoRule, KalturaTvmGeoRuleArgs } from './KalturaTvmGeoRule'
export { KalturaBasePromotion, KalturaBasePromotionArgs } from './KalturaBasePromotion'
export { KalturaPromotion, KalturaPromotionArgs } from './KalturaPromotion'
export { KalturaCampaign, KalturaCampaignArgs } from './KalturaCampaign'
export { KalturaBatchCampaign, KalturaBatchCampaignArgs } from './KalturaBatchCampaign'
export { KalturaTriggerCampaign, KalturaTriggerCampaignArgs } from './KalturaTriggerCampaign'
export { KalturaCouponPromotion, KalturaCouponPromotionArgs } from './KalturaCouponPromotion'
export { KalturaPromotion, KalturaPromotionArgs } from './KalturaPromotion'
export { KalturaEventNotification, KalturaEventNotificationArgs } from './KalturaEventNotification'
export { KalturaIot, KalturaIotArgs } from './KalturaIot'
export { KalturaIotProfileAws, KalturaIotProfileAwsArgs } from './KalturaIotProfileAws'
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.29939',
apiVersion: '7.7.0.29910',
ottMode: true,
fileFormatValue: 20
},
Expand Down

0 comments on commit c05dc6f

Please sign in to comment.