Skip to content

Commit

Permalink
Auto-generated by Jenkins job OTT-Generate-ClientLibs/1372, branch 10…
Browse files Browse the repository at this point in the history
….7.0.0
  • Loading branch information
Backend CI committed Nov 27, 2024
1 parent d3231d3 commit ebde2e8
Show file tree
Hide file tree
Showing 50 changed files with 1,169 additions and 30 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 9.6.0.0 and above.
Compatible with Kaltura OTT server version 10.7.0.0 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@9.6.0-0
npm install kaltura-ott-typescript-client@10.7.0-0
```

**Found a bug?** create [kaltura/clients-generator issue](https://github.com/kaltura/clients-generator/issues)
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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": "9.6.0-0",
"version": "10.7.0-0",
"description": "Kaltura OTT Typescript client",
"keywords": [
"Kaltura"
Expand Down
2 changes: 1 addition & 1 deletion src/api/types/AssetAddFromBulkUploadAction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export interface AssetAddFromBulkUploadActionArgs extends KalturaUploadRequestA
/**
* Build request payload for service 'asset' action 'addFromBulkUpload'.
*
* Usage: Add new bulk upload batch job Conversion profile id can be specified in the API
* 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)
*
* Server response type: KalturaBulkUpload
* Server failure response type: KalturaAPIException
Expand Down
3 changes: 2 additions & 1 deletion src/api/types/AssetStatisticsQueryAction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ export interface AssetStatisticsQueryActionArgs extends KalturaRequestArgs {
/**
* Build request payload for service 'assetStatistics' action 'query'.
*
* Usage: Returns statistics for given list of assets by type and / or time period
* Usage: Returns statistics for given list of assets by type and / or time period.
* Supported values for KalturaAssetStatisticsQuery.assetTypeEqual : KalturaAssetType.media, KalturaAssetType.epg
*
* Server response type: KalturaAssetStatisticsListResponse
* Server failure response type: KalturaAPIException
Expand Down
44 changes: 44 additions & 0 deletions src/api/types/AssetWatchBasedRecommendationsListAction.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@

import { KalturaObjectMetadata } from '../kaltura-object-base';
import { KalturaAssetListResponse } from './KalturaAssetListResponse';

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

export interface AssetWatchBasedRecommendationsListActionArgs extends KalturaRequestArgs {
profileId : number;
}

/**
* Build request payload for service 'asset' action 'watchBasedRecommendationsList'.
*
* Usage: Return list of assets - assets are personal recommendations for the caller
*
* Server response type: KalturaAssetListResponse
* Server failure response type: KalturaAPIException
* @class
* @extends KalturaRequest
*/
export class AssetWatchBasedRecommendationsListAction extends KalturaRequest<KalturaAssetListResponse> {

profileId : number;

constructor(data : AssetWatchBasedRecommendationsListActionArgs)
{
super(data, {responseType : 'o', responseSubType : 'KalturaAssetListResponse', responseConstructor : KalturaAssetListResponse });
}

protected _getMetadata() : KalturaObjectMetadata
{
const result = super._getMetadata();
Object.assign(
result.properties,
{
service : { type : 'c', default : 'asset' },
action : { type : 'c', default : 'watchBasedRecommendationsList' },
profileId : { type : 'n' }
}
);
return result;
}
}

6 changes: 5 additions & 1 deletion src/api/types/CategoryTreeGetByVersionAction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { KalturaRequest, KalturaRequestArgs } from '../kaltura-request';
export interface CategoryTreeGetByVersionActionArgs extends KalturaRequestArgs {
versionId? : number;
deviceFamilyId? : number;
filter? : boolean;
}

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

versionId : number;
deviceFamilyId : number;
filter : boolean;

constructor(data? : CategoryTreeGetByVersionActionArgs)
{
super(data, {responseType : 'o', responseSubType : 'KalturaCategoryTree', responseConstructor : KalturaCategoryTree });
if (typeof this.filter === 'undefined') this.filter = false;
}

protected _getMetadata() : KalturaObjectMetadata
Expand All @@ -38,7 +41,8 @@ export class CategoryTreeGetByVersionAction extends KalturaRequest<KalturaCatego
service : { type : 'c', default : 'categorytree' },
action : { type : 'c', default : 'getByVersion' },
versionId : { type : 'n' },
deviceFamilyId : { type : 'n' }
deviceFamilyId : { type : 'n' },
filter : { type : 'b' }
}
);
return result;
Expand Down
2 changes: 1 addition & 1 deletion src/api/types/DynamicListAddFromBulkUploadAction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export interface DynamicListAddFromBulkUploadActionArgs extends KalturaUploadRe
/**
* Build request payload for service 'dynamicList' action 'addFromBulkUpload'.
*
* Usage: Add new bulk upload batch job Conversion profile id can be specified in the API
* 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)
*
* Server response type: KalturaBulkUpload
* Server failure response type: KalturaAPIException
Expand Down
4 changes: 3 additions & 1 deletion src/api/types/KalturaAppToken.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export class KalturaAppToken extends KalturaObjectBase {
sessionUserId : string;
readonly createDate : number;
readonly updateDate : number;
readonly regionId : number;

constructor(data? : KalturaAppTokenArgs)
{
Expand All @@ -47,7 +48,8 @@ export class KalturaAppToken extends KalturaObjectBase {
token : { type : 's', readOnly : true },
sessionUserId : { type : 's' },
createDate : { type : 'n', readOnly : true },
updateDate : { type : 'n', readOnly : true }
updateDate : { type : 'n', readOnly : true },
regionId : { type : 'n', readOnly : true }
}
);
return result;
Expand Down
37 changes: 37 additions & 0 deletions src/api/types/KalturaAssociatedShopEntities.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 { KalturaObjectBase, KalturaObjectBaseArgs } from '../kaltura-object-base';

export interface KalturaAssociatedShopEntitiesArgs extends KalturaObjectBaseArgs {
assetUserRuleIdIn? : string;
includeNullAssetUserRuleId? : boolean;
}


export class KalturaAssociatedShopEntities extends KalturaObjectBase {

assetUserRuleIdIn : string;
includeNullAssetUserRuleId : boolean;

constructor(data? : KalturaAssociatedShopEntitiesArgs)
{
super(data);
}

protected _getMetadata() : KalturaObjectMetadata
{
const result = super._getMetadata();
Object.assign(
result.properties,
{
objectType : { type : 'c', default : 'KalturaAssociatedShopEntities' },
assetUserRuleIdIn : { type : 's' },
includeNullAssetUserRuleId : { type : 'b' }
}
);
return result;
}
}

KalturaTypesFactory.registerType('KalturaAssociatedShopEntities',KalturaAssociatedShopEntities);
5 changes: 4 additions & 1 deletion src/api/types/KalturaDiscountDetails.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export interface KalturaDiscountDetailsArgs extends KalturaObjectBaseArgs {
endDate? : number;
whenAlgoTimes? : number;
whenAlgoType? : number;
assetUserRuleId? : number;
}


Expand All @@ -23,6 +24,7 @@ export class KalturaDiscountDetails extends KalturaObjectBase {
endDate : number;
whenAlgoTimes : number;
whenAlgoType : number;
assetUserRuleId : number;

constructor(data? : KalturaDiscountDetailsArgs)
{
Expand All @@ -43,7 +45,8 @@ export class KalturaDiscountDetails extends KalturaObjectBase {
startDate : { type : 'n' },
endDate : { type : 'n' },
whenAlgoTimes : { type : 'n' },
whenAlgoType : { type : 'n' }
whenAlgoType : { type : 'n' },
assetUserRuleId : { type : 'n' }
}
);
return result;
Expand Down
6 changes: 5 additions & 1 deletion src/api/types/KalturaDiscountDetailsFilter.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@

import { KalturaObjectMetadata } from '../kaltura-object-base';
import { KalturaTypesFactory } from '../kaltura-types-factory';
import { KalturaAssociatedShopEntities } from './KalturaAssociatedShopEntities';
import { KalturaFilter, KalturaFilterArgs } from './KalturaFilter';

export interface KalturaDiscountDetailsFilterArgs extends KalturaFilterArgs {
idIn? : string;
associatedShopEntities? : KalturaAssociatedShopEntities;
}


export class KalturaDiscountDetailsFilter extends KalturaFilter {

idIn : string;
associatedShopEntities : KalturaAssociatedShopEntities;

constructor(data? : KalturaDiscountDetailsFilterArgs)
{
Expand All @@ -24,7 +27,8 @@ export class KalturaDiscountDetailsFilter extends KalturaFilter {
result.properties,
{
objectType : { type : 'c', default : 'KalturaDiscountDetailsFilter' },
idIn : { type : 's' }
idIn : { type : 's' },
associatedShopEntities : { type : 'o', subTypeConstructor : KalturaAssociatedShopEntities, subType : 'KalturaAssociatedShopEntities' }
}
);
return result;
Expand Down
5 changes: 4 additions & 1 deletion src/api/types/KalturaDiscountModule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export interface KalturaDiscountModuleArgs extends KalturaObjectBaseArgs {
percent? : number;
startDate? : number;
endDate? : number;
assetUserRuleId? : number;
}


Expand All @@ -17,6 +18,7 @@ export class KalturaDiscountModule extends KalturaObjectBase {
percent : number;
startDate : number;
endDate : number;
assetUserRuleId : number;

constructor(data? : KalturaDiscountModuleArgs)
{
Expand All @@ -33,7 +35,8 @@ export class KalturaDiscountModule extends KalturaObjectBase {
id : { type : 'n' },
percent : { type : 'n' },
startDate : { type : 'n' },
endDate : { type : 'n' }
endDate : { type : 'n' },
assetUserRuleId : { type : 'n' }
}
);
return result;
Expand Down
4 changes: 3 additions & 1 deletion src/api/types/KalturaHouseholdDeviceFamilyLimitations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export class KalturaHouseholdDeviceFamilyLimitations extends KalturaDeviceFamily
concurrentLimit : number;
readonly isDefaultDeviceLimit : boolean;
readonly isDefaultConcurrentLimit : boolean;
readonly isDefaultFrequencyLimit : boolean;

constructor(data? : KalturaHouseholdDeviceFamilyLimitationsArgs)
{
Expand All @@ -34,7 +35,8 @@ export class KalturaHouseholdDeviceFamilyLimitations extends KalturaDeviceFamily
deviceLimit : { type : 'n' },
concurrentLimit : { type : 'n' },
isDefaultDeviceLimit : { type : 'b', readOnly : true },
isDefaultConcurrentLimit : { type : 'b', readOnly : true }
isDefaultConcurrentLimit : { type : 'b', readOnly : true },
isDefaultFrequencyLimit : { type : 'b', readOnly : true }
}
);
return result;
Expand Down
34 changes: 34 additions & 0 deletions src/api/types/KalturaLiveAssetHasRecordingsFilter.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 { KalturaAssetFilter, KalturaAssetFilterArgs } from './KalturaAssetFilter';

export interface KalturaLiveAssetHasRecordingsFilterArgs extends KalturaAssetFilterArgs {
liveAssetIdEqual? : number;
}


export class KalturaLiveAssetHasRecordingsFilter extends KalturaAssetFilter {

liveAssetIdEqual : number;

constructor(data? : KalturaLiveAssetHasRecordingsFilterArgs)
{
super(data);
}

protected _getMetadata() : KalturaObjectMetadata
{
const result = super._getMetadata();
Object.assign(
result.properties,
{
objectType : { type : 'c', default : 'KalturaLiveAssetHasRecordingsFilter' },
liveAssetIdEqual : { type : 'n' }
}
);
return result;
}
}

KalturaTypesFactory.registerType('KalturaLiveAssetHasRecordingsFilter',KalturaLiveAssetHasRecordingsFilter);
18 changes: 9 additions & 9 deletions src/api/types/KalturaMonetizationCondition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,25 @@ import { KalturaMathemticalOperatorType } from './KalturaMathemticalOperatorType
import { KalturaBaseSegmentCondition, KalturaBaseSegmentConditionArgs } from './KalturaBaseSegmentCondition';

export interface KalturaMonetizationConditionArgs extends KalturaBaseSegmentConditionArgs {
minValue? : number;
maxValue? : number;
days? : number;
days? : number;
type? : KalturaMonetizationType;
operator? : KalturaMathemticalOperatorType;
businessModuleIdIn? : string;
currencyCode? : string;
minValue? : number;
maxValue? : number;
}


export class KalturaMonetizationCondition extends KalturaBaseSegmentCondition {

minValue : number;
maxValue : number;
days : number;
days : number;
type : KalturaMonetizationType;
operator : KalturaMathemticalOperatorType;
businessModuleIdIn : string;
currencyCode : string;
minValue : number;
maxValue : number;

constructor(data? : KalturaMonetizationConditionArgs)
{
Expand All @@ -38,13 +38,13 @@ export class KalturaMonetizationCondition extends KalturaBaseSegmentCondition {
result.properties,
{
objectType : { type : 'c', default : 'KalturaMonetizationCondition' },
minValue : { type : 'n' },
maxValue : { type : 'n' },
days : { type : 'n' },
type : { type : 'es', subTypeConstructor : KalturaMonetizationType, subType : 'KalturaMonetizationType' },
operator : { type : 'es', subTypeConstructor : KalturaMathemticalOperatorType, subType : 'KalturaMathemticalOperatorType' },
businessModuleIdIn : { type : 's' },
currencyCode : { type : 's' }
currencyCode : { type : 's' },
minValue : { type : 'n' },
maxValue : { type : 'n' }
}
);
return result;
Expand Down
Loading

0 comments on commit ebde2e8

Please sign in to comment.