Skip to content

Commit

Permalink
Auto-generated by Jenkins job OTT-Generate-ClientLibs/957, branch BEO…
Browse files Browse the repository at this point in the history
…-11915-Segmentation
  • Loading branch information
Backend CI committed Sep 4, 2022
1 parent 7599131 commit 3d68a13
Show file tree
Hide file tree
Showing 22 changed files with 419 additions and 11 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Kaltura OTT Typescript Client

Compatible with Kaltura OTT server version 7.9.0.30000 and above.
Compatible with Kaltura OTT server version 8.0.0.30023 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@7.9.0-30000
npm install kaltura-ott-typescript-client@8.0.0-30023
```

**Found a bug?** create [kaltura/clients-generator issue](https://github.com/kaltura/clients-generator/issues)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "kaltura-ott-typescript-client",
"private": true,
"version": "7.9.0-30000",
"version": "8.0.0-30023",
"description": "Kaltura OTT Typescript client",
"keywords": [
"Kaltura"
Expand Down
34 changes: 34 additions & 0 deletions src/api/types/KalturaBaseBulkSegments.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 { KalturaBulkUploadObjectData, KalturaBulkUploadObjectDataArgs } from './KalturaBulkUploadObjectData';

export interface KalturaBaseBulkSegmentsArgs extends KalturaBulkUploadObjectDataArgs {
segmentId? : number;
}


export class KalturaBaseBulkSegments extends KalturaBulkUploadObjectData {

segmentId : number;

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

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

KalturaTypesFactory.registerType('KalturaBaseBulkSegments',KalturaBaseBulkSegments);
34 changes: 34 additions & 0 deletions src/api/types/KalturaBaseBulkUploadSegmentsResult.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 { KalturaBulkUploadResult, KalturaBulkUploadResultArgs } from './KalturaBulkUploadResult';

export interface KalturaBaseBulkUploadSegmentsResultArgs extends KalturaBulkUploadResultArgs {
segmentId? : number;
}


export class KalturaBaseBulkUploadSegmentsResult extends KalturaBulkUploadResult {

segmentId : number;

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

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

KalturaTypesFactory.registerType('KalturaBaseBulkUploadSegmentsResult',KalturaBaseBulkUploadSegmentsResult);
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'
}
33 changes: 33 additions & 0 deletions src/api/types/KalturaBulkSegmentedHouseholdsData.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@

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

export interface KalturaBulkSegmentedHouseholdsDataArgs extends KalturaBaseBulkSegmentsArgs {

}


export class KalturaBulkSegmentedHouseholdsData extends KalturaBaseBulkSegments {



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

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

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

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

export interface KalturaBulkSegmentedHouseholdsResultArgs extends KalturaBaseBulkUploadSegmentsResultArgs {

}


export class KalturaBulkSegmentedHouseholdsResult extends KalturaBaseBulkUploadSegmentsResult {



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

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

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

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

export interface KalturaBulkSegmentedUsersResultArgs extends KalturaBaseBulkUploadSegmentsResultArgs {

}


export class KalturaBulkSegmentedUsersResult extends KalturaBaseBulkUploadSegmentsResult {



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

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

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

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

export interface KalturaBulkSegmentedusersDataArgs extends KalturaBaseBulkSegmentsArgs {

}


export class KalturaBulkSegmentedusersData extends KalturaBaseBulkSegments {



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

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

KalturaTypesFactory.registerType('KalturaBulkSegmentedusersData',KalturaBulkSegmentedusersData);
8 changes: 5 additions & 3 deletions src/api/types/KalturaBulkUploadObjectData.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@

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

export interface KalturaBulkUploadObjectDataArgs extends KalturaObjectBaseArgs {

action? : KalturaBulkUploadJobAction;
}


export class KalturaBulkUploadObjectData extends KalturaObjectBase {


action : KalturaBulkUploadJobAction;

constructor(data? : KalturaBulkUploadObjectDataArgs)
{
Expand All @@ -23,7 +24,8 @@ export class KalturaBulkUploadObjectData extends KalturaObjectBase {
Object.assign(
result.properties,
{
objectType : { type : 'c', default : 'KalturaBulkUploadObjectData' }
objectType : { type : 'c', default : 'KalturaBulkUploadObjectData' },
action : { type : 'es', subTypeConstructor : KalturaBulkUploadJobAction, subType : 'KalturaBulkUploadJobAction' }
}
);
return result;
Expand Down
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 {
segmentIdIn? : string;
}


export class KalturaCampaignSegmentFilter extends KalturaCampaignSearchFilter {

segmentIdIn : string;

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

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

KalturaTypesFactory.registerType('KalturaCampaignSegmentFilter',KalturaCampaignSegmentFilter);
5 changes: 4 additions & 1 deletion src/api/types/KalturaMonetizationCondition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export interface KalturaMonetizationConditionArgs extends KalturaBaseSegmentCon
type? : KalturaMonetizationType;
operator? : KalturaMathemticalOperatorType;
businessModuleIdIn? : string;
currencyCode? : string;
}


Expand All @@ -23,6 +24,7 @@ export class KalturaMonetizationCondition extends KalturaBaseSegmentCondition {
type : KalturaMonetizationType;
operator : KalturaMathemticalOperatorType;
businessModuleIdIn : string;
currencyCode : string;

constructor(data? : KalturaMonetizationConditionArgs)
{
Expand All @@ -41,7 +43,8 @@ export class KalturaMonetizationCondition extends KalturaBaseSegmentCondition {
days : { type : 'n' },
type : { type : 'es', subTypeConstructor : KalturaMonetizationType, subType : 'KalturaMonetizationType' },
operator : { type : 'es', subTypeConstructor : KalturaMathemticalOperatorType, subType : 'KalturaMathemticalOperatorType' },
businessModuleIdIn : { type : 's' }
businessModuleIdIn : { type : 's' },
currencyCode : { type : 's' }
}
);
return result;
Expand Down
4 changes: 3 additions & 1 deletion src/api/types/KalturaMonetizationType.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@


export enum KalturaMonetizationType {
boxset = 'boxset',
any = 'any',
boxset = 'boxset',
ppv = 'ppv',
ppvLive = 'ppv_live',
subscription = 'subscription'
}
37 changes: 37 additions & 0 deletions src/api/types/KalturaSegmentationPartnerConfiguration.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@

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

export interface KalturaSegmentationPartnerConfigurationArgs extends KalturaObjectBaseArgs {
maxCalculatedPeriod? : number;
maxDynamicSegments? : number;
}


export class KalturaSegmentationPartnerConfiguration extends KalturaObjectBase {

maxCalculatedPeriod : number;
maxDynamicSegments : number;

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

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

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

0 comments on commit 3d68a13

Please sign in to comment.