Skip to content

Commit

Permalink
Auto-generated by Jenkins job OTT-Generate-ClientLibs/1271, branch BE…
Browse files Browse the repository at this point in the history
…O-14417_add-rsp-strategies
  • Loading branch information
Backend CI committed Jan 15, 2024
1 parent bdf1d97 commit 13411f1
Show file tree
Hide file tree
Showing 18 changed files with 504 additions and 5 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 9.2.0.1 and above.
Compatible with Kaltura OTT server version 9.6.0.0 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@9.2.0-1
npm install kaltura-ott-typescript-client@9.6.0-0
```

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

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

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

export interface CouponGetFilesLinksActionArgs extends KalturaRequestArgs {
couponsGroupId : number;
}

/**
* Build request payload for service 'coupon' action 'getFilesLinks'.
*
* Usage: get all coupon codes of a specific couponGroup
*
* Server response type: KalturaCouponFilesLinks
* Server failure response type: KalturaAPIException
* @class
* @extends KalturaRequest
*/
export class CouponGetFilesLinksAction extends KalturaRequest<KalturaCouponFilesLinks> {

couponsGroupId : number;

constructor(data : CouponGetFilesLinksActionArgs)
{
super(data, {responseType : 'o', responseSubType : 'KalturaCouponFilesLinks', responseConstructor : KalturaCouponFilesLinks });
}

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

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

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


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

export interface HouseholdDeviceRetryDeleteActionArgs extends KalturaRequestArgs {
request : KalturaRetryDeleteRequest;
}

/**
* Build request payload for service 'householdDevice' action 'retryDelete'.
*
* Usage: Retry delete household device entities by retention
*
* Server response type: void
* Server failure response type: KalturaAPIException
* @class
* @extends KalturaRequest
*/
export class HouseholdDeviceRetryDeleteAction extends KalturaRequest<void> {

request : KalturaRetryDeleteRequest;

constructor(data : HouseholdDeviceRetryDeleteActionArgs)
{
super(data, {responseType : 'v', responseSubType : '', responseConstructor : null });
}

protected _getMetadata() : KalturaObjectMetadata
{
const result = super._getMetadata();
Object.assign(
result.properties,
{
service : { type : 'c', default : 'householddevice' },
action : { type : 'c', default : 'retryDelete' },
request : { type : 'o', subTypeConstructor : KalturaRetryDeleteRequest, subType : 'KalturaRetryDeleteRequest' }
}
);
return result;
}
}

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

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

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

export interface HouseholdGetPartnerConfigurationActionArgs extends KalturaRequestArgs {

}

/**
* Build request payload for service 'household' action 'getPartnerConfiguration'.
*
* Usage: Get household partner configuration
*
* Server response type: KalturaHouseholdPartnerConfiguration
* Server failure response type: KalturaAPIException
* @class
* @extends KalturaRequest
*/
export class HouseholdGetPartnerConfigurationAction extends KalturaRequest<KalturaHouseholdPartnerConfiguration> {



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

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

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

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


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

export interface HouseholdRetryDeleteActionArgs extends KalturaRequestArgs {
request : KalturaRetryDeleteRequest;
}

/**
* Build request payload for service 'household' action 'retryDelete'.
*
* Usage: Retry delete household entities by retention
*
* Server response type: void
* Server failure response type: KalturaAPIException
* @class
* @extends KalturaRequest
*/
export class HouseholdRetryDeleteAction extends KalturaRequest<void> {

request : KalturaRetryDeleteRequest;

constructor(data : HouseholdRetryDeleteActionArgs)
{
super(data, {responseType : 'v', responseSubType : '', responseConstructor : null });
}

protected _getMetadata() : KalturaObjectMetadata
{
const result = super._getMetadata();
Object.assign(
result.properties,
{
service : { type : 'c', default : 'household' },
action : { type : 'c', default : 'retryDelete' },
request : { type : 'o', subTypeConstructor : KalturaRetryDeleteRequest, subType : 'KalturaRetryDeleteRequest' }
}
);
return result;
}
}

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

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


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

export interface HouseholdUpdatePartnerConfigurationActionArgs extends KalturaRequestArgs {
configuration : KalturaHouseholdPartnerConfiguration;
}

/**
* Build request payload for service 'household' action 'updatePartnerConfiguration'.
*
* Usage: Update household partner configuration
*
* Server response type: void
* Server failure response type: KalturaAPIException
* @class
* @extends KalturaRequest
*/
export class HouseholdUpdatePartnerConfigurationAction extends KalturaRequest<void> {

configuration : KalturaHouseholdPartnerConfiguration;

constructor(data : HouseholdUpdatePartnerConfigurationActionArgs)
{
super(data, {responseType : 'v', responseSubType : '', responseConstructor : null });
}

protected _getMetadata() : KalturaObjectMetadata
{
const result = super._getMetadata();
Object.assign(
result.properties,
{
service : { type : 'c', default : 'household' },
action : { type : 'c', default : 'updatePartnerConfiguration' },
configuration : { type : 'o', subTypeConstructor : KalturaHouseholdPartnerConfiguration, subType : 'KalturaHouseholdPartnerConfiguration' }
}
);
return result;
}
}

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

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

export interface KalturaCloudUploadSettingsConfigurationArgs extends KalturaPartnerConfigurationArgs {
customAllowedFileExtensions? : string;
}


export class KalturaCloudUploadSettingsConfiguration extends KalturaPartnerConfiguration {

readonly defaultAllowedFileExtensions : string;
customAllowedFileExtensions : string;

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

protected _getMetadata() : KalturaObjectMetadata
{
const result = super._getMetadata();
Object.assign(
result.properties,
{
objectType : { type : 'c', default : 'KalturaCloudUploadSettingsConfiguration' },
defaultAllowedFileExtensions : { type : 's', readOnly : true },
customAllowedFileExtensions : { type : 's' }
}
);
return result;
}
}

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

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 KalturaCouponFilesLinksArgs extends KalturaObjectBaseArgs {
totalCount? : number;
objects? : KalturaStringValue[];
}


export class KalturaCouponFilesLinks extends KalturaObjectBase {

totalCount : number;
objects : KalturaStringValue[];

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

protected _getMetadata() : KalturaObjectMetadata
{
const result = super._getMetadata();
Object.assign(
result.properties,
{
objectType : { type : 'c', default : 'KalturaCouponFilesLinks' },
totalCount : { type : 'n' },
objects : { type : 'a', subTypeConstructor : KalturaStringValue, subType : 'KalturaStringValue' }
}
);
return result;
}
}

KalturaTypesFactory.registerType('KalturaCouponFilesLinks',KalturaCouponFilesLinks);
34 changes: 34 additions & 0 deletions src/api/types/KalturaHouseholdPartnerConfiguration.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 { KalturaObjectBase, KalturaObjectBaseArgs } from '../kaltura-object-base';

export interface KalturaHouseholdPartnerConfigurationArgs extends KalturaObjectBaseArgs {
retentionPeriodDays? : number;
}


export class KalturaHouseholdPartnerConfiguration extends KalturaObjectBase {

retentionPeriodDays : number;

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

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

KalturaTypesFactory.registerType('KalturaHouseholdPartnerConfiguration',KalturaHouseholdPartnerConfiguration);
1 change: 1 addition & 0 deletions src/api/types/KalturaPartnerConfigurationType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
export enum KalturaPartnerConfigurationType {
base = 'Base',
catalog = 'Catalog',
clouduploadsettings = 'CloudUploadSettings',
commerce = 'Commerce',
concurrency = 'Concurrency',
customfields = 'CustomFields',
Expand Down
Loading

0 comments on commit 13411f1

Please sign in to comment.