Skip to content

Commit ebde2e8

Browse files
author
Backend CI
committed
Auto-generated by Jenkins job OTT-Generate-ClientLibs/1372, branch 10.7.0.0
1 parent d3231d3 commit ebde2e8

File tree

50 files changed

+1169
-30
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+1169
-30
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 9.6.0.0 and above.
3+
Compatible with Kaltura OTT server version 10.7.0.0 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@9.6.0-0
19+
npm install kaltura-ott-typescript-client@10.7.0-0
2020
```
2121

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

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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": "9.6.0-0",
4+
"version": "10.7.0-0",
55
"description": "Kaltura OTT Typescript client",
66
"keywords": [
77
"Kaltura"

src/api/types/AssetAddFromBulkUploadAction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export interface AssetAddFromBulkUploadActionArgs extends KalturaUploadRequestA
1515
/**
1616
* Build request payload for service 'asset' action 'addFromBulkUpload'.
1717
*
18-
* Usage: Add new bulk upload batch job Conversion profile id can be specified in the API
18+
* Usage: Add new bulk upload batch job Conversion profile id can be specified in the API (note that the total request body size is limited to 10MB)
1919
*
2020
* Server response type: KalturaBulkUpload
2121
* Server failure response type: KalturaAPIException

src/api/types/AssetStatisticsQueryAction.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ export interface AssetStatisticsQueryActionArgs extends KalturaRequestArgs {
1212
/**
1313
* Build request payload for service 'assetStatistics' action 'query'.
1414
*
15-
* Usage: Returns statistics for given list of assets by type and / or time period
15+
* Usage: Returns statistics for given list of assets by type and / or time period.
16+
* Supported values for KalturaAssetStatisticsQuery.assetTypeEqual : KalturaAssetType.media, KalturaAssetType.epg
1617
*
1718
* Server response type: KalturaAssetStatisticsListResponse
1819
* Server failure response type: KalturaAPIException
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
2+
import { KalturaObjectMetadata } from '../kaltura-object-base';
3+
import { KalturaAssetListResponse } from './KalturaAssetListResponse';
4+
5+
import { KalturaRequest, KalturaRequestArgs } from '../kaltura-request';
6+
7+
export interface AssetWatchBasedRecommendationsListActionArgs extends KalturaRequestArgs {
8+
profileId : number;
9+
}
10+
11+
/**
12+
* Build request payload for service 'asset' action 'watchBasedRecommendationsList'.
13+
*
14+
* Usage: Return list of assets - assets are personal recommendations for the caller
15+
*
16+
* Server response type: KalturaAssetListResponse
17+
* Server failure response type: KalturaAPIException
18+
* @class
19+
* @extends KalturaRequest
20+
*/
21+
export class AssetWatchBasedRecommendationsListAction extends KalturaRequest<KalturaAssetListResponse> {
22+
23+
profileId : number;
24+
25+
constructor(data : AssetWatchBasedRecommendationsListActionArgs)
26+
{
27+
super(data, {responseType : 'o', responseSubType : 'KalturaAssetListResponse', responseConstructor : KalturaAssetListResponse });
28+
}
29+
30+
protected _getMetadata() : KalturaObjectMetadata
31+
{
32+
const result = super._getMetadata();
33+
Object.assign(
34+
result.properties,
35+
{
36+
service : { type : 'c', default : 'asset' },
37+
action : { type : 'c', default : 'watchBasedRecommendationsList' },
38+
profileId : { type : 'n' }
39+
}
40+
);
41+
return result;
42+
}
43+
}
44+

src/api/types/CategoryTreeGetByVersionAction.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import { KalturaRequest, KalturaRequestArgs } from '../kaltura-request';
77
export interface CategoryTreeGetByVersionActionArgs extends KalturaRequestArgs {
88
versionId? : number;
99
deviceFamilyId? : number;
10+
filter? : boolean;
1011
}
1112

1213
/**
@@ -23,10 +24,12 @@ export class CategoryTreeGetByVersionAction extends KalturaRequest<KalturaCatego
2324

2425
versionId : number;
2526
deviceFamilyId : number;
27+
filter : boolean;
2628

2729
constructor(data? : CategoryTreeGetByVersionActionArgs)
2830
{
2931
super(data, {responseType : 'o', responseSubType : 'KalturaCategoryTree', responseConstructor : KalturaCategoryTree });
32+
if (typeof this.filter === 'undefined') this.filter = false;
3033
}
3134

3235
protected _getMetadata() : KalturaObjectMetadata
@@ -38,7 +41,8 @@ export class CategoryTreeGetByVersionAction extends KalturaRequest<KalturaCatego
3841
service : { type : 'c', default : 'categorytree' },
3942
action : { type : 'c', default : 'getByVersion' },
4043
versionId : { type : 'n' },
41-
deviceFamilyId : { type : 'n' }
44+
deviceFamilyId : { type : 'n' },
45+
filter : { type : 'b' }
4246
}
4347
);
4448
return result;

src/api/types/DynamicListAddFromBulkUploadAction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export interface DynamicListAddFromBulkUploadActionArgs extends KalturaUploadRe
1515
/**
1616
* Build request payload for service 'dynamicList' action 'addFromBulkUpload'.
1717
*
18-
* Usage: Add new bulk upload batch job Conversion profile id can be specified in the API
18+
* Usage: Add new bulk upload batch job Conversion profile id can be specified in the API (note that the total request body size is limited to 10MB)
1919
*
2020
* Server response type: KalturaBulkUpload
2121
* Server failure response type: KalturaAPIException

src/api/types/KalturaAppToken.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ export class KalturaAppToken extends KalturaObjectBase {
2525
sessionUserId : string;
2626
readonly createDate : number;
2727
readonly updateDate : number;
28+
readonly regionId : number;
2829

2930
constructor(data? : KalturaAppTokenArgs)
3031
{
@@ -47,7 +48,8 @@ export class KalturaAppToken extends KalturaObjectBase {
4748
token : { type : 's', readOnly : true },
4849
sessionUserId : { type : 's' },
4950
createDate : { type : 'n', readOnly : true },
50-
updateDate : { type : 'n', readOnly : true }
51+
updateDate : { type : 'n', readOnly : true },
52+
regionId : { type : 'n', readOnly : true }
5153
}
5254
);
5355
return result;
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
2+
import { KalturaObjectMetadata } from '../kaltura-object-base';
3+
import { KalturaTypesFactory } from '../kaltura-types-factory';
4+
import { KalturaObjectBase, KalturaObjectBaseArgs } from '../kaltura-object-base';
5+
6+
export interface KalturaAssociatedShopEntitiesArgs extends KalturaObjectBaseArgs {
7+
assetUserRuleIdIn? : string;
8+
includeNullAssetUserRuleId? : boolean;
9+
}
10+
11+
12+
export class KalturaAssociatedShopEntities extends KalturaObjectBase {
13+
14+
assetUserRuleIdIn : string;
15+
includeNullAssetUserRuleId : boolean;
16+
17+
constructor(data? : KalturaAssociatedShopEntitiesArgs)
18+
{
19+
super(data);
20+
}
21+
22+
protected _getMetadata() : KalturaObjectMetadata
23+
{
24+
const result = super._getMetadata();
25+
Object.assign(
26+
result.properties,
27+
{
28+
objectType : { type : 'c', default : 'KalturaAssociatedShopEntities' },
29+
assetUserRuleIdIn : { type : 's' },
30+
includeNullAssetUserRuleId : { type : 'b' }
31+
}
32+
);
33+
return result;
34+
}
35+
}
36+
37+
KalturaTypesFactory.registerType('KalturaAssociatedShopEntities',KalturaAssociatedShopEntities);

src/api/types/KalturaDiscountDetails.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export interface KalturaDiscountDetailsArgs extends KalturaObjectBaseArgs {
1111
endDate? : number;
1212
whenAlgoTimes? : number;
1313
whenAlgoType? : number;
14+
assetUserRuleId? : number;
1415
}
1516

1617

@@ -23,6 +24,7 @@ export class KalturaDiscountDetails extends KalturaObjectBase {
2324
endDate : number;
2425
whenAlgoTimes : number;
2526
whenAlgoType : number;
27+
assetUserRuleId : number;
2628

2729
constructor(data? : KalturaDiscountDetailsArgs)
2830
{
@@ -43,7 +45,8 @@ export class KalturaDiscountDetails extends KalturaObjectBase {
4345
startDate : { type : 'n' },
4446
endDate : { type : 'n' },
4547
whenAlgoTimes : { type : 'n' },
46-
whenAlgoType : { type : 'n' }
48+
whenAlgoType : { type : 'n' },
49+
assetUserRuleId : { type : 'n' }
4750
}
4851
);
4952
return result;

src/api/types/KalturaDiscountDetailsFilter.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
11

22
import { KalturaObjectMetadata } from '../kaltura-object-base';
33
import { KalturaTypesFactory } from '../kaltura-types-factory';
4+
import { KalturaAssociatedShopEntities } from './KalturaAssociatedShopEntities';
45
import { KalturaFilter, KalturaFilterArgs } from './KalturaFilter';
56

67
export interface KalturaDiscountDetailsFilterArgs extends KalturaFilterArgs {
78
idIn? : string;
9+
associatedShopEntities? : KalturaAssociatedShopEntities;
810
}
911

1012

1113
export class KalturaDiscountDetailsFilter extends KalturaFilter {
1214

1315
idIn : string;
16+
associatedShopEntities : KalturaAssociatedShopEntities;
1417

1518
constructor(data? : KalturaDiscountDetailsFilterArgs)
1619
{
@@ -24,7 +27,8 @@ export class KalturaDiscountDetailsFilter extends KalturaFilter {
2427
result.properties,
2528
{
2629
objectType : { type : 'c', default : 'KalturaDiscountDetailsFilter' },
27-
idIn : { type : 's' }
30+
idIn : { type : 's' },
31+
associatedShopEntities : { type : 'o', subTypeConstructor : KalturaAssociatedShopEntities, subType : 'KalturaAssociatedShopEntities' }
2832
}
2933
);
3034
return result;

src/api/types/KalturaDiscountModule.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export interface KalturaDiscountModuleArgs extends KalturaObjectBaseArgs {
88
percent? : number;
99
startDate? : number;
1010
endDate? : number;
11+
assetUserRuleId? : number;
1112
}
1213

1314

@@ -17,6 +18,7 @@ export class KalturaDiscountModule extends KalturaObjectBase {
1718
percent : number;
1819
startDate : number;
1920
endDate : number;
21+
assetUserRuleId : number;
2022

2123
constructor(data? : KalturaDiscountModuleArgs)
2224
{
@@ -33,7 +35,8 @@ export class KalturaDiscountModule extends KalturaObjectBase {
3335
id : { type : 'n' },
3436
percent : { type : 'n' },
3537
startDate : { type : 'n' },
36-
endDate : { type : 'n' }
38+
endDate : { type : 'n' },
39+
assetUserRuleId : { type : 'n' }
3740
}
3841
);
3942
return result;

src/api/types/KalturaHouseholdDeviceFamilyLimitations.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export class KalturaHouseholdDeviceFamilyLimitations extends KalturaDeviceFamily
1717
concurrentLimit : number;
1818
readonly isDefaultDeviceLimit : boolean;
1919
readonly isDefaultConcurrentLimit : boolean;
20+
readonly isDefaultFrequencyLimit : boolean;
2021

2122
constructor(data? : KalturaHouseholdDeviceFamilyLimitationsArgs)
2223
{
@@ -34,7 +35,8 @@ export class KalturaHouseholdDeviceFamilyLimitations extends KalturaDeviceFamily
3435
deviceLimit : { type : 'n' },
3536
concurrentLimit : { type : 'n' },
3637
isDefaultDeviceLimit : { type : 'b', readOnly : true },
37-
isDefaultConcurrentLimit : { type : 'b', readOnly : true }
38+
isDefaultConcurrentLimit : { type : 'b', readOnly : true },
39+
isDefaultFrequencyLimit : { type : 'b', readOnly : true }
3840
}
3941
);
4042
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 { KalturaAssetFilter, KalturaAssetFilterArgs } from './KalturaAssetFilter';
5+
6+
export interface KalturaLiveAssetHasRecordingsFilterArgs extends KalturaAssetFilterArgs {
7+
liveAssetIdEqual? : number;
8+
}
9+
10+
11+
export class KalturaLiveAssetHasRecordingsFilter extends KalturaAssetFilter {
12+
13+
liveAssetIdEqual : number;
14+
15+
constructor(data? : KalturaLiveAssetHasRecordingsFilterArgs)
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 : 'KalturaLiveAssetHasRecordingsFilter' },
27+
liveAssetIdEqual : { type : 'n' }
28+
}
29+
);
30+
return result;
31+
}
32+
}
33+
34+
KalturaTypesFactory.registerType('KalturaLiveAssetHasRecordingsFilter',KalturaLiveAssetHasRecordingsFilter);

src/api/types/KalturaMonetizationCondition.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,25 @@ import { KalturaMathemticalOperatorType } from './KalturaMathemticalOperatorType
66
import { KalturaBaseSegmentCondition, KalturaBaseSegmentConditionArgs } from './KalturaBaseSegmentCondition';
77

88
export interface KalturaMonetizationConditionArgs extends KalturaBaseSegmentConditionArgs {
9-
minValue? : number;
10-
maxValue? : number;
11-
days? : number;
9+
days? : number;
1210
type? : KalturaMonetizationType;
1311
operator? : KalturaMathemticalOperatorType;
1412
businessModuleIdIn? : string;
1513
currencyCode? : string;
14+
minValue? : number;
15+
maxValue? : number;
1616
}
1717

1818

1919
export class KalturaMonetizationCondition extends KalturaBaseSegmentCondition {
2020

21-
minValue : number;
22-
maxValue : number;
23-
days : number;
21+
days : number;
2422
type : KalturaMonetizationType;
2523
operator : KalturaMathemticalOperatorType;
2624
businessModuleIdIn : string;
2725
currencyCode : string;
26+
minValue : number;
27+
maxValue : number;
2828

2929
constructor(data? : KalturaMonetizationConditionArgs)
3030
{
@@ -38,13 +38,13 @@ export class KalturaMonetizationCondition extends KalturaBaseSegmentCondition {
3838
result.properties,
3939
{
4040
objectType : { type : 'c', default : 'KalturaMonetizationCondition' },
41-
minValue : { type : 'n' },
42-
maxValue : { type : 'n' },
4341
days : { type : 'n' },
4442
type : { type : 'es', subTypeConstructor : KalturaMonetizationType, subType : 'KalturaMonetizationType' },
4543
operator : { type : 'es', subTypeConstructor : KalturaMathemticalOperatorType, subType : 'KalturaMathemticalOperatorType' },
4644
businessModuleIdIn : { type : 's' },
47-
currencyCode : { type : 's' }
45+
currencyCode : { type : 's' },
46+
minValue : { type : 'n' },
47+
maxValue : { type : 'n' }
4848
}
4949
);
5050
return result;

0 commit comments

Comments
 (0)