Skip to content

Commit

Permalink
Auto-generated by Jenkins job OTT-Generate-ClientLibs-ForTesting/2, b…
Browse files Browse the repository at this point in the history
…ranch BEO-14481
  • Loading branch information
Backend CI committed Sep 5, 2023
1 parent 40752cb commit bdf1d97
Show file tree
Hide file tree
Showing 36 changed files with 787 additions and 24 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 8.6.12.30274 and above.
Compatible with Kaltura OTT server version 9.2.0.1 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@8.6.12-30274
npm install kaltura-ott-typescript-client@9.2.0-1
```

**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": "8.6.12-30274",
"version": "9.2.0-1",
"description": "Kaltura OTT Typescript client",
"keywords": [
"Kaltura"
Expand Down
49 changes: 49 additions & 0 deletions src/api/types/IngestStatusGetVodAssetResultAction.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@

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

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

export interface IngestStatusGetVodAssetResultActionArgs extends KalturaRequestArgs {
filter? : KalturaVodIngestAssetResultFilter;
pager? : KalturaFilterPager;
}

/**
* Build request payload for service 'ingestStatus' action 'getVodAssetResult'.
*
* Usage: List detailed results of ingested assets
*
* Server response type: KalturaVodIngestAssetResultResponse
* Server failure response type: KalturaAPIException
* @class
* @extends KalturaRequest
*/
export class IngestStatusGetVodAssetResultAction extends KalturaRequest<KalturaVodIngestAssetResultResponse> {

filter : KalturaVodIngestAssetResultFilter;
pager : KalturaFilterPager;

constructor(data? : IngestStatusGetVodAssetResultActionArgs)
{
super(data, {responseType : 'o', responseSubType : 'KalturaVodIngestAssetResultResponse', responseConstructor : KalturaVodIngestAssetResultResponse });
}

protected _getMetadata() : KalturaObjectMetadata
{
const result = super._getMetadata();
Object.assign(
result.properties,
{
service : { type : 'c', default : 'ingeststatus' },
action : { type : 'c', default : 'getVodAssetResult' },
filter : { type : 'o', subTypeConstructor : KalturaVodIngestAssetResultFilter, subType : 'KalturaVodIngestAssetResultFilter' },
pager : { type : 'o', subTypeConstructor : KalturaFilterPager, subType : 'KalturaFilterPager' }
}
);
return result;
}
}

5 changes: 4 additions & 1 deletion src/api/types/KalturaAssetRuleFilter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export interface KalturaAssetRuleFilterArgs extends KalturaFilterArgs {
assetApplied? : KalturaSlimAsset;
actionsContainType? : KalturaRuleActionType;
assetRuleIdEqual? : number;
nameContains? : string;
}


Expand All @@ -20,6 +21,7 @@ export class KalturaAssetRuleFilter extends KalturaFilter {
assetApplied : KalturaSlimAsset;
actionsContainType : KalturaRuleActionType;
assetRuleIdEqual : number;
nameContains : string;

constructor(data? : KalturaAssetRuleFilterArgs)
{
Expand All @@ -36,7 +38,8 @@ export class KalturaAssetRuleFilter extends KalturaFilter {
conditionsContainType : { type : 'es', subTypeConstructor : KalturaRuleConditionType, subType : 'KalturaRuleConditionType' },
assetApplied : { type : 'o', subTypeConstructor : KalturaSlimAsset, subType : 'KalturaSlimAsset' },
actionsContainType : { type : 'es', subTypeConstructor : KalturaRuleActionType, subType : 'KalturaRuleActionType' },
assetRuleIdEqual : { type : 'n' }
assetRuleIdEqual : { type : 'n' },
nameContains : { type : 's' }
}
);
return result;
Expand Down
4 changes: 3 additions & 1 deletion src/api/types/KalturaAssetRuleOrderBy.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@


export enum KalturaAssetRuleOrderBy {
none = 'NONE'
nameAsc = 'NAME_ASC',
nameDesc = 'NAME_DESC',
none = 'NONE'
}
33 changes: 33 additions & 0 deletions src/api/types/KalturaBasePreActionCondition.ts
Original file line number Diff line number Diff line change
@@ -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 KalturaBasePreActionConditionArgs extends KalturaObjectBaseArgs {

}


export class KalturaBasePreActionCondition extends KalturaObjectBase {



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

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

KalturaTypesFactory.registerType('KalturaBasePreActionCondition',KalturaBasePreActionCondition);
5 changes: 4 additions & 1 deletion src/api/types/KalturaChannelExternalFilter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export interface KalturaChannelExternalFilterArgs extends KalturaAssetFilterArg
idEqual? : number;
utcOffsetEqual? : number;
freeText? : string;
alias? : string;
}


Expand All @@ -15,6 +16,7 @@ export class KalturaChannelExternalFilter extends KalturaAssetFilter {
idEqual : number;
utcOffsetEqual : number;
freeText : string;
alias : string;

constructor(data? : KalturaChannelExternalFilterArgs)
{
Expand All @@ -30,7 +32,8 @@ export class KalturaChannelExternalFilter extends KalturaAssetFilter {
objectType : { type : 'c', default : 'KalturaChannelExternalFilter' },
idEqual : { type : 'n' },
utcOffsetEqual : { type : 'n' },
freeText : { type : 's' }
freeText : { type : 's' },
alias : { type : 's' }
}
);
return result;
Expand Down
5 changes: 4 additions & 1 deletion src/api/types/KalturaCollectionFilter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export interface KalturaCollectionFilterArgs extends KalturaFilterArgs {
couponGroupIdEqual? : number;
alsoInactive? : boolean;
assetUserRuleIdIn? : string;
nameContains? : string;
}


Expand All @@ -19,6 +20,7 @@ export class KalturaCollectionFilter extends KalturaFilter {
couponGroupIdEqual : number;
alsoInactive : boolean;
assetUserRuleIdIn : string;
nameContains : string;

constructor(data? : KalturaCollectionFilterArgs)
{
Expand All @@ -36,7 +38,8 @@ export class KalturaCollectionFilter extends KalturaFilter {
mediaFileIdEqual : { type : 'n' },
couponGroupIdEqual : { type : 'n' },
alsoInactive : { type : 'b' },
assetUserRuleIdIn : { type : 's' }
assetUserRuleIdIn : { type : 's' },
nameContains : { type : 's' }
}
);
return result;
Expand Down
8 changes: 5 additions & 3 deletions src/api/types/KalturaFilterAction.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@

import { KalturaObjectMetadata } from '../kaltura-object-base';
import { KalturaTypesFactory } from '../kaltura-types-factory';
import { KalturaBasePreActionCondition } from './KalturaBasePreActionCondition';
import { KalturaAssetRuleAction, KalturaAssetRuleActionArgs } from './KalturaAssetRuleAction';

export interface KalturaFilterActionArgs extends KalturaAssetRuleActionArgs {

preActionCondition? : KalturaBasePreActionCondition;
}


export class KalturaFilterAction extends KalturaAssetRuleAction {


preActionCondition : KalturaBasePreActionCondition;

constructor(data? : KalturaFilterActionArgs)
{
Expand All @@ -23,7 +24,8 @@ export class KalturaFilterAction extends KalturaAssetRuleAction {
Object.assign(
result.properties,
{
objectType : { type : 'c', default : 'KalturaFilterAction' }
objectType : { type : 'c', default : 'KalturaFilterAction' },
preActionCondition : { type : 'o', subTypeConstructor : KalturaBasePreActionCondition, subType : 'KalturaBasePreActionCondition' }
}
);
return result;
Expand Down
6 changes: 5 additions & 1 deletion src/api/types/KalturaIngestStatusPartnerConfiguration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,19 @@
import { KalturaObjectMetadata } from '../kaltura-object-base';
import { KalturaTypesFactory } from '../kaltura-types-factory';
import { KalturaIngestStatusEpgConfiguration } from './KalturaIngestStatusEpgConfiguration';
import { KalturaIngestStatusVodConfiguration } from './KalturaIngestStatusVodConfiguration';
import { KalturaObjectBase, KalturaObjectBaseArgs } from '../kaltura-object-base';

export interface KalturaIngestStatusPartnerConfigurationArgs extends KalturaObjectBaseArgs {
epg? : KalturaIngestStatusEpgConfiguration;
vod? : KalturaIngestStatusVodConfiguration;
}


export class KalturaIngestStatusPartnerConfiguration extends KalturaObjectBase {

epg : KalturaIngestStatusEpgConfiguration;
vod : KalturaIngestStatusVodConfiguration;

constructor(data? : KalturaIngestStatusPartnerConfigurationArgs)
{
Expand All @@ -25,7 +28,8 @@ export class KalturaIngestStatusPartnerConfiguration extends KalturaObjectBase {
result.properties,
{
objectType : { type : 'c', default : 'KalturaIngestStatusPartnerConfiguration' },
epg : { type : 'o', subTypeConstructor : KalturaIngestStatusEpgConfiguration, subType : 'KalturaIngestStatusEpgConfiguration' }
epg : { type : 'o', subTypeConstructor : KalturaIngestStatusEpgConfiguration, subType : 'KalturaIngestStatusEpgConfiguration' },
vod : { type : 'o', subTypeConstructor : KalturaIngestStatusVodConfiguration, subType : 'KalturaIngestStatusVodConfiguration' }
}
);
return result;
Expand Down
37 changes: 37 additions & 0 deletions src/api/types/KalturaIngestStatusVodConfiguration.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 KalturaIngestStatusVodConfigurationArgs extends KalturaObjectBaseArgs {
isSupported? : boolean;
retainingPeriod? : number;
}


export class KalturaIngestStatusVodConfiguration extends KalturaObjectBase {

isSupported : boolean;
retainingPeriod : number;

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

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

KalturaTypesFactory.registerType('KalturaIngestStatusVodConfiguration',KalturaIngestStatusVodConfiguration);
8 changes: 7 additions & 1 deletion src/api/types/KalturaLineupChannelAssetListResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,16 @@ import { KalturaListResponse, KalturaListResponseArgs } from './KalturaListRespo

export interface KalturaLineupChannelAssetListResponseArgs extends KalturaListResponseArgs {
objects? : KalturaLineupChannelAsset[];
lineupExternalId? : string;
parentLineupExternalId? : string;
}


export class KalturaLineupChannelAssetListResponse extends KalturaListResponse {

objects : KalturaLineupChannelAsset[];
lineupExternalId : string;
parentLineupExternalId : string;

constructor(data? : KalturaLineupChannelAssetListResponseArgs)
{
Expand All @@ -26,7 +30,9 @@ export class KalturaLineupChannelAssetListResponse extends KalturaListResponse {
result.properties,
{
objectType : { type : 'c', default : 'KalturaLineupChannelAssetListResponse' },
objects : { type : 'a', subTypeConstructor : KalturaLineupChannelAsset, subType : 'KalturaLineupChannelAsset' }
objects : { type : 'a', subTypeConstructor : KalturaLineupChannelAsset, subType : 'KalturaLineupChannelAsset' },
lineupExternalId : { type : 's' },
parentLineupExternalId : { type : 's' }
}
);
return result;
Expand Down
46 changes: 46 additions & 0 deletions src/api/types/KalturaLineupRegionalChannelFilter.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@

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

export interface KalturaLineupRegionalChannelFilterArgs extends KalturaFilterArgs {
regionIdEqual? : number;
parentRegionIncluded? : boolean;
kSql? : string;
lcnGreaterThanOrEqual? : number;
lcnLessThanOrEqual? : number;
}


export class KalturaLineupRegionalChannelFilter extends KalturaFilter {

regionIdEqual : number;
parentRegionIncluded : boolean;
kSql : string;
lcnGreaterThanOrEqual : number;
lcnLessThanOrEqual : number;

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

protected _getMetadata() : KalturaObjectMetadata
{
const result = super._getMetadata();
Object.assign(
result.properties,
{
objectType : { type : 'c', default : 'KalturaLineupRegionalChannelFilter' },
regionIdEqual : { type : 'n' },
parentRegionIncluded : { type : 'b' },
kSql : { type : 's' },
lcnGreaterThanOrEqual : { type : 'n' },
lcnLessThanOrEqual : { type : 'n' }
}
);
return result;
}
}

KalturaTypesFactory.registerType('KalturaLineupRegionalChannelFilter',KalturaLineupRegionalChannelFilter);
8 changes: 8 additions & 0 deletions src/api/types/KalturaLineupRegionalChannelOrderBy.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@


export enum KalturaLineupRegionalChannelOrderBy {
lcnAsc = 'LCN_ASC',
lcnDesc = 'LCN_DESC',
nameAsc = 'NAME_ASC',
nameDesc = 'NAME_DESC'
}
Loading

0 comments on commit bdf1d97

Please sign in to comment.