From eda51730e066ac4d3a3d1af639feef47323d25dc Mon Sep 17 00:00:00 2001 From: Backend CI Date: Wed, 2 Feb 2022 18:57:59 +0000 Subject: [PATCH] Auto-generated by Jenkins job OTT-Generate-ClientLibs/780, branch 710_BEO-11144_PAGO_New --- README.md | 4 +- package.json | 2 +- src/api/types/KalturaAssetDynamicOrder.ts | 38 +++++++++++++++++++ src/api/types/KalturaAssetFilter.ts | 5 +++ src/api/types/KalturaAssetOrder.ts | 35 +++++++++++++++++ .../types/KalturaAssetOrderByStatistics.ts | 5 +++ src/api/types/KalturaAssetOrderByType.ts | 14 +++++++ src/api/types/KalturaAssetStatisticsOrder.ts | 38 +++++++++++++++++++ src/api/types/KalturaBaseAssetOrder.ts | 33 ++++++++++++++++ ...KalturaHouseholdDeviceFamilyLimitations.ts | 4 +- .../KalturaObjectVirtualAssetInfoType.ts | 1 + src/api/types/index.ts | 6 +++ src/environment.ts | 2 +- 13 files changed, 181 insertions(+), 6 deletions(-) create mode 100644 src/api/types/KalturaAssetDynamicOrder.ts create mode 100644 src/api/types/KalturaAssetOrder.ts create mode 100644 src/api/types/KalturaAssetOrderByStatistics.ts create mode 100644 src/api/types/KalturaAssetOrderByType.ts create mode 100644 src/api/types/KalturaAssetStatisticsOrder.ts create mode 100644 src/api/types/KalturaBaseAssetOrder.ts diff --git a/README.md b/README.md index 65f68f99..c22b302f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Kaltura OTT Typescript Client -Compatible with Kaltura OTT server version 7.2.0.29748 and above. +Compatible with Kaltura OTT server version 7.2.0.29783 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) @@ -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.2.0-29748 +npm install kaltura-ott-typescript-client@7.2.0-29783 ``` **Found a bug?** create [kaltura/clients-generator issue](https://github.com/kaltura/clients-generator/issues) diff --git a/package.json b/package.json index 388085d7..e87ba122 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "kaltura-ott-typescript-client", "private": true, - "version": "7.2.0-29748", + "version": "7.2.0-29783", "description": "Kaltura OTT Typescript client", "keywords": [ "Kaltura" diff --git a/src/api/types/KalturaAssetDynamicOrder.ts b/src/api/types/KalturaAssetDynamicOrder.ts new file mode 100644 index 00000000..0e0f8c0f --- /dev/null +++ b/src/api/types/KalturaAssetDynamicOrder.ts @@ -0,0 +1,38 @@ + +import { KalturaObjectMetadata } from '../kaltura-object-base'; +import { KalturaTypesFactory } from '../kaltura-types-factory'; +import { KalturaMetaTagOrderBy } from './KalturaMetaTagOrderBy'; +import { KalturaBaseAssetOrder, KalturaBaseAssetOrderArgs } from './KalturaBaseAssetOrder'; + +export interface KalturaAssetDynamicOrderArgs extends KalturaBaseAssetOrderArgs { + name? : string; + orderBy? : KalturaMetaTagOrderBy; +} + + +export class KalturaAssetDynamicOrder extends KalturaBaseAssetOrder { + + name : string; + orderBy : KalturaMetaTagOrderBy; + + constructor(data? : KalturaAssetDynamicOrderArgs) + { + super(data); + } + + protected _getMetadata() : KalturaObjectMetadata + { + const result = super._getMetadata(); + Object.assign( + result.properties, + { + objectType : { type : 'c', default : 'KalturaAssetDynamicOrder' }, + name : { type : 's' }, + orderBy : { type : 'es', subTypeConstructor : KalturaMetaTagOrderBy, subType : 'KalturaMetaTagOrderBy' } + } + ); + return result; + } +} + +KalturaTypesFactory.registerType('KalturaAssetDynamicOrder',KalturaAssetDynamicOrder); diff --git a/src/api/types/KalturaAssetFilter.ts b/src/api/types/KalturaAssetFilter.ts index ea946af4..8ca58511 100644 --- a/src/api/types/KalturaAssetFilter.ts +++ b/src/api/types/KalturaAssetFilter.ts @@ -2,10 +2,12 @@ import { KalturaObjectMetadata } from '../kaltura-object-base'; import { KalturaTypesFactory } from '../kaltura-types-factory'; import { KalturaDynamicOrderBy } from './KalturaDynamicOrderBy'; +import { KalturaBaseAssetOrder } from './KalturaBaseAssetOrder'; import { KalturaPersistedFilter, KalturaPersistedFilterArgs } from './KalturaPersistedFilter'; export interface KalturaAssetFilterArgs extends KalturaPersistedFilterArgs { dynamicOrderBy? : KalturaDynamicOrderBy; + orderingParameters? : KalturaBaseAssetOrder[]; trendingDaysEqual? : number; shouldApplyPriorityGroupsEqual? : boolean; } @@ -14,12 +16,14 @@ export interface KalturaAssetFilterArgs extends KalturaPersistedFilterArgs { export class KalturaAssetFilter extends KalturaPersistedFilter { dynamicOrderBy : KalturaDynamicOrderBy; + orderingParameters : KalturaBaseAssetOrder[]; trendingDaysEqual : number; shouldApplyPriorityGroupsEqual : boolean; constructor(data? : KalturaAssetFilterArgs) { super(data); + if (typeof this.orderingParameters === 'undefined') this.orderingParameters = []; } protected _getMetadata() : KalturaObjectMetadata @@ -30,6 +34,7 @@ export class KalturaAssetFilter extends KalturaPersistedFilter { { objectType : { type : 'c', default : 'KalturaAssetFilter' }, dynamicOrderBy : { type : 'o', subTypeConstructor : KalturaDynamicOrderBy, subType : 'KalturaDynamicOrderBy' }, + orderingParameters : { type : 'a', subTypeConstructor : KalturaBaseAssetOrder, subType : 'KalturaBaseAssetOrder' }, trendingDaysEqual : { type : 'n' }, shouldApplyPriorityGroupsEqual : { type : 'b' } } diff --git a/src/api/types/KalturaAssetOrder.ts b/src/api/types/KalturaAssetOrder.ts new file mode 100644 index 00000000..b8c48cce --- /dev/null +++ b/src/api/types/KalturaAssetOrder.ts @@ -0,0 +1,35 @@ + +import { KalturaObjectMetadata } from '../kaltura-object-base'; +import { KalturaTypesFactory } from '../kaltura-types-factory'; +import { KalturaAssetOrderByType } from './KalturaAssetOrderByType'; +import { KalturaBaseAssetOrder, KalturaBaseAssetOrderArgs } from './KalturaBaseAssetOrder'; + +export interface KalturaAssetOrderArgs extends KalturaBaseAssetOrderArgs { + orderBy? : KalturaAssetOrderByType; +} + + +export class KalturaAssetOrder extends KalturaBaseAssetOrder { + + orderBy : KalturaAssetOrderByType; + + constructor(data? : KalturaAssetOrderArgs) + { + super(data); + } + + protected _getMetadata() : KalturaObjectMetadata + { + const result = super._getMetadata(); + Object.assign( + result.properties, + { + objectType : { type : 'c', default : 'KalturaAssetOrder' }, + orderBy : { type : 'es', subTypeConstructor : KalturaAssetOrderByType, subType : 'KalturaAssetOrderByType' } + } + ); + return result; + } +} + +KalturaTypesFactory.registerType('KalturaAssetOrder',KalturaAssetOrder); diff --git a/src/api/types/KalturaAssetOrderByStatistics.ts b/src/api/types/KalturaAssetOrderByStatistics.ts new file mode 100644 index 00000000..e50a039f --- /dev/null +++ b/src/api/types/KalturaAssetOrderByStatistics.ts @@ -0,0 +1,5 @@ + + +export enum KalturaAssetOrderByStatistics { + viewsDesc = 'VIEWS_DESC' +} \ No newline at end of file diff --git a/src/api/types/KalturaAssetOrderByType.ts b/src/api/types/KalturaAssetOrderByType.ts new file mode 100644 index 00000000..f06fde62 --- /dev/null +++ b/src/api/types/KalturaAssetOrderByType.ts @@ -0,0 +1,14 @@ + + +export enum KalturaAssetOrderByType { + createDateAsc = 'CREATE_DATE_ASC', + createDateDesc = 'CREATE_DATE_DESC', + likesDesc = 'LIKES_DESC', + nameAsc = 'NAME_ASC', + nameDesc = 'NAME_DESC', + ratingsDesc = 'RATINGS_DESC', + relevancyDesc = 'RELEVANCY_DESC', + startDateAsc = 'START_DATE_ASC', + startDateDesc = 'START_DATE_DESC', + votesDesc = 'VOTES_DESC' +} \ No newline at end of file diff --git a/src/api/types/KalturaAssetStatisticsOrder.ts b/src/api/types/KalturaAssetStatisticsOrder.ts new file mode 100644 index 00000000..40f99f43 --- /dev/null +++ b/src/api/types/KalturaAssetStatisticsOrder.ts @@ -0,0 +1,38 @@ + +import { KalturaObjectMetadata } from '../kaltura-object-base'; +import { KalturaTypesFactory } from '../kaltura-types-factory'; +import { KalturaAssetOrderByStatistics } from './KalturaAssetOrderByStatistics'; +import { KalturaBaseAssetOrder, KalturaBaseAssetOrderArgs } from './KalturaBaseAssetOrder'; + +export interface KalturaAssetStatisticsOrderArgs extends KalturaBaseAssetOrderArgs { + trendingDaysEqual? : number; + orderBy? : KalturaAssetOrderByStatistics; +} + + +export class KalturaAssetStatisticsOrder extends KalturaBaseAssetOrder { + + trendingDaysEqual : number; + orderBy : KalturaAssetOrderByStatistics; + + constructor(data? : KalturaAssetStatisticsOrderArgs) + { + super(data); + } + + protected _getMetadata() : KalturaObjectMetadata + { + const result = super._getMetadata(); + Object.assign( + result.properties, + { + objectType : { type : 'c', default : 'KalturaAssetStatisticsOrder' }, + trendingDaysEqual : { type : 'n' }, + orderBy : { type : 'es', subTypeConstructor : KalturaAssetOrderByStatistics, subType : 'KalturaAssetOrderByStatistics' } + } + ); + return result; + } +} + +KalturaTypesFactory.registerType('KalturaAssetStatisticsOrder',KalturaAssetStatisticsOrder); diff --git a/src/api/types/KalturaBaseAssetOrder.ts b/src/api/types/KalturaBaseAssetOrder.ts new file mode 100644 index 00000000..e12b8d77 --- /dev/null +++ b/src/api/types/KalturaBaseAssetOrder.ts @@ -0,0 +1,33 @@ + +import { KalturaObjectMetadata } from '../kaltura-object-base'; +import { KalturaTypesFactory } from '../kaltura-types-factory'; +import { KalturaObjectBase, KalturaObjectBaseArgs } from '../kaltura-object-base'; + +export interface KalturaBaseAssetOrderArgs extends KalturaObjectBaseArgs { + +} + + +export class KalturaBaseAssetOrder extends KalturaObjectBase { + + + + constructor(data? : KalturaBaseAssetOrderArgs) + { + super(data); + } + + protected _getMetadata() : KalturaObjectMetadata + { + const result = super._getMetadata(); + Object.assign( + result.properties, + { + objectType : { type : 'c', default : 'KalturaBaseAssetOrder' } + } + ); + return result; + } +} + +KalturaTypesFactory.registerType('KalturaBaseAssetOrder',KalturaBaseAssetOrder); diff --git a/src/api/types/KalturaHouseholdDeviceFamilyLimitations.ts b/src/api/types/KalturaHouseholdDeviceFamilyLimitations.ts index d509b8b1..c39d608a 100644 --- a/src/api/types/KalturaHouseholdDeviceFamilyLimitations.ts +++ b/src/api/types/KalturaHouseholdDeviceFamilyLimitations.ts @@ -16,7 +16,7 @@ export class KalturaHouseholdDeviceFamilyLimitations extends KalturaDeviceFamily deviceLimit : number; concurrentLimit : number; readonly isDefaultDeviceLimit : boolean; - readonly isDefaultConcurrentLimit : boolean; + readonly isDefaultConcurrentLimit : boolean; constructor(data? : KalturaHouseholdDeviceFamilyLimitationsArgs) { @@ -34,7 +34,7 @@ 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 } } ); return result; diff --git a/src/api/types/KalturaObjectVirtualAssetInfoType.ts b/src/api/types/KalturaObjectVirtualAssetInfoType.ts index ae0b29a8..6280e6c9 100644 --- a/src/api/types/KalturaObjectVirtualAssetInfoType.ts +++ b/src/api/types/KalturaObjectVirtualAssetInfoType.ts @@ -3,6 +3,7 @@ export enum KalturaObjectVirtualAssetInfoType { boxset = 'Boxset', category = 'Category', + pago = 'PAGO', segment = 'Segment', subscription = 'Subscription', tvod = 'Tvod' diff --git a/src/api/types/index.ts b/src/api/types/index.ts index c124a3bd..259beac0 100644 --- a/src/api/types/index.ts +++ b/src/api/types/index.ts @@ -85,11 +85,15 @@ export { KalturaIngestByCompoundFilter, KalturaIngestByCompoundFilterArgs } from export { KalturaIngestByIdsFilter, KalturaIngestByIdsFilterArgs } from './KalturaIngestByIdsFilter' export { KalturaAggregationCountFilter, KalturaAggregationCountFilterArgs } from './KalturaAggregationCountFilter' export { KalturaPersistedFilter, KalturaPersistedFilterArgs } from './KalturaPersistedFilter' +export { KalturaBaseAssetOrder, KalturaBaseAssetOrderArgs } from './KalturaBaseAssetOrder' export { KalturaDynamicOrderBy, KalturaDynamicOrderByArgs } from './KalturaDynamicOrderBy' export { KalturaAssetFilter, KalturaAssetFilterArgs } from './KalturaAssetFilter' export { KalturaAssetGroupBy, KalturaAssetGroupByArgs } from './KalturaAssetGroupBy' export { KalturaBaseSearchAssetFilter, KalturaBaseSearchAssetFilterArgs } from './KalturaBaseSearchAssetFilter' export { KalturaChannelFilter, KalturaChannelFilterArgs } from './KalturaChannelFilter' +export { KalturaAssetDynamicOrder, KalturaAssetDynamicOrderArgs } from './KalturaAssetDynamicOrder' +export { KalturaAssetOrder, KalturaAssetOrderArgs } from './KalturaAssetOrder' +export { KalturaAssetStatisticsOrder, KalturaAssetStatisticsOrderArgs } from './KalturaAssetStatisticsOrder' export { KalturaPersonalListSearchFilter, KalturaPersonalListSearchFilterArgs } from './KalturaPersonalListSearchFilter' export { KalturaRelatedFilter, KalturaRelatedFilterArgs } from './KalturaRelatedFilter' export { KalturaSearchAssetFilter, KalturaSearchAssetFilterArgs } from './KalturaSearchAssetFilter' @@ -769,6 +773,8 @@ export { KalturaAssetInheritancePolicy } from './KalturaAssetInheritancePolicy' export { KalturaAssetLifeCycleRuleActionType } from './KalturaAssetLifeCycleRuleActionType' export { KalturaAssetLifeCycleRuleTransitionType } from './KalturaAssetLifeCycleRuleTransitionType' export { KalturaAssetOrderBy } from './KalturaAssetOrderBy' +export { KalturaAssetOrderByStatistics } from './KalturaAssetOrderByStatistics' +export { KalturaAssetOrderByType } from './KalturaAssetOrderByType' export { KalturaAssetReferenceType } from './KalturaAssetReferenceType' export { KalturaAssetReminderOrderBy } from './KalturaAssetReminderOrderBy' export { KalturaAssetRuleOrderBy } from './KalturaAssetRuleOrderBy' diff --git a/src/environment.ts b/src/environment.ts index 8038d7b0..b8770def 100644 --- a/src/environment.ts +++ b/src/environment.ts @@ -12,7 +12,7 @@ export interface Environment { export const environment: Environment = { request: { - apiVersion: '7.2.0.29748', + apiVersion: '7.2.0.29783', ottMode: true, fileFormatValue: 20 },