Skip to content

Commit

Permalink
Auto-generated by Jenkins job OTT-Generate-ClientLibs/1015, branch BE…
Browse files Browse the repository at this point in the history
…O-13063_add_recording_2
  • Loading branch information
Backend CI committed Dec 22, 2022
1 parent fed1ee2 commit a8d49ed
Show file tree
Hide file tree
Showing 37 changed files with 761 additions and 54 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.1.0.30026 and above.
Compatible with Kaltura OTT server version 8.3.1.30231 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.1.0-30026
npm install kaltura-ott-typescript-client@8.3.1-30231
```

**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.1.0-30026",
"version": "8.3.1-30231",
"description": "Kaltura OTT Typescript client",
"keywords": [
"Kaltura"
Expand Down
65 changes: 65 additions & 0 deletions src/api/types/AssetGroupRepresentativeListAction.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@

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

import { KalturaAssetGroupBy } from './KalturaAssetGroupBy';
import { KalturaUnmatchedItemsPolicy } from './KalturaUnmatchedItemsPolicy';
import { KalturaBaseAssetOrder } from './KalturaBaseAssetOrder';
import { KalturaListGroupsRepresentativesFilter } from './KalturaListGroupsRepresentativesFilter';
import { KalturaRepresentativeSelectionPolicy } from './KalturaRepresentativeSelectionPolicy';
import { KalturaFilterPager } from './KalturaFilterPager';
import { KalturaRequest, KalturaRequestArgs } from '../kaltura-request';

export interface AssetGroupRepresentativeListActionArgs extends KalturaRequestArgs {
groupBy : KalturaAssetGroupBy;
unmatchedItemsPolicy : KalturaUnmatchedItemsPolicy;
orderBy? : KalturaBaseAssetOrder;
filter? : KalturaListGroupsRepresentativesFilter;
selectionPolicy? : KalturaRepresentativeSelectionPolicy;
pager? : KalturaFilterPager;
}

/**
* Build request payload for service 'asset' action 'groupRepresentativeList'.
*
* Usage: Returns assets deduplicated by asset metadata (or supported asset's property)
*
* Server response type: KalturaAssetListResponse
* Server failure response type: KalturaAPIException
* @class
* @extends KalturaRequest
*/
export class AssetGroupRepresentativeListAction extends KalturaRequest<KalturaAssetListResponse> {

groupBy : KalturaAssetGroupBy;
unmatchedItemsPolicy : KalturaUnmatchedItemsPolicy;
orderBy : KalturaBaseAssetOrder;
filter : KalturaListGroupsRepresentativesFilter;
selectionPolicy : KalturaRepresentativeSelectionPolicy;
pager : KalturaFilterPager;

constructor(data : AssetGroupRepresentativeListActionArgs)
{
super(data, {responseType : 'o', responseSubType : 'KalturaAssetListResponse', responseConstructor : KalturaAssetListResponse });
}

protected _getMetadata() : KalturaObjectMetadata
{
const result = super._getMetadata();
Object.assign(
result.properties,
{
service : { type : 'c', default : 'asset' },
action : { type : 'c', default : 'groupRepresentativeList' },
groupBy : { type : 'o', subTypeConstructor : KalturaAssetGroupBy, subType : 'KalturaAssetGroupBy' },
unmatchedItemsPolicy : { type : 'es', subTypeConstructor : KalturaUnmatchedItemsPolicy, subType : 'KalturaUnmatchedItemsPolicy' },
orderBy : { type : 'o', subTypeConstructor : KalturaBaseAssetOrder, subType : 'KalturaBaseAssetOrder' },
filter : { type : 'o', subTypeConstructor : KalturaListGroupsRepresentativesFilter, subType : 'KalturaListGroupsRepresentativesFilter' },
selectionPolicy : { type : 'o', subTypeConstructor : KalturaRepresentativeSelectionPolicy, subType : 'KalturaRepresentativeSelectionPolicy' },
pager : { type : 'o', subTypeConstructor : KalturaFilterPager, subType : 'KalturaFilterPager' }
}
);
return result;
}
}

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

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

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

export interface BulkUploadStatisticsGetActionArgs extends KalturaRequestArgs {
bulkObjectTypeEqual : string;
createDateGreaterThanOrEqual : number;
}

/**
* Build request payload for service 'bulkUploadStatistics' action 'get'.
*
* Usage: Get BulkUploadStatistics count summary by status
*
* Server response type: KalturaBulkUploadStatistics
* Server failure response type: KalturaAPIException
* @class
* @extends KalturaRequest
*/
export class BulkUploadStatisticsGetAction extends KalturaRequest<KalturaBulkUploadStatistics> {

bulkObjectTypeEqual : string;
createDateGreaterThanOrEqual : number;

constructor(data : BulkUploadStatisticsGetActionArgs)
{
super(data, {responseType : 'o', responseSubType : 'KalturaBulkUploadStatistics', responseConstructor : KalturaBulkUploadStatistics });
}

protected _getMetadata() : KalturaObjectMetadata
{
const result = super._getMetadata();
Object.assign(
result.properties,
{
service : { type : 'c', default : 'bulkuploadstatistics' },
action : { type : 'c', default : 'get' },
bulkObjectTypeEqual : { type : 's' },
createDateGreaterThanOrEqual : { type : 'n' }
}
);
return result;
}
}

6 changes: 5 additions & 1 deletion src/api/types/KalturaAssetShopCondition.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@

import { KalturaObjectMetadata } from '../kaltura-object-base';
import { KalturaTypesFactory } from '../kaltura-types-factory';
import { KalturaStringValueArray } from './KalturaStringValueArray';
import { KalturaAssetConditionBase, KalturaAssetConditionBaseArgs } from './KalturaAssetConditionBase';

export interface KalturaAssetShopConditionArgs extends KalturaAssetConditionBaseArgs {
value? : string;
values? : KalturaStringValueArray;
}


export class KalturaAssetShopCondition extends KalturaAssetConditionBase {

value : string;
values : KalturaStringValueArray;

constructor(data? : KalturaAssetShopConditionArgs)
{
Expand All @@ -24,7 +27,8 @@ export class KalturaAssetShopCondition extends KalturaAssetConditionBase {
result.properties,
{
objectType : { type : 'c', default : 'KalturaAssetShopCondition' },
value : { type : 's' }
value : { type : 's' },
values : { type : 'o', subTypeConstructor : KalturaStringValueArray, subType : 'KalturaStringValueArray' }
}
);
return result;
Expand Down
6 changes: 6 additions & 0 deletions src/api/types/KalturaBooleanOperator.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@


export enum KalturaBooleanOperator {
and = 'And',
or = 'Or'
}
61 changes: 61 additions & 0 deletions src/api/types/KalturaBulkUploadStatistics.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@

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

export interface KalturaBulkUploadStatisticsArgs extends KalturaObjectBaseArgs {
pending? : number;
uploaded? : number;
queued? : number;
parsing? : number;
processing? : number;
processed? : number;
success? : number;
partial? : number;
failed? : number;
fatal? : number;
}


export class KalturaBulkUploadStatistics extends KalturaObjectBase {

pending : number;
uploaded : number;
queued : number;
parsing : number;
processing : number;
processed : number;
success : number;
partial : number;
failed : number;
fatal : number;

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

protected _getMetadata() : KalturaObjectMetadata
{
const result = super._getMetadata();
Object.assign(
result.properties,
{
objectType : { type : 'c', default : 'KalturaBulkUploadStatistics' },
pending : { type : 'n' },
uploaded : { type : 'n' },
queued : { type : 'n' },
parsing : { type : 'n' },
processing : { type : 'n' },
processed : { type : 'n' },
success : { type : 'n' },
partial : { type : 'n' },
failed : { type : 'n' },
fatal : { type : 'n' }
}
);
return result;
}
}

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

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

export interface KalturaCampaignSegmentFilterArgs extends KalturaCampaignSearchFilterArgs {
segmentIdEqual? : number;
}


export class KalturaCampaignSegmentFilter extends KalturaCampaignSearchFilter {

segmentIdEqual : number;

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

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

KalturaTypesFactory.registerType('KalturaCampaignSegmentFilter',KalturaCampaignSegmentFilter);
5 changes: 4 additions & 1 deletion src/api/types/KalturaCollection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export interface KalturaCollectionArgs extends KalturaOTTObjectSupportNullableA
priceDetailsId? : number;
isActive? : boolean;
fileTypesIds? : string;
assetUserRuleId? : number;
}


Expand Down Expand Up @@ -55,6 +56,7 @@ export class KalturaCollection extends KalturaOTTObjectSupportNullable {
readonly virtualAssetId : number;
readonly fileTypes : KalturaIntegerValue[];
fileTypesIds : string;
assetUserRuleId : number;

constructor(data? : KalturaCollectionArgs)
{
Expand Down Expand Up @@ -98,7 +100,8 @@ export class KalturaCollection extends KalturaOTTObjectSupportNullable {
updateDate : { type : 'n', readOnly : true },
virtualAssetId : { type : 'n', readOnly : true },
fileTypes : { type : 'a', readOnly : true, subTypeConstructor : KalturaIntegerValue, subType : 'KalturaIntegerValue' },
fileTypesIds : { type : 's' }
fileTypesIds : { type : 's' },
assetUserRuleId : { type : 'n' }
}
);
return result;
Expand Down
34 changes: 0 additions & 34 deletions src/api/types/KalturaCouponFilter.ts

This file was deleted.

1 change: 1 addition & 0 deletions src/api/types/KalturaGroupByField.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ export enum KalturaGroupByField {
crid = 'crid',
linearMediaId = 'linear_media_id',
mediaTypeId = 'media_type_id',
_name = 'name',
suppressed = 'suppressed'
}
38 changes: 38 additions & 0 deletions src/api/types/KalturaImmediateRecording.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 { KalturaRecording, KalturaRecordingArgs } from './KalturaRecording';

export interface KalturaImmediateRecordingArgs extends KalturaRecordingArgs {

}


export class KalturaImmediateRecording extends KalturaRecording {

readonly endPadding : number;
readonly absoluteStart : number;
readonly absoluteEnd : number;

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

protected _getMetadata() : KalturaObjectMetadata
{
const result = super._getMetadata();
Object.assign(
result.properties,
{
objectType : { type : 'c', default : 'KalturaImmediateRecording' },
endPadding : { type : 'n', readOnly : true },
absoluteStart : { type : 'n', readOnly : true },
absoluteEnd : { type : 'n', readOnly : true }
}
);
return result;
}
}

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

0 comments on commit a8d49ed

Please sign in to comment.