Skip to content

Commit f2cb4c1

Browse files
author
Backend CI
committed
Auto-generated by Jenkins job OTT-Generate-ClientLibs/950, branch BEO-12548
1 parent c5a85a6 commit f2cb4c1

22 files changed

+266
-25
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Kaltura OTT Typescript Client
22

3-
Compatible with Kaltura OTT server version 7.8.1.29972 and above.
3+
Compatible with Kaltura OTT server version 7.9.0.29981 and above.
44

55

66
[![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.
1616

1717
You can install this client library using npm with:
1818
```
19-
npm install kaltura-ott-typescript-client@7.8.1-29972
19+
npm install kaltura-ott-typescript-client@7.9.0-29981
2020
```
2121

2222
**Found a bug?** create [kaltura/clients-generator issue](https://github.com/kaltura/clients-generator/issues)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "kaltura-ott-typescript-client",
33
"private": true,
4-
"version": "7.8.1-29972",
4+
"version": "7.9.0-29981",
55
"description": "Kaltura OTT Typescript client",
66
"keywords": [
77
"Kaltura"

src/api/types/KalturaBasePromotion.ts

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
2+
import { KalturaObjectMetadata } from '../kaltura-object-base';
3+
import { KalturaTypesFactory } from '../kaltura-types-factory';
4+
import { KalturaCondition } from './KalturaCondition';
5+
import { KalturaObjectBase, KalturaObjectBaseArgs } from '../kaltura-object-base';
6+
7+
export interface KalturaBasePromotionArgs extends KalturaObjectBaseArgs {
8+
conditions? : KalturaCondition[];
9+
}
10+
11+
12+
export class KalturaBasePromotion extends KalturaObjectBase {
13+
14+
conditions : KalturaCondition[];
15+
16+
constructor(data? : KalturaBasePromotionArgs)
17+
{
18+
super(data);
19+
if (typeof this.conditions === 'undefined') this.conditions = [];
20+
}
21+
22+
protected _getMetadata() : KalturaObjectMetadata
23+
{
24+
const result = super._getMetadata();
25+
Object.assign(
26+
result.properties,
27+
{
28+
objectType : { type : 'c', default : 'KalturaBasePromotion' },
29+
conditions : { type : 'a', subTypeConstructor : KalturaCondition, subType : 'KalturaCondition' }
30+
}
31+
);
32+
return result;
33+
}
34+
}
35+
36+
KalturaTypesFactory.registerType('KalturaBasePromotion',KalturaBasePromotion);
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
3+
export enum KalturaBooleanOperator {
4+
and = 'And',
5+
or = 'Or'
6+
}

src/api/types/KalturaCampaign.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import { KalturaObjectMetadata } from '../kaltura-object-base';
33
import { KalturaTypesFactory } from '../kaltura-types-factory';
44
import { KalturaObjectState } from './KalturaObjectState';
5-
import { KalturaPromotion } from './KalturaPromotion';
5+
import { KalturaBasePromotion } from './KalturaBasePromotion';
66
import { KalturaOTTObjectSupportNullable, KalturaOTTObjectSupportNullableArgs } from './KalturaOTTObjectSupportNullable';
77

88
export interface KalturaCampaignArgs extends KalturaOTTObjectSupportNullableArgs {
@@ -11,7 +11,7 @@ export interface KalturaCampaignArgs extends KalturaOTTObjectSupportNullableArg
1111
name? : string;
1212
systemName? : string;
1313
description? : string;
14-
promotion? : KalturaPromotion;
14+
promotion? : KalturaBasePromotion;
1515
message? : string;
1616
collectionIdIn? : string;
1717
}
@@ -28,7 +28,7 @@ export class KalturaCampaign extends KalturaOTTObjectSupportNullable {
2828
systemName : string;
2929
description : string;
3030
readonly state : KalturaObjectState;
31-
promotion : KalturaPromotion;
31+
promotion : KalturaBasePromotion;
3232
message : string;
3333
collectionIdIn : string;
3434

@@ -53,7 +53,7 @@ export class KalturaCampaign extends KalturaOTTObjectSupportNullable {
5353
systemName : { type : 's' },
5454
description : { type : 's' },
5555
state : { type : 'es', readOnly : true, subTypeConstructor : KalturaObjectState, subType : 'KalturaObjectState' },
56-
promotion : { type : 'o', subTypeConstructor : KalturaPromotion, subType : 'KalturaPromotion' },
56+
promotion : { type : 'o', subTypeConstructor : KalturaBasePromotion, subType : 'KalturaBasePromotion' },
5757
message : { type : 's' },
5858
collectionIdIn : { type : 's' }
5959
}
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11

22

33
export enum KalturaCampaignOrderBy {
4-
startDateDesc = 'START_DATE_DESC'
4+
endDateAsc = 'END_DATE_ASC',
5+
endDateDesc = 'END_DATE_DESC',
6+
startDateAsc = 'START_DATE_ASC',
7+
startDateDesc = 'START_DATE_DESC',
8+
updateDateAsc = 'UPDATE_DATE_ASC',
9+
updateDateDesc = 'UPDATE_DATE_DESC'
510
}

src/api/types/KalturaCampaignSearchFilter.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ export interface KalturaCampaignSearchFilterArgs extends KalturaCampaignFilterA
99
endDateLessThanOrEqual? : number;
1010
stateEqual? : KalturaObjectState;
1111
hasPromotion? : boolean;
12+
nameEqual? : string;
13+
nameContains? : string;
14+
stateIn? : string;
1215
}
1316

1417

@@ -18,6 +21,9 @@ export class KalturaCampaignSearchFilter extends KalturaCampaignFilter {
1821
endDateLessThanOrEqual : number;
1922
stateEqual : KalturaObjectState;
2023
hasPromotion : boolean;
24+
nameEqual : string;
25+
nameContains : string;
26+
stateIn : string;
2127

2228
constructor(data? : KalturaCampaignSearchFilterArgs)
2329
{
@@ -34,7 +40,10 @@ export class KalturaCampaignSearchFilter extends KalturaCampaignFilter {
3440
startDateGreaterThanOrEqual : { type : 'n' },
3541
endDateLessThanOrEqual : { type : 'n' },
3642
stateEqual : { type : 'es', subTypeConstructor : KalturaObjectState, subType : 'KalturaObjectState' },
37-
hasPromotion : { type : 'b' }
43+
hasPromotion : { type : 'b' },
44+
nameEqual : { type : 's' },
45+
nameContains : { type : 's' },
46+
stateIn : { type : 's' }
3847
}
3948
);
4049
return result;
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
2+
import { KalturaObjectMetadata } from '../kaltura-object-base';
3+
import { KalturaTypesFactory } from '../kaltura-types-factory';
4+
import { KalturaCondition, KalturaConditionArgs } from './KalturaCondition';
5+
6+
export interface KalturaChannelConditionArgs extends KalturaConditionArgs {
7+
idIn? : string;
8+
}
9+
10+
11+
export class KalturaChannelCondition extends KalturaCondition {
12+
13+
idIn : string;
14+
15+
constructor(data? : KalturaChannelConditionArgs)
16+
{
17+
super(data);
18+
}
19+
20+
protected _getMetadata() : KalturaObjectMetadata
21+
{
22+
const result = super._getMetadata();
23+
Object.assign(
24+
result.properties,
25+
{
26+
objectType : { type : 'c', default : 'KalturaChannelCondition' },
27+
idIn : { type : 's' }
28+
}
29+
);
30+
return result;
31+
}
32+
}
33+
34+
KalturaTypesFactory.registerType('KalturaChannelCondition',KalturaChannelCondition);

src/api/types/KalturaCollection.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { KalturaUsageModule } from './KalturaUsageModule';
88
import { KalturaCouponsGroup } from './KalturaCouponsGroup';
99
import { KalturaCollectionCouponGroup } from './KalturaCollectionCouponGroup';
1010
import { KalturaProductCode } from './KalturaProductCode';
11+
import { KalturaIntegerValue } from './KalturaIntegerValue';
1112
import { KalturaOTTObjectSupportNullable, KalturaOTTObjectSupportNullableArgs } from './KalturaOTTObjectSupportNullable';
1213

1314
export interface KalturaCollectionArgs extends KalturaOTTObjectSupportNullableArgs {
@@ -24,6 +25,7 @@ export interface KalturaCollectionArgs extends KalturaOTTObjectSupportNullableA
2425
productCodes? : KalturaProductCode[];
2526
priceDetailsId? : number;
2627
isActive? : boolean;
28+
fileTypesIds? : string;
2729
}
2830

2931

@@ -51,6 +53,8 @@ export class KalturaCollection extends KalturaOTTObjectSupportNullable {
5153
readonly createDate : number;
5254
readonly updateDate : number;
5355
readonly virtualAssetId : number;
56+
readonly fileTypes : KalturaIntegerValue[];
57+
fileTypesIds : string;
5458

5559
constructor(data? : KalturaCollectionArgs)
5660
{
@@ -61,6 +65,7 @@ export class KalturaCollection extends KalturaOTTObjectSupportNullable {
6165
if (typeof this.couponsGroups === 'undefined') this.couponsGroups = [];
6266
if (typeof this.collectionCouponGroup === 'undefined') this.collectionCouponGroup = [];
6367
if (typeof this.productCodes === 'undefined') this.productCodes = [];
68+
if (typeof this.fileTypes === 'undefined') this.fileTypes = [];
6469
}
6570

6671
protected _getMetadata() : KalturaObjectMetadata
@@ -91,7 +96,9 @@ export class KalturaCollection extends KalturaOTTObjectSupportNullable {
9196
isActive : { type : 'b' },
9297
createDate : { type : 'n', readOnly : true },
9398
updateDate : { type : 'n', readOnly : true },
94-
virtualAssetId : { type : 'n', readOnly : true }
99+
virtualAssetId : { type : 'n', readOnly : true },
100+
fileTypes : { type : 'a', readOnly : true, subTypeConstructor : KalturaIntegerValue, subType : 'KalturaIntegerValue' },
101+
fileTypesIds : { type : 's' }
95102
}
96103
);
97104
return result;

src/api/types/KalturaConcurrencyPartnerConfig.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export interface KalturaConcurrencyPartnerConfigArgs extends KalturaPartnerConf
99
evictionPolicy? : KalturaEvictionPolicyType;
1010
concurrencyThresholdInSeconds? : number;
1111
revokeOnDeviceDelete? : boolean;
12+
excludeFreeContentFromConcurrency? : boolean;
1213
}
1314

1415

@@ -18,6 +19,7 @@ export class KalturaConcurrencyPartnerConfig extends KalturaPartnerConfiguration
1819
evictionPolicy : KalturaEvictionPolicyType;
1920
concurrencyThresholdInSeconds : number;
2021
revokeOnDeviceDelete : boolean;
22+
excludeFreeContentFromConcurrency : boolean;
2123

2224
constructor(data? : KalturaConcurrencyPartnerConfigArgs)
2325
{
@@ -34,7 +36,8 @@ export class KalturaConcurrencyPartnerConfig extends KalturaPartnerConfiguration
3436
deviceFamilyIds : { type : 's' },
3537
evictionPolicy : { type : 'es', subTypeConstructor : KalturaEvictionPolicyType, subType : 'KalturaEvictionPolicyType' },
3638
concurrencyThresholdInSeconds : { type : 'n' },
37-
revokeOnDeviceDelete : { type : 'b' }
39+
revokeOnDeviceDelete : { type : 'b' },
40+
excludeFreeContentFromConcurrency : { type : 'b' }
3841
}
3942
);
4043
return result;

0 commit comments

Comments
 (0)