From c52ceeee2bc74808e87873060a1f257da21e70f4 Mon Sep 17 00:00:00 2001 From: Backend CI Date: Wed, 2 Mar 2022 08:58:49 +0000 Subject: [PATCH] Auto-generated by Jenkins job OTT-Generate-ClientLibs/804, branch master --- README.md | 4 +- package.json | 2 +- .../types/IngestStatusGetEpgDetailsAction.ts | 44 +++++++++++ ...gestStatusGetEpgProgramResultListAction.ts | 52 +++++++++++++ src/api/types/KalturaAggregatedIngestInfo.ts | 43 +++++++++++ .../KalturaChannelAggregatedIngestInfo.ts | 38 +++++++++ .../types/KalturaDateAggregatedIngestInfo.ts | 38 +++++++++ src/api/types/KalturaEpgIngestErrorMessage.ts | 41 ++++++++++ src/api/types/KalturaIngestEpgDetails.ts | 40 ++++++++++ .../KalturaIngestEpgDetailsAggregation.ts | 45 +++++++++++ .../types/KalturaIngestEpgProgramResult.ts | 63 +++++++++++++++ .../KalturaIngestEpgProgramResultFilter.ts | 33 ++++++++ .../KalturaIngestEpgProgramResultOrderBy.ts | 15 ++++ .../types/KalturaIngestEpgProgramStatus.ts | 7 ++ ...estProgramResultsByCombinedFieldsFilter.ts | 34 ++++++++ ...uraIngestProgramResultsByCompoundFilter.ts | 34 ++++++++ ...IngestProgramResultsByExternalIdsFilter.ts | 34 ++++++++ ...aIngestProgramResultsByProgramIdsFilter.ts | 34 ++++++++ ...lturaIngestProgramResultsByRefineFilter.ts | 40 ++++++++++ ...ngestStatusEpgProgramResultListResponse.ts | 36 +++++++++ .../KalturaObjectVirtualAssetInfoType.ts | 1 + .../types/KalturaProgramAssetGroupOffer.ts | 77 +++++++++++++++++++ .../KalturaProgramAssetGroupOfferFilter.ts | 34 ++++++++ ...KalturaProgramAssetGroupOfferIdInFilter.ts | 34 ++++++++ ...lturaProgramAssetGroupOfferListResponse.ts | 36 +++++++++ .../KalturaProgramAssetGroupOfferOrderBy.ts | 8 ++ .../types/ProgramAssetGroupOfferAddAction.ts | 44 +++++++++++ .../ProgramAssetGroupOfferDeleteAction.ts | 44 +++++++++++ .../types/ProgramAssetGroupOfferListAction.ts | 49 ++++++++++++ .../ProgramAssetGroupOfferUpdateAction.ts | 47 +++++++++++ src/api/types/index.ts | 27 +++++++ src/environment.ts | 2 +- 32 files changed, 1076 insertions(+), 4 deletions(-) create mode 100644 src/api/types/IngestStatusGetEpgDetailsAction.ts create mode 100644 src/api/types/IngestStatusGetEpgProgramResultListAction.ts create mode 100644 src/api/types/KalturaAggregatedIngestInfo.ts create mode 100644 src/api/types/KalturaChannelAggregatedIngestInfo.ts create mode 100644 src/api/types/KalturaDateAggregatedIngestInfo.ts create mode 100644 src/api/types/KalturaEpgIngestErrorMessage.ts create mode 100644 src/api/types/KalturaIngestEpgDetails.ts create mode 100644 src/api/types/KalturaIngestEpgDetailsAggregation.ts create mode 100644 src/api/types/KalturaIngestEpgProgramResult.ts create mode 100644 src/api/types/KalturaIngestEpgProgramResultFilter.ts create mode 100644 src/api/types/KalturaIngestEpgProgramResultOrderBy.ts create mode 100644 src/api/types/KalturaIngestEpgProgramStatus.ts create mode 100644 src/api/types/KalturaIngestProgramResultsByCombinedFieldsFilter.ts create mode 100644 src/api/types/KalturaIngestProgramResultsByCompoundFilter.ts create mode 100644 src/api/types/KalturaIngestProgramResultsByExternalIdsFilter.ts create mode 100644 src/api/types/KalturaIngestProgramResultsByProgramIdsFilter.ts create mode 100644 src/api/types/KalturaIngestProgramResultsByRefineFilter.ts create mode 100644 src/api/types/KalturaIngestStatusEpgProgramResultListResponse.ts create mode 100644 src/api/types/KalturaProgramAssetGroupOffer.ts create mode 100644 src/api/types/KalturaProgramAssetGroupOfferFilter.ts create mode 100644 src/api/types/KalturaProgramAssetGroupOfferIdInFilter.ts create mode 100644 src/api/types/KalturaProgramAssetGroupOfferListResponse.ts create mode 100644 src/api/types/KalturaProgramAssetGroupOfferOrderBy.ts create mode 100644 src/api/types/ProgramAssetGroupOfferAddAction.ts create mode 100644 src/api/types/ProgramAssetGroupOfferDeleteAction.ts create mode 100644 src/api/types/ProgramAssetGroupOfferListAction.ts create mode 100644 src/api/types/ProgramAssetGroupOfferUpdateAction.ts diff --git a/README.md b/README.md index 14ae7431..60de4c89 100644 --- a/README.md +++ b/README.md @@ -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 kaltura-ott-typescript-client@7.3.0-29806 +npm install kaltura-ott-typescript-client@7.3.0-29794 ``` **Found a bug?** create [kaltura/clients-generator issue](https://github.com/kaltura/clients-generator/issues) diff --git a/package.json b/package.json index efdd4a70..50c17e59 100644 --- a/package.json +++ b/package.json @@ -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" diff --git a/src/api/types/IngestStatusGetEpgDetailsAction.ts b/src/api/types/IngestStatusGetEpgDetailsAction.ts new file mode 100644 index 00000000..d150d771 --- /dev/null +++ b/src/api/types/IngestStatusGetEpgDetailsAction.ts @@ -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 { + + 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; + } +} + diff --git a/src/api/types/IngestStatusGetEpgProgramResultListAction.ts b/src/api/types/IngestStatusGetEpgProgramResultListAction.ts new file mode 100644 index 00000000..45eb0b98 --- /dev/null +++ b/src/api/types/IngestStatusGetEpgProgramResultListAction.ts @@ -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 { + + 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; + } +} + diff --git a/src/api/types/KalturaAggregatedIngestInfo.ts b/src/api/types/KalturaAggregatedIngestInfo.ts new file mode 100644 index 00000000..312c2dd2 --- /dev/null +++ b/src/api/types/KalturaAggregatedIngestInfo.ts @@ -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); diff --git a/src/api/types/KalturaChannelAggregatedIngestInfo.ts b/src/api/types/KalturaChannelAggregatedIngestInfo.ts new file mode 100644 index 00000000..6533a256 --- /dev/null +++ b/src/api/types/KalturaChannelAggregatedIngestInfo.ts @@ -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); diff --git a/src/api/types/KalturaDateAggregatedIngestInfo.ts b/src/api/types/KalturaDateAggregatedIngestInfo.ts new file mode 100644 index 00000000..69089aa0 --- /dev/null +++ b/src/api/types/KalturaDateAggregatedIngestInfo.ts @@ -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); diff --git a/src/api/types/KalturaEpgIngestErrorMessage.ts b/src/api/types/KalturaEpgIngestErrorMessage.ts new file mode 100644 index 00000000..aaac6f47 --- /dev/null +++ b/src/api/types/KalturaEpgIngestErrorMessage.ts @@ -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); diff --git a/src/api/types/KalturaIngestEpgDetails.ts b/src/api/types/KalturaIngestEpgDetails.ts new file mode 100644 index 00000000..d0806d9c --- /dev/null +++ b/src/api/types/KalturaIngestEpgDetails.ts @@ -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); diff --git a/src/api/types/KalturaIngestEpgDetailsAggregation.ts b/src/api/types/KalturaIngestEpgDetailsAggregation.ts new file mode 100644 index 00000000..e9beca15 --- /dev/null +++ b/src/api/types/KalturaIngestEpgDetailsAggregation.ts @@ -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); diff --git a/src/api/types/KalturaIngestEpgProgramResult.ts b/src/api/types/KalturaIngestEpgProgramResult.ts new file mode 100644 index 00000000..ba585b1f --- /dev/null +++ b/src/api/types/KalturaIngestEpgProgramResult.ts @@ -0,0 +1,63 @@ + +import { KalturaObjectMetadata } from '../kaltura-object-base'; +import { KalturaTypesFactory } from '../kaltura-types-factory'; +import { KalturaIngestEpgProgramStatus } from './KalturaIngestEpgProgramStatus'; +import { KalturaEpgIngestErrorMessage } from './KalturaEpgIngestErrorMessage'; +import { KalturaMessage } from './KalturaMessage'; +import { KalturaObjectBase, KalturaObjectBaseArgs } from '../kaltura-object-base'; + +export interface KalturaIngestEpgProgramResultArgs extends KalturaObjectBaseArgs { + programId? : number; + externalProgramId? : string; + linearChannelId? : number; + indexInFile? : number; + startDate? : number; + endDate? : number; + status? : KalturaIngestEpgProgramStatus; + errors? : KalturaEpgIngestErrorMessage[]; + warnings? : KalturaMessage[]; +} + + +export class KalturaIngestEpgProgramResult extends KalturaObjectBase { + + programId : number; + externalProgramId : string; + linearChannelId : number; + indexInFile : number; + startDate : number; + endDate : number; + status : KalturaIngestEpgProgramStatus; + errors : KalturaEpgIngestErrorMessage[]; + warnings : KalturaMessage[]; + + constructor(data? : KalturaIngestEpgProgramResultArgs) + { + super(data); + if (typeof this.errors === 'undefined') this.errors = []; + if (typeof this.warnings === 'undefined') this.warnings = []; + } + + protected _getMetadata() : KalturaObjectMetadata + { + const result = super._getMetadata(); + Object.assign( + result.properties, + { + objectType : { type : 'c', default : 'KalturaIngestEpgProgramResult' }, + programId : { type : 'n' }, + externalProgramId : { type : 's' }, + linearChannelId : { type : 'n' }, + indexInFile : { type : 'n' }, + startDate : { type : 'n' }, + endDate : { type : 'n' }, + status : { type : 'es', subTypeConstructor : KalturaIngestEpgProgramStatus, subType : 'KalturaIngestEpgProgramStatus' }, + errors : { type : 'a', subTypeConstructor : KalturaEpgIngestErrorMessage, subType : 'KalturaEpgIngestErrorMessage' }, + warnings : { type : 'a', subTypeConstructor : KalturaMessage, subType : 'KalturaMessage' } + } + ); + return result; + } +} + +KalturaTypesFactory.registerType('KalturaIngestEpgProgramResult',KalturaIngestEpgProgramResult); diff --git a/src/api/types/KalturaIngestEpgProgramResultFilter.ts b/src/api/types/KalturaIngestEpgProgramResultFilter.ts new file mode 100644 index 00000000..08f4cbac --- /dev/null +++ b/src/api/types/KalturaIngestEpgProgramResultFilter.ts @@ -0,0 +1,33 @@ + +import { KalturaObjectMetadata } from '../kaltura-object-base'; +import { KalturaTypesFactory } from '../kaltura-types-factory'; +import { KalturaFilter, KalturaFilterArgs } from './KalturaFilter'; + +export interface KalturaIngestEpgProgramResultFilterArgs extends KalturaFilterArgs { + +} + + +export class KalturaIngestEpgProgramResultFilter extends KalturaFilter { + + + + constructor(data? : KalturaIngestEpgProgramResultFilterArgs) + { + super(data); + } + + protected _getMetadata() : KalturaObjectMetadata + { + const result = super._getMetadata(); + Object.assign( + result.properties, + { + objectType : { type : 'c', default : 'KalturaIngestEpgProgramResultFilter' } + } + ); + return result; + } +} + +KalturaTypesFactory.registerType('KalturaIngestEpgProgramResultFilter',KalturaIngestEpgProgramResultFilter); diff --git a/src/api/types/KalturaIngestEpgProgramResultOrderBy.ts b/src/api/types/KalturaIngestEpgProgramResultOrderBy.ts new file mode 100644 index 00000000..1c12e09b --- /dev/null +++ b/src/api/types/KalturaIngestEpgProgramResultOrderBy.ts @@ -0,0 +1,15 @@ + + +export enum KalturaIngestEpgProgramResultOrderBy { + externalProgramIdAsc = 'EXTERNAL_PROGRAM_ID_ASC', + externalProgramIdDesc = 'EXTERNAL_PROGRAM_ID_DESC', + indexInFileAsc = 'INDEX_IN_FILE_ASC', + indexInFileDesc = 'INDEX_IN_FILE_DESC', + linearChannelIdAsc = 'LINEAR_CHANNEL_ID_ASC', + linearChannelIdDesc = 'LINEAR_CHANNEL_ID_DESC', + none = 'NONE', + severityAsc = 'SEVERITY_ASC', + severityDesc = 'SEVERITY_DESC', + startDateAsc = 'START_DATE_ASC', + startDateDesc = 'START_DATE_DESC' +} \ No newline at end of file diff --git a/src/api/types/KalturaIngestEpgProgramStatus.ts b/src/api/types/KalturaIngestEpgProgramStatus.ts new file mode 100644 index 00000000..048c724a --- /dev/null +++ b/src/api/types/KalturaIngestEpgProgramStatus.ts @@ -0,0 +1,7 @@ + + +export enum KalturaIngestEpgProgramStatus { + failure = 'FAILURE', + success = 'SUCCESS', + warning = 'WARNING' +} \ No newline at end of file diff --git a/src/api/types/KalturaIngestProgramResultsByCombinedFieldsFilter.ts b/src/api/types/KalturaIngestProgramResultsByCombinedFieldsFilter.ts new file mode 100644 index 00000000..a018a313 --- /dev/null +++ b/src/api/types/KalturaIngestProgramResultsByCombinedFieldsFilter.ts @@ -0,0 +1,34 @@ + +import { KalturaObjectMetadata } from '../kaltura-object-base'; +import { KalturaTypesFactory } from '../kaltura-types-factory'; +import { KalturaIngestProgramResultsByRefineFilter, KalturaIngestProgramResultsByRefineFilterArgs } from './KalturaIngestProgramResultsByRefineFilter'; + +export interface KalturaIngestProgramResultsByCombinedFieldsFilterArgs extends KalturaIngestProgramResultsByRefineFilterArgs { + combinedFieldsValue? : string; +} + + +export class KalturaIngestProgramResultsByCombinedFieldsFilter extends KalturaIngestProgramResultsByRefineFilter { + + combinedFieldsValue : string; + + constructor(data? : KalturaIngestProgramResultsByCombinedFieldsFilterArgs) + { + super(data); + } + + protected _getMetadata() : KalturaObjectMetadata + { + const result = super._getMetadata(); + Object.assign( + result.properties, + { + objectType : { type : 'c', default : 'KalturaIngestProgramResultsByCombinedFieldsFilter' }, + combinedFieldsValue : { type : 's' } + } + ); + return result; + } +} + +KalturaTypesFactory.registerType('KalturaIngestProgramResultsByCombinedFieldsFilter',KalturaIngestProgramResultsByCombinedFieldsFilter); diff --git a/src/api/types/KalturaIngestProgramResultsByCompoundFilter.ts b/src/api/types/KalturaIngestProgramResultsByCompoundFilter.ts new file mode 100644 index 00000000..efc00b99 --- /dev/null +++ b/src/api/types/KalturaIngestProgramResultsByCompoundFilter.ts @@ -0,0 +1,34 @@ + +import { KalturaObjectMetadata } from '../kaltura-object-base'; +import { KalturaTypesFactory } from '../kaltura-types-factory'; +import { KalturaIngestProgramResultsByRefineFilter, KalturaIngestProgramResultsByRefineFilterArgs } from './KalturaIngestProgramResultsByRefineFilter'; + +export interface KalturaIngestProgramResultsByCompoundFilterArgs extends KalturaIngestProgramResultsByRefineFilterArgs { + linearChannelIdIn? : string; +} + + +export class KalturaIngestProgramResultsByCompoundFilter extends KalturaIngestProgramResultsByRefineFilter { + + linearChannelIdIn : string; + + constructor(data? : KalturaIngestProgramResultsByCompoundFilterArgs) + { + super(data); + } + + protected _getMetadata() : KalturaObjectMetadata + { + const result = super._getMetadata(); + Object.assign( + result.properties, + { + objectType : { type : 'c', default : 'KalturaIngestProgramResultsByCompoundFilter' }, + linearChannelIdIn : { type : 's' } + } + ); + return result; + } +} + +KalturaTypesFactory.registerType('KalturaIngestProgramResultsByCompoundFilter',KalturaIngestProgramResultsByCompoundFilter); diff --git a/src/api/types/KalturaIngestProgramResultsByExternalIdsFilter.ts b/src/api/types/KalturaIngestProgramResultsByExternalIdsFilter.ts new file mode 100644 index 00000000..5494a88e --- /dev/null +++ b/src/api/types/KalturaIngestProgramResultsByExternalIdsFilter.ts @@ -0,0 +1,34 @@ + +import { KalturaObjectMetadata } from '../kaltura-object-base'; +import { KalturaTypesFactory } from '../kaltura-types-factory'; +import { KalturaIngestEpgProgramResultFilter, KalturaIngestEpgProgramResultFilterArgs } from './KalturaIngestEpgProgramResultFilter'; + +export interface KalturaIngestProgramResultsByExternalIdsFilterArgs extends KalturaIngestEpgProgramResultFilterArgs { + externalProgramIdIn? : string; +} + + +export class KalturaIngestProgramResultsByExternalIdsFilter extends KalturaIngestEpgProgramResultFilter { + + externalProgramIdIn : string; + + constructor(data? : KalturaIngestProgramResultsByExternalIdsFilterArgs) + { + super(data); + } + + protected _getMetadata() : KalturaObjectMetadata + { + const result = super._getMetadata(); + Object.assign( + result.properties, + { + objectType : { type : 'c', default : 'KalturaIngestProgramResultsByExternalIdsFilter' }, + externalProgramIdIn : { type : 's' } + } + ); + return result; + } +} + +KalturaTypesFactory.registerType('KalturaIngestProgramResultsByExternalIdsFilter',KalturaIngestProgramResultsByExternalIdsFilter); diff --git a/src/api/types/KalturaIngestProgramResultsByProgramIdsFilter.ts b/src/api/types/KalturaIngestProgramResultsByProgramIdsFilter.ts new file mode 100644 index 00000000..02c3a2cc --- /dev/null +++ b/src/api/types/KalturaIngestProgramResultsByProgramIdsFilter.ts @@ -0,0 +1,34 @@ + +import { KalturaObjectMetadata } from '../kaltura-object-base'; +import { KalturaTypesFactory } from '../kaltura-types-factory'; +import { KalturaIngestEpgProgramResultFilter, KalturaIngestEpgProgramResultFilterArgs } from './KalturaIngestEpgProgramResultFilter'; + +export interface KalturaIngestProgramResultsByProgramIdsFilterArgs extends KalturaIngestEpgProgramResultFilterArgs { + programIdIn? : string; +} + + +export class KalturaIngestProgramResultsByProgramIdsFilter extends KalturaIngestEpgProgramResultFilter { + + programIdIn : string; + + constructor(data? : KalturaIngestProgramResultsByProgramIdsFilterArgs) + { + super(data); + } + + protected _getMetadata() : KalturaObjectMetadata + { + const result = super._getMetadata(); + Object.assign( + result.properties, + { + objectType : { type : 'c', default : 'KalturaIngestProgramResultsByProgramIdsFilter' }, + programIdIn : { type : 's' } + } + ); + return result; + } +} + +KalturaTypesFactory.registerType('KalturaIngestProgramResultsByProgramIdsFilter',KalturaIngestProgramResultsByProgramIdsFilter); diff --git a/src/api/types/KalturaIngestProgramResultsByRefineFilter.ts b/src/api/types/KalturaIngestProgramResultsByRefineFilter.ts new file mode 100644 index 00000000..ef33d83c --- /dev/null +++ b/src/api/types/KalturaIngestProgramResultsByRefineFilter.ts @@ -0,0 +1,40 @@ + +import { KalturaObjectMetadata } from '../kaltura-object-base'; +import { KalturaTypesFactory } from '../kaltura-types-factory'; +import { KalturaIngestEpgProgramResultFilter, KalturaIngestEpgProgramResultFilterArgs } from './KalturaIngestEpgProgramResultFilter'; + +export interface KalturaIngestProgramResultsByRefineFilterArgs extends KalturaIngestEpgProgramResultFilterArgs { + ingestStatusIn? : string; + startDateGreaterThan? : number; + startDateSmallerThan? : number; +} + + +export class KalturaIngestProgramResultsByRefineFilter extends KalturaIngestEpgProgramResultFilter { + + ingestStatusIn : string; + startDateGreaterThan : number; + startDateSmallerThan : number; + + constructor(data? : KalturaIngestProgramResultsByRefineFilterArgs) + { + super(data); + } + + protected _getMetadata() : KalturaObjectMetadata + { + const result = super._getMetadata(); + Object.assign( + result.properties, + { + objectType : { type : 'c', default : 'KalturaIngestProgramResultsByRefineFilter' }, + ingestStatusIn : { type : 's' }, + startDateGreaterThan : { type : 'n' }, + startDateSmallerThan : { type : 'n' } + } + ); + return result; + } +} + +KalturaTypesFactory.registerType('KalturaIngestProgramResultsByRefineFilter',KalturaIngestProgramResultsByRefineFilter); diff --git a/src/api/types/KalturaIngestStatusEpgProgramResultListResponse.ts b/src/api/types/KalturaIngestStatusEpgProgramResultListResponse.ts new file mode 100644 index 00000000..00387ae2 --- /dev/null +++ b/src/api/types/KalturaIngestStatusEpgProgramResultListResponse.ts @@ -0,0 +1,36 @@ + +import { KalturaObjectMetadata } from '../kaltura-object-base'; +import { KalturaTypesFactory } from '../kaltura-types-factory'; +import { KalturaIngestEpgProgramResult } from './KalturaIngestEpgProgramResult'; +import { KalturaListResponse, KalturaListResponseArgs } from './KalturaListResponse'; + +export interface KalturaIngestStatusEpgProgramResultListResponseArgs extends KalturaListResponseArgs { + objects? : KalturaIngestEpgProgramResult[]; +} + + +export class KalturaIngestStatusEpgProgramResultListResponse extends KalturaListResponse { + + objects : KalturaIngestEpgProgramResult[]; + + constructor(data? : KalturaIngestStatusEpgProgramResultListResponseArgs) + { + super(data); + if (typeof this.objects === 'undefined') this.objects = []; + } + + protected _getMetadata() : KalturaObjectMetadata + { + const result = super._getMetadata(); + Object.assign( + result.properties, + { + objectType : { type : 'c', default : 'KalturaIngestStatusEpgProgramResultListResponse' }, + objects : { type : 'a', subTypeConstructor : KalturaIngestEpgProgramResult, subType : 'KalturaIngestEpgProgramResult' } + } + ); + return result; + } +} + +KalturaTypesFactory.registerType('KalturaIngestStatusEpgProgramResultListResponse',KalturaIngestStatusEpgProgramResultListResponse); 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/KalturaProgramAssetGroupOffer.ts b/src/api/types/KalturaProgramAssetGroupOffer.ts new file mode 100644 index 00000000..151a0244 --- /dev/null +++ b/src/api/types/KalturaProgramAssetGroupOffer.ts @@ -0,0 +1,77 @@ + +import { KalturaObjectMetadata } from '../kaltura-object-base'; +import { KalturaTypesFactory } from '../kaltura-types-factory'; +import { KalturaTranslationToken } from './KalturaTranslationToken'; +import { KalturaOTTObjectSupportNullable, KalturaOTTObjectSupportNullableArgs } from './KalturaOTTObjectSupportNullable'; + +export interface KalturaProgramAssetGroupOfferArgs extends KalturaOTTObjectSupportNullableArgs { + id? : number; + multilingualName? : KalturaTranslationToken[]; + priceDetailsId? : number; + fileTypesIds? : string; + multilingualDescription? : KalturaTranslationToken[]; + isActive? : boolean; + startDate? : number; + endDate? : number; + expiryDate? : number; + externalId? : string; + externalOfferId? : string; +} + + +export class KalturaProgramAssetGroupOffer extends KalturaOTTObjectSupportNullable { + + id : number; + readonly name : string; + multilingualName : KalturaTranslationToken[]; + priceDetailsId : number; + fileTypesIds : string; + readonly description : string; + multilingualDescription : KalturaTranslationToken[]; + readonly virtualAssetId : number; + isActive : boolean; + readonly createDate : number; + readonly updateDate : number; + startDate : number; + endDate : number; + expiryDate : number; + externalId : string; + externalOfferId : string; + + constructor(data? : KalturaProgramAssetGroupOfferArgs) + { + super(data); + if (typeof this.multilingualName === 'undefined') this.multilingualName = []; + if (typeof this.multilingualDescription === 'undefined') this.multilingualDescription = []; + } + + protected _getMetadata() : KalturaObjectMetadata + { + const result = super._getMetadata(); + Object.assign( + result.properties, + { + objectType : { type : 'c', default : 'KalturaProgramAssetGroupOffer' }, + id : { type : 'n' }, + name : { type : 's', readOnly : true }, + multilingualName : { type : 'a', subTypeConstructor : KalturaTranslationToken, subType : 'KalturaTranslationToken' }, + priceDetailsId : { type : 'n' }, + fileTypesIds : { type : 's' }, + description : { type : 's', readOnly : true }, + multilingualDescription : { type : 'a', subTypeConstructor : KalturaTranslationToken, subType : 'KalturaTranslationToken' }, + virtualAssetId : { type : 'n', readOnly : true }, + isActive : { type : 'b' }, + createDate : { type : 'n', readOnly : true }, + updateDate : { type : 'n', readOnly : true }, + startDate : { type : 'n' }, + endDate : { type : 'n' }, + expiryDate : { type : 'n' }, + externalId : { type : 's' }, + externalOfferId : { type : 's' } + } + ); + return result; + } +} + +KalturaTypesFactory.registerType('KalturaProgramAssetGroupOffer',KalturaProgramAssetGroupOffer); diff --git a/src/api/types/KalturaProgramAssetGroupOfferFilter.ts b/src/api/types/KalturaProgramAssetGroupOfferFilter.ts new file mode 100644 index 00000000..74aa98c3 --- /dev/null +++ b/src/api/types/KalturaProgramAssetGroupOfferFilter.ts @@ -0,0 +1,34 @@ + +import { KalturaObjectMetadata } from '../kaltura-object-base'; +import { KalturaTypesFactory } from '../kaltura-types-factory'; +import { KalturaFilter, KalturaFilterArgs } from './KalturaFilter'; + +export interface KalturaProgramAssetGroupOfferFilterArgs extends KalturaFilterArgs { + alsoInactive? : boolean; +} + + +export class KalturaProgramAssetGroupOfferFilter extends KalturaFilter { + + alsoInactive : boolean; + + constructor(data? : KalturaProgramAssetGroupOfferFilterArgs) + { + super(data); + } + + protected _getMetadata() : KalturaObjectMetadata + { + const result = super._getMetadata(); + Object.assign( + result.properties, + { + objectType : { type : 'c', default : 'KalturaProgramAssetGroupOfferFilter' }, + alsoInactive : { type : 'b' } + } + ); + return result; + } +} + +KalturaTypesFactory.registerType('KalturaProgramAssetGroupOfferFilter',KalturaProgramAssetGroupOfferFilter); diff --git a/src/api/types/KalturaProgramAssetGroupOfferIdInFilter.ts b/src/api/types/KalturaProgramAssetGroupOfferIdInFilter.ts new file mode 100644 index 00000000..0c3581ae --- /dev/null +++ b/src/api/types/KalturaProgramAssetGroupOfferIdInFilter.ts @@ -0,0 +1,34 @@ + +import { KalturaObjectMetadata } from '../kaltura-object-base'; +import { KalturaTypesFactory } from '../kaltura-types-factory'; +import { KalturaProgramAssetGroupOfferFilter, KalturaProgramAssetGroupOfferFilterArgs } from './KalturaProgramAssetGroupOfferFilter'; + +export interface KalturaProgramAssetGroupOfferIdInFilterArgs extends KalturaProgramAssetGroupOfferFilterArgs { + idIn? : string; +} + + +export class KalturaProgramAssetGroupOfferIdInFilter extends KalturaProgramAssetGroupOfferFilter { + + idIn : string; + + constructor(data? : KalturaProgramAssetGroupOfferIdInFilterArgs) + { + super(data); + } + + protected _getMetadata() : KalturaObjectMetadata + { + const result = super._getMetadata(); + Object.assign( + result.properties, + { + objectType : { type : 'c', default : 'KalturaProgramAssetGroupOfferIdInFilter' }, + idIn : { type : 's' } + } + ); + return result; + } +} + +KalturaTypesFactory.registerType('KalturaProgramAssetGroupOfferIdInFilter',KalturaProgramAssetGroupOfferIdInFilter); diff --git a/src/api/types/KalturaProgramAssetGroupOfferListResponse.ts b/src/api/types/KalturaProgramAssetGroupOfferListResponse.ts new file mode 100644 index 00000000..3b875664 --- /dev/null +++ b/src/api/types/KalturaProgramAssetGroupOfferListResponse.ts @@ -0,0 +1,36 @@ + +import { KalturaObjectMetadata } from '../kaltura-object-base'; +import { KalturaTypesFactory } from '../kaltura-types-factory'; +import { KalturaProgramAssetGroupOffer } from './KalturaProgramAssetGroupOffer'; +import { KalturaListResponse, KalturaListResponseArgs } from './KalturaListResponse'; + +export interface KalturaProgramAssetGroupOfferListResponseArgs extends KalturaListResponseArgs { + objects? : KalturaProgramAssetGroupOffer[]; +} + + +export class KalturaProgramAssetGroupOfferListResponse extends KalturaListResponse { + + objects : KalturaProgramAssetGroupOffer[]; + + constructor(data? : KalturaProgramAssetGroupOfferListResponseArgs) + { + super(data); + if (typeof this.objects === 'undefined') this.objects = []; + } + + protected _getMetadata() : KalturaObjectMetadata + { + const result = super._getMetadata(); + Object.assign( + result.properties, + { + objectType : { type : 'c', default : 'KalturaProgramAssetGroupOfferListResponse' }, + objects : { type : 'a', subTypeConstructor : KalturaProgramAssetGroupOffer, subType : 'KalturaProgramAssetGroupOffer' } + } + ); + return result; + } +} + +KalturaTypesFactory.registerType('KalturaProgramAssetGroupOfferListResponse',KalturaProgramAssetGroupOfferListResponse); diff --git a/src/api/types/KalturaProgramAssetGroupOfferOrderBy.ts b/src/api/types/KalturaProgramAssetGroupOfferOrderBy.ts new file mode 100644 index 00000000..28dfa513 --- /dev/null +++ b/src/api/types/KalturaProgramAssetGroupOfferOrderBy.ts @@ -0,0 +1,8 @@ + + +export enum KalturaProgramAssetGroupOfferOrderBy { + nameAsc = 'NAME_ASC', + nameDesc = 'NAME_DESC', + updateDateAsc = 'UPDATE_DATE_ASC', + updateDateDesc = 'UPDATE_DATE_DESC' +} \ No newline at end of file diff --git a/src/api/types/ProgramAssetGroupOfferAddAction.ts b/src/api/types/ProgramAssetGroupOfferAddAction.ts new file mode 100644 index 00000000..4d787ccd --- /dev/null +++ b/src/api/types/ProgramAssetGroupOfferAddAction.ts @@ -0,0 +1,44 @@ + +import { KalturaObjectMetadata } from '../kaltura-object-base'; +import { KalturaProgramAssetGroupOffer } from './KalturaProgramAssetGroupOffer'; + +import { KalturaRequest, KalturaRequestArgs } from '../kaltura-request'; + +export interface ProgramAssetGroupOfferAddActionArgs extends KalturaRequestArgs { + programAssetGroupOffer : KalturaProgramAssetGroupOffer; +} + +/** + * Build request payload for service 'programAssetGroupOffer' action 'add'. + * + * Usage: Insert new ProgramAssetGroupOffer for partner + * + * Server response type: KalturaProgramAssetGroupOffer + * Server failure response type: KalturaAPIException + * @class + * @extends KalturaRequest + */ +export class ProgramAssetGroupOfferAddAction extends KalturaRequest { + + programAssetGroupOffer : KalturaProgramAssetGroupOffer; + + constructor(data : ProgramAssetGroupOfferAddActionArgs) + { + super(data, {responseType : 'o', responseSubType : 'KalturaProgramAssetGroupOffer', responseConstructor : KalturaProgramAssetGroupOffer }); + } + + protected _getMetadata() : KalturaObjectMetadata + { + const result = super._getMetadata(); + Object.assign( + result.properties, + { + service : { type : 'c', default : 'programassetgroupoffer' }, + action : { type : 'c', default : 'add' }, + programAssetGroupOffer : { type : 'o', subTypeConstructor : KalturaProgramAssetGroupOffer, subType : 'KalturaProgramAssetGroupOffer' } + } + ); + return result; + } +} + diff --git a/src/api/types/ProgramAssetGroupOfferDeleteAction.ts b/src/api/types/ProgramAssetGroupOfferDeleteAction.ts new file mode 100644 index 00000000..a1c4e73b --- /dev/null +++ b/src/api/types/ProgramAssetGroupOfferDeleteAction.ts @@ -0,0 +1,44 @@ + +import { KalturaObjectMetadata } from '../kaltura-object-base'; + + +import { KalturaRequest, KalturaRequestArgs } from '../kaltura-request'; + +export interface ProgramAssetGroupOfferDeleteActionArgs extends KalturaRequestArgs { + id : number; +} + +/** + * Build request payload for service 'programAssetGroupOffer' action 'delete'. + * + * Usage: Delete programAssetGroupOffer + * + * Server response type: boolean + * Server failure response type: KalturaAPIException + * @class + * @extends KalturaRequest + */ +export class ProgramAssetGroupOfferDeleteAction extends KalturaRequest { + + id : number; + + constructor(data : ProgramAssetGroupOfferDeleteActionArgs) + { + super(data, {responseType : 'b', responseSubType : '', responseConstructor : null }); + } + + protected _getMetadata() : KalturaObjectMetadata + { + const result = super._getMetadata(); + Object.assign( + result.properties, + { + service : { type : 'c', default : 'programassetgroupoffer' }, + action : { type : 'c', default : 'delete' }, + id : { type : 'n' } + } + ); + return result; + } +} + diff --git a/src/api/types/ProgramAssetGroupOfferListAction.ts b/src/api/types/ProgramAssetGroupOfferListAction.ts new file mode 100644 index 00000000..5a5832a5 --- /dev/null +++ b/src/api/types/ProgramAssetGroupOfferListAction.ts @@ -0,0 +1,49 @@ + +import { KalturaObjectMetadata } from '../kaltura-object-base'; +import { KalturaProgramAssetGroupOfferListResponse } from './KalturaProgramAssetGroupOfferListResponse'; + +import { KalturaProgramAssetGroupOfferFilter } from './KalturaProgramAssetGroupOfferFilter'; +import { KalturaFilterPager } from './KalturaFilterPager'; +import { KalturaRequest, KalturaRequestArgs } from '../kaltura-request'; + +export interface ProgramAssetGroupOfferListActionArgs extends KalturaRequestArgs { + filter? : KalturaProgramAssetGroupOfferFilter; + pager? : KalturaFilterPager; +} + +/** + * Build request payload for service 'programAssetGroupOffer' action 'list'. + * + * Usage: Gets all Program asset group offer + * + * Server response type: KalturaProgramAssetGroupOfferListResponse + * Server failure response type: KalturaAPIException + * @class + * @extends KalturaRequest + */ +export class ProgramAssetGroupOfferListAction extends KalturaRequest { + + filter : KalturaProgramAssetGroupOfferFilter; + pager : KalturaFilterPager; + + constructor(data? : ProgramAssetGroupOfferListActionArgs) + { + super(data, {responseType : 'o', responseSubType : 'KalturaProgramAssetGroupOfferListResponse', responseConstructor : KalturaProgramAssetGroupOfferListResponse }); + } + + protected _getMetadata() : KalturaObjectMetadata + { + const result = super._getMetadata(); + Object.assign( + result.properties, + { + service : { type : 'c', default : 'programassetgroupoffer' }, + action : { type : 'c', default : 'list' }, + filter : { type : 'o', subTypeConstructor : KalturaProgramAssetGroupOfferFilter, subType : 'KalturaProgramAssetGroupOfferFilter' }, + pager : { type : 'o', subTypeConstructor : KalturaFilterPager, subType : 'KalturaFilterPager' } + } + ); + return result; + } +} + diff --git a/src/api/types/ProgramAssetGroupOfferUpdateAction.ts b/src/api/types/ProgramAssetGroupOfferUpdateAction.ts new file mode 100644 index 00000000..8fdaa7aa --- /dev/null +++ b/src/api/types/ProgramAssetGroupOfferUpdateAction.ts @@ -0,0 +1,47 @@ + +import { KalturaObjectMetadata } from '../kaltura-object-base'; +import { KalturaProgramAssetGroupOffer } from './KalturaProgramAssetGroupOffer'; + +import { KalturaRequest, KalturaRequestArgs } from '../kaltura-request'; + +export interface ProgramAssetGroupOfferUpdateActionArgs extends KalturaRequestArgs { + id : number; + programAssetGroupOffer : KalturaProgramAssetGroupOffer; +} + +/** + * Build request payload for service 'programAssetGroupOffer' action 'update'. + * + * Usage: Update ProgramAssetGroupOffer + * + * Server response type: KalturaProgramAssetGroupOffer + * Server failure response type: KalturaAPIException + * @class + * @extends KalturaRequest + */ +export class ProgramAssetGroupOfferUpdateAction extends KalturaRequest { + + id : number; + programAssetGroupOffer : KalturaProgramAssetGroupOffer; + + constructor(data : ProgramAssetGroupOfferUpdateActionArgs) + { + super(data, {responseType : 'o', responseSubType : 'KalturaProgramAssetGroupOffer', responseConstructor : KalturaProgramAssetGroupOffer }); + } + + protected _getMetadata() : KalturaObjectMetadata + { + const result = super._getMetadata(); + Object.assign( + result.properties, + { + service : { type : 'c', default : 'programassetgroupoffer' }, + action : { type : 'c', default : 'update' }, + id : { type : 'n' }, + programAssetGroupOffer : { type : 'o', subTypeConstructor : KalturaProgramAssetGroupOffer, subType : 'KalturaProgramAssetGroupOffer' } + } + ); + return result; + } +} + diff --git a/src/api/types/index.ts b/src/api/types/index.ts index 71eebfb1..4f51b7cd 100644 --- a/src/api/types/index.ts +++ b/src/api/types/index.ts @@ -59,6 +59,8 @@ export { KalturaPpvFilter, KalturaPpvFilterArgs } from './KalturaPpvFilter' export { KalturaPreviewModuleFilter, KalturaPreviewModuleFilterArgs } from './KalturaPreviewModuleFilter' export { KalturaPriceDetailsFilter, KalturaPriceDetailsFilterArgs } from './KalturaPriceDetailsFilter' export { KalturaPricePlanFilter, KalturaPricePlanFilterArgs } from './KalturaPricePlanFilter' +export { KalturaProgramAssetGroupOfferFilter, KalturaProgramAssetGroupOfferFilterArgs } from './KalturaProgramAssetGroupOfferFilter' +export { KalturaProgramAssetGroupOfferIdInFilter, KalturaProgramAssetGroupOfferIdInFilterArgs } from './KalturaProgramAssetGroupOfferIdInFilter' export { KalturaSubscriptionSetFilter, KalturaSubscriptionSetFilterArgs } from './KalturaSubscriptionSetFilter' export { KalturaSubscriptionDependencySetFilter, KalturaSubscriptionDependencySetFilterArgs } from './KalturaSubscriptionDependencySetFilter' export { KalturaSubscriptionFilter, KalturaSubscriptionFilterArgs } from './KalturaSubscriptionFilter' @@ -81,6 +83,12 @@ export { KalturaSubscriptionSubscribeReference, KalturaSubscriptionSubscribeRefe export { KalturaTopicNotificationMessageFilter, KalturaTopicNotificationMessageFilterArgs } from './KalturaTopicNotificationMessageFilter' export { KalturaIngestByCompoundFilter, KalturaIngestByCompoundFilterArgs } from './KalturaIngestByCompoundFilter' export { KalturaIngestByIdsFilter, KalturaIngestByIdsFilterArgs } from './KalturaIngestByIdsFilter' +export { KalturaIngestEpgProgramResultFilter, KalturaIngestEpgProgramResultFilterArgs } from './KalturaIngestEpgProgramResultFilter' +export { KalturaIngestProgramResultsByRefineFilter, KalturaIngestProgramResultsByRefineFilterArgs } from './KalturaIngestProgramResultsByRefineFilter' +export { KalturaIngestProgramResultsByCombinedFieldsFilter, KalturaIngestProgramResultsByCombinedFieldsFilterArgs } from './KalturaIngestProgramResultsByCombinedFieldsFilter' +export { KalturaIngestProgramResultsByCompoundFilter, KalturaIngestProgramResultsByCompoundFilterArgs } from './KalturaIngestProgramResultsByCompoundFilter' +export { KalturaIngestProgramResultsByExternalIdsFilter, KalturaIngestProgramResultsByExternalIdsFilterArgs } from './KalturaIngestProgramResultsByExternalIdsFilter' +export { KalturaIngestProgramResultsByProgramIdsFilter, KalturaIngestProgramResultsByProgramIdsFilterArgs } from './KalturaIngestProgramResultsByProgramIdsFilter' export { KalturaAggregationCountFilter, KalturaAggregationCountFilterArgs } from './KalturaAggregationCountFilter' export { KalturaPersistedFilter, KalturaPersistedFilterArgs } from './KalturaPersistedFilter' export { KalturaBaseAssetOrder, KalturaBaseAssetOrderArgs } from './KalturaBaseAssetOrder' @@ -333,6 +341,7 @@ export { KalturaChannelDynamicOrder, KalturaChannelDynamicOrderArgs } from './Ka export { KalturaChannelFieldOrder, KalturaChannelFieldOrderArgs } from './KalturaChannelFieldOrder' export { KalturaChannelSlidingWindowOrder, KalturaChannelSlidingWindowOrderArgs } from './KalturaChannelSlidingWindowOrder' export { KalturaPricePlan, KalturaPricePlanArgs } from './KalturaPricePlan' +export { KalturaProgramAssetGroupOffer, KalturaProgramAssetGroupOfferArgs } from './KalturaProgramAssetGroupOffer' export { KalturaPrice, KalturaPriceArgs } from './KalturaPrice' export { KalturaPriceDetails, KalturaPriceDetailsArgs } from './KalturaPriceDetails' export { KalturaPreviewModule, KalturaPreviewModuleArgs } from './KalturaPreviewModule' @@ -408,6 +417,7 @@ export { KalturaPriceDetailsListResponse, KalturaPriceDetailsListResponseArgs } export { KalturaPricePlanListResponse, KalturaPricePlanListResponseArgs } from './KalturaPricePlanListResponse' export { KalturaProductPriceListResponse, KalturaProductPriceListResponseArgs } from './KalturaProductPriceListResponse' export { KalturaProductsPriceListResponse, KalturaProductsPriceListResponseArgs } from './KalturaProductsPriceListResponse' +export { KalturaProgramAssetGroupOfferListResponse, KalturaProgramAssetGroupOfferListResponseArgs } from './KalturaProgramAssetGroupOfferListResponse' export { KalturaSubscriptionListResponse, KalturaSubscriptionListResponseArgs } from './KalturaSubscriptionListResponse' export { KalturaSubscriptionSet, KalturaSubscriptionSetArgs } from './KalturaSubscriptionSet' export { KalturaSubscriptionSetListResponse, KalturaSubscriptionSetListResponseArgs } from './KalturaSubscriptionSetListResponse' @@ -692,6 +702,14 @@ export { KalturaIngestStatusEpgConfiguration, KalturaIngestStatusEpgConfiguratio export { KalturaIngestStatusPartnerConfiguration, KalturaIngestStatusPartnerConfigurationArgs } from './KalturaIngestStatusPartnerConfiguration' export { KalturaIngestEpg, KalturaIngestEpgArgs } from './KalturaIngestEpg' export { KalturaIngestStatusEpgListResponse, KalturaIngestStatusEpgListResponseArgs } from './KalturaIngestStatusEpgListResponse' +export { KalturaEpgIngestErrorMessage, KalturaEpgIngestErrorMessageArgs } from './KalturaEpgIngestErrorMessage' +export { KalturaAggregatedIngestInfo, KalturaAggregatedIngestInfoArgs } from './KalturaAggregatedIngestInfo' +export { KalturaChannelAggregatedIngestInfo, KalturaChannelAggregatedIngestInfoArgs } from './KalturaChannelAggregatedIngestInfo' +export { KalturaDateAggregatedIngestInfo, KalturaDateAggregatedIngestInfoArgs } from './KalturaDateAggregatedIngestInfo' +export { KalturaIngestEpgDetailsAggregation, KalturaIngestEpgDetailsAggregationArgs } from './KalturaIngestEpgDetailsAggregation' +export { KalturaIngestEpgDetails, KalturaIngestEpgDetailsArgs } from './KalturaIngestEpgDetails' +export { KalturaIngestEpgProgramResult, KalturaIngestEpgProgramResultArgs } from './KalturaIngestEpgProgramResult' +export { KalturaIngestStatusEpgProgramResultListResponse, KalturaIngestStatusEpgProgramResultListResponseArgs } from './KalturaIngestStatusEpgProgramResultListResponse' export { KalturaIotDefault, KalturaIotDefaultArgs } from './KalturaIotDefault' export { KalturaCognitoIdentity, KalturaCognitoIdentityArgs } from './KalturaCognitoIdentity' export { KalturaCredentialsProvider, KalturaCredentialsProviderArgs } from './KalturaCredentialsProvider' @@ -858,6 +876,8 @@ export { KalturaImageTypeOrderBy } from './KalturaImageTypeOrderBy' export { KalturaInboxMessageOrderBy } from './KalturaInboxMessageOrderBy' export { KalturaInboxMessageStatus } from './KalturaInboxMessageStatus' export { KalturaInboxMessageType } from './KalturaInboxMessageType' +export { KalturaIngestEpgProgramResultOrderBy } from './KalturaIngestEpgProgramResultOrderBy' +export { KalturaIngestEpgProgramStatus } from './KalturaIngestEpgProgramStatus' export { KalturaIngestProfileAutofillPolicy } from './KalturaIngestProfileAutofillPolicy' export { KalturaIngestProfileOverlapPolicy } from './KalturaIngestProfileOverlapPolicy' export { KalturaIngestStatus } from './KalturaIngestStatus' @@ -902,6 +922,7 @@ export { KalturaPreviewModuleOrderBy } from './KalturaPreviewModuleOrderBy' export { KalturaPriceDetailsOrderBy } from './KalturaPriceDetailsOrderBy' export { KalturaPricePlanOrderBy } from './KalturaPricePlanOrderBy' export { KalturaProductPriceOrderBy } from './KalturaProductPriceOrderBy' +export { KalturaProgramAssetGroupOfferOrderBy } from './KalturaProgramAssetGroupOfferOrderBy' export { KalturaProtectionPolicy } from './KalturaProtectionPolicy' export { KalturaPurchaseSettingsType } from './KalturaPurchaseSettingsType' export { KalturaPurchaseStatus } from './KalturaPurchaseStatus' @@ -1228,7 +1249,9 @@ export { IngestProfileAddAction, IngestProfileAddActionArgs } from './IngestProf export { IngestProfileDeleteAction, IngestProfileDeleteActionArgs } from './IngestProfileDeleteAction' export { IngestProfileListAction, IngestProfileListActionArgs } from './IngestProfileListAction' export { IngestProfileUpdateAction, IngestProfileUpdateActionArgs } from './IngestProfileUpdateAction' +export { IngestStatusGetEpgDetailsAction, IngestStatusGetEpgDetailsActionArgs } from './IngestStatusGetEpgDetailsAction' export { IngestStatusGetEpgListAction, IngestStatusGetEpgListActionArgs } from './IngestStatusGetEpgListAction' +export { IngestStatusGetEpgProgramResultListAction, IngestStatusGetEpgProgramResultListActionArgs } from './IngestStatusGetEpgProgramResultListAction' export { IngestStatusGetPartnerConfigurationAction, IngestStatusGetPartnerConfigurationActionArgs } from './IngestStatusGetPartnerConfigurationAction' export { IngestStatusUpdatePartnerConfigurationAction, IngestStatusUpdatePartnerConfigurationActionArgs } from './IngestStatusUpdatePartnerConfigurationAction' export { IotGetClientConfigurationAction, IotGetClientConfigurationActionArgs } from './IotGetClientConfigurationAction' @@ -1364,6 +1387,10 @@ export { PricePlanDeleteAction, PricePlanDeleteActionArgs } from './PricePlanDel export { PricePlanListAction, PricePlanListActionArgs } from './PricePlanListAction' export { PricePlanUpdateAction, PricePlanUpdateActionArgs } from './PricePlanUpdateAction' export { ProductPriceListAction, ProductPriceListActionArgs } from './ProductPriceListAction' +export { ProgramAssetGroupOfferAddAction, ProgramAssetGroupOfferAddActionArgs } from './ProgramAssetGroupOfferAddAction' +export { ProgramAssetGroupOfferDeleteAction, ProgramAssetGroupOfferDeleteActionArgs } from './ProgramAssetGroupOfferDeleteAction' +export { ProgramAssetGroupOfferListAction, ProgramAssetGroupOfferListActionArgs } from './ProgramAssetGroupOfferListAction' +export { ProgramAssetGroupOfferUpdateAction, ProgramAssetGroupOfferUpdateActionArgs } from './ProgramAssetGroupOfferUpdateAction' export { PurchaseSettingsGetAction, PurchaseSettingsGetActionArgs } from './PurchaseSettingsGetAction' export { PurchaseSettingsUpdateAction, PurchaseSettingsUpdateActionArgs } from './PurchaseSettingsUpdateAction' export { RatioAddAction, RatioAddActionArgs } from './RatioAddAction' diff --git a/src/environment.ts b/src/environment.ts index 2dbd8703..1b728022 100644 --- a/src/environment.ts +++ b/src/environment.ts @@ -12,7 +12,7 @@ export interface Environment { export const environment: Environment = { request: { - apiVersion: '7.3.0.29806', + apiVersion: '7.3.0.29794', ottMode: true, fileFormatValue: 20 },