Skip to content

Commit

Permalink
Auto-generated by Jenkins job OTT-Generate-ClientLibs/804, branch master
Browse files Browse the repository at this point in the history
  • Loading branch information
Backend CI committed Mar 2, 2022
1 parent fc3de60 commit c52ceee
Show file tree
Hide file tree
Showing 32 changed files with 1,076 additions and 4 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 7.3.0.29806 and above.
Compatible with Kaltura OTT server version 7.3.0.29794 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 [email protected]29806
npm install [email protected]29794
```

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

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

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

export interface IngestStatusGetEpgDetailsActionArgs extends KalturaRequestArgs {
ingestId : number;
}

/**
* Build request payload for service 'ingestStatus' action 'getEpgDetails'.
*
* Usage: Returns information about specific Ingest job
*
* Server response type: KalturaIngestEpgDetails
* Server failure response type: KalturaAPIException
* @class
* @extends KalturaRequest
*/
export class IngestStatusGetEpgDetailsAction extends KalturaRequest<KalturaIngestEpgDetails> {

ingestId : number;

constructor(data : IngestStatusGetEpgDetailsActionArgs)
{
super(data, {responseType : 'o', responseSubType : 'KalturaIngestEpgDetails', responseConstructor : KalturaIngestEpgDetails });
}

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

52 changes: 52 additions & 0 deletions src/api/types/IngestStatusGetEpgProgramResultListAction.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@

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

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

export interface IngestStatusGetEpgProgramResultListActionArgs extends KalturaRequestArgs {
ingestId : number;
filter? : KalturaIngestEpgProgramResultFilter;
pager? : KalturaFilterPager;
}

/**
* Build request payload for service 'ingestStatus' action 'getEpgProgramResultList'.
*
* Usage: Get as input ingest job id, filter and pager and response with page of filtered detailed ingest job results
*
* Server response type: KalturaIngestStatusEpgProgramResultListResponse
* Server failure response type: KalturaAPIException
* @class
* @extends KalturaRequest
*/
export class IngestStatusGetEpgProgramResultListAction extends KalturaRequest<KalturaIngestStatusEpgProgramResultListResponse> {

ingestId : number;
filter : KalturaIngestEpgProgramResultFilter;
pager : KalturaFilterPager;

constructor(data : IngestStatusGetEpgProgramResultListActionArgs)
{
super(data, {responseType : 'o', responseSubType : 'KalturaIngestStatusEpgProgramResultListResponse', responseConstructor : KalturaIngestStatusEpgProgramResultListResponse });
}

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

43 changes: 43 additions & 0 deletions src/api/types/KalturaAggregatedIngestInfo.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@

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

export interface KalturaAggregatedIngestInfoArgs extends KalturaObjectBaseArgs {
resultsCount? : number;
totalFailureCount? : number;
partialFailureCount? : number;
warningsCount? : number;
}


export class KalturaAggregatedIngestInfo extends KalturaObjectBase {

resultsCount : number;
totalFailureCount : number;
partialFailureCount : number;
warningsCount : number;

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

protected _getMetadata() : KalturaObjectMetadata
{
const result = super._getMetadata();
Object.assign(
result.properties,
{
objectType : { type : 'c', default : 'KalturaAggregatedIngestInfo' },
resultsCount : { type : 'n' },
totalFailureCount : { type : 'n' },
partialFailureCount : { type : 'n' },
warningsCount : { type : 'n' }
}
);
return result;
}
}

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

import { KalturaObjectMetadata } from '../kaltura-object-base';
import { KalturaTypesFactory } from '../kaltura-types-factory';
import { KalturaAggregatedIngestInfo } from './KalturaAggregatedIngestInfo';
import { KalturaObjectBase, KalturaObjectBaseArgs } from '../kaltura-object-base';

export interface KalturaChannelAggregatedIngestInfoArgs extends KalturaObjectBaseArgs {
linearChannelId? : number;
aggregatedErrors? : KalturaAggregatedIngestInfo;
}


export class KalturaChannelAggregatedIngestInfo extends KalturaObjectBase {

linearChannelId : number;
aggregatedErrors : KalturaAggregatedIngestInfo;

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

protected _getMetadata() : KalturaObjectMetadata
{
const result = super._getMetadata();
Object.assign(
result.properties,
{
objectType : { type : 'c', default : 'KalturaChannelAggregatedIngestInfo' },
linearChannelId : { type : 'n' },
aggregatedErrors : { type : 'o', subTypeConstructor : KalturaAggregatedIngestInfo, subType : 'KalturaAggregatedIngestInfo' }
}
);
return result;
}
}

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

import { KalturaObjectMetadata } from '../kaltura-object-base';
import { KalturaTypesFactory } from '../kaltura-types-factory';
import { KalturaAggregatedIngestInfo } from './KalturaAggregatedIngestInfo';
import { KalturaObjectBase, KalturaObjectBaseArgs } from '../kaltura-object-base';

export interface KalturaDateAggregatedIngestInfoArgs extends KalturaObjectBaseArgs {
date? : number;
aggregatedErrors? : KalturaAggregatedIngestInfo;
}


export class KalturaDateAggregatedIngestInfo extends KalturaObjectBase {

date : number;
aggregatedErrors : KalturaAggregatedIngestInfo;

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

protected _getMetadata() : KalturaObjectMetadata
{
const result = super._getMetadata();
Object.assign(
result.properties,
{
objectType : { type : 'c', default : 'KalturaDateAggregatedIngestInfo' },
date : { type : 'n' },
aggregatedErrors : { type : 'o', subTypeConstructor : KalturaAggregatedIngestInfo, subType : 'KalturaAggregatedIngestInfo' }
}
);
return result;
}
}

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

import { KalturaObjectMetadata } from '../kaltura-object-base';
import { KalturaTypesFactory } from '../kaltura-types-factory';
import { KalturaStringValue } from './KalturaStringValue';
import { KalturaObjectBase, KalturaObjectBaseArgs } from '../kaltura-object-base';

export interface KalturaEpgIngestErrorMessageArgs extends KalturaObjectBaseArgs {
message? : string;
code? : string;
args? : { [key : string] : KalturaStringValue};
}


export class KalturaEpgIngestErrorMessage extends KalturaObjectBase {

message : string;
code : string;
args : { [key : string] : KalturaStringValue};

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

protected _getMetadata() : KalturaObjectMetadata
{
const result = super._getMetadata();
Object.assign(
result.properties,
{
objectType : { type : 'c', default : 'KalturaEpgIngestErrorMessage' },
message : { type : 's' },
code : { type : 's' },
args : { type : 'm', subTypeConstructor : KalturaStringValue, subType : 'KalturaStringValue' }
}
);
return result;
}
}

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

import { KalturaObjectMetadata } from '../kaltura-object-base';
import { KalturaTypesFactory } from '../kaltura-types-factory';
import { KalturaEpgIngestErrorMessage } from './KalturaEpgIngestErrorMessage';
import { KalturaIngestEpgDetailsAggregation } from './KalturaIngestEpgDetailsAggregation';
import { KalturaIngestEpg, KalturaIngestEpgArgs } from './KalturaIngestEpg';

export interface KalturaIngestEpgDetailsArgs extends KalturaIngestEpgArgs {
errors? : KalturaEpgIngestErrorMessage[];
aggregations? : KalturaIngestEpgDetailsAggregation;
}


export class KalturaIngestEpgDetails extends KalturaIngestEpg {

errors : KalturaEpgIngestErrorMessage[];
aggregations : KalturaIngestEpgDetailsAggregation;

constructor(data? : KalturaIngestEpgDetailsArgs)
{
super(data);
if (typeof this.errors === 'undefined') this.errors = [];
}

protected _getMetadata() : KalturaObjectMetadata
{
const result = super._getMetadata();
Object.assign(
result.properties,
{
objectType : { type : 'c', default : 'KalturaIngestEpgDetails' },
errors : { type : 'a', subTypeConstructor : KalturaEpgIngestErrorMessage, subType : 'KalturaEpgIngestErrorMessage' },
aggregations : { type : 'o', subTypeConstructor : KalturaIngestEpgDetailsAggregation, subType : 'KalturaIngestEpgDetailsAggregation' }
}
);
return result;
}
}

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

import { KalturaObjectMetadata } from '../kaltura-object-base';
import { KalturaTypesFactory } from '../kaltura-types-factory';
import { KalturaChannelAggregatedIngestInfo } from './KalturaChannelAggregatedIngestInfo';
import { KalturaDateAggregatedIngestInfo } from './KalturaDateAggregatedIngestInfo';
import { KalturaAggregatedIngestInfo } from './KalturaAggregatedIngestInfo';
import { KalturaObjectBase, KalturaObjectBaseArgs } from '../kaltura-object-base';

export interface KalturaIngestEpgDetailsAggregationArgs extends KalturaObjectBaseArgs {
linearChannels? : KalturaChannelAggregatedIngestInfo[];
dates? : KalturaDateAggregatedIngestInfo[];
all? : KalturaAggregatedIngestInfo;
}


export class KalturaIngestEpgDetailsAggregation extends KalturaObjectBase {

linearChannels : KalturaChannelAggregatedIngestInfo[];
dates : KalturaDateAggregatedIngestInfo[];
all : KalturaAggregatedIngestInfo;

constructor(data? : KalturaIngestEpgDetailsAggregationArgs)
{
super(data);
if (typeof this.linearChannels === 'undefined') this.linearChannels = [];
if (typeof this.dates === 'undefined') this.dates = [];
}

protected _getMetadata() : KalturaObjectMetadata
{
const result = super._getMetadata();
Object.assign(
result.properties,
{
objectType : { type : 'c', default : 'KalturaIngestEpgDetailsAggregation' },
linearChannels : { type : 'a', subTypeConstructor : KalturaChannelAggregatedIngestInfo, subType : 'KalturaChannelAggregatedIngestInfo' },
dates : { type : 'a', subTypeConstructor : KalturaDateAggregatedIngestInfo, subType : 'KalturaDateAggregatedIngestInfo' },
all : { type : 'o', subTypeConstructor : KalturaAggregatedIngestInfo, subType : 'KalturaAggregatedIngestInfo' }
}
);
return result;
}
}

KalturaTypesFactory.registerType('KalturaIngestEpgDetailsAggregation',KalturaIngestEpgDetailsAggregation);
Loading

0 comments on commit c52ceee

Please sign in to comment.