-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto-generated by Jenkins job OTT-Generate-ClientLibs/804, branch master
- Loading branch information
Backend CI
committed
Mar 2, 2022
1 parent
fc3de60
commit c52ceee
Showing
32 changed files
with
1,076 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | ||
|
@@ -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) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
52
src/api/types/IngestStatusGetEpgProgramResultListAction.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); |
Oops, something went wrong.