Skip to content

Commit

Permalink
feat: syncing services with server changes on date 02/10/17 04:15:21
Browse files Browse the repository at this point in the history
  • Loading branch information
eransakal committed Oct 10, 2017
1 parent c61caac commit de7a5a1
Show file tree
Hide file tree
Showing 135 changed files with 4,123 additions and 0 deletions.
40 changes: 40 additions & 0 deletions src/types/BeaconAddAction.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@

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


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

export interface BeaconAddActionArgs extends KalturaRequestArgs {
beacon : KalturaBeacon;
shouldLog? : KalturaNullableBoolean;
}


export class BeaconAddAction extends KalturaRequest<boolean> {

beacon : KalturaBeacon;
shouldLog : KalturaNullableBoolean;

constructor(data : BeaconAddActionArgs)
{
super(data, {responseType : 'b', responseSubType : '', responseConstructor : null });
}

protected _getMetadata() : KalturaObjectMetadata
{
const result = super._getMetadata();
Object.assign(
result.properties,
{
service : { type : 'c', default : 'beacon_beacon' },
action : { type : 'c', default : 'add' },
beacon : { type : 'o', subTypeConstructor : KalturaBeacon, subType : 'KalturaBeacon' },
shouldLog : { type : 'en', subTypeConstructor : KalturaNullableBoolean, subType : 'KalturaNullableBoolean' }
}
);
return result;
}
}

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

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

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

export interface BeaconEnhanceSearchActionArgs extends KalturaRequestArgs {
filter? : KalturaBeaconEnhanceFilter;
pager? : KalturaFilterPager;
}


export class BeaconEnhanceSearchAction extends KalturaRequest<KalturaBeaconListResponse> {

filter : KalturaBeaconEnhanceFilter;
pager : KalturaFilterPager;

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

protected _getMetadata() : KalturaObjectMetadata
{
const result = super._getMetadata();
Object.assign(
result.properties,
{
service : { type : 'c', default : 'beacon_beacon' },
action : { type : 'c', default : 'enhanceSearch' },
filter : { type : 'o', subTypeConstructor : KalturaBeaconEnhanceFilter, subType : 'KalturaBeaconEnhanceFilter' },
pager : { type : 'o', subTypeConstructor : KalturaFilterPager, subType : 'KalturaFilterPager' }
}
);
return result;
}
}

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

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

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

export interface BeaconListActionArgs extends KalturaRequestArgs {
filter? : KalturaBeaconFilter;
pager? : KalturaFilterPager;
}


export class BeaconListAction extends KalturaRequest<KalturaBeaconListResponse> {

filter : KalturaBeaconFilter;
pager : KalturaFilterPager;

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

protected _getMetadata() : KalturaObjectMetadata
{
const result = super._getMetadata();
Object.assign(
result.properties,
{
service : { type : 'c', default : 'beacon_beacon' },
action : { type : 'c', default : 'list' },
filter : { type : 'o', subTypeConstructor : KalturaBeaconFilter, subType : 'KalturaBeaconFilter' },
pager : { type : 'o', subTypeConstructor : KalturaFilterPager, subType : 'KalturaFilterPager' }
}
);
return result;
}
}

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

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

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

export interface CaptionAssetItemListActionArgs extends KalturaRequestArgs {
captionAssetId : string;
captionAssetItemFilter? : KalturaCaptionAssetItemFilter;
captionAssetItemPager? : KalturaFilterPager;
}

/**
* List caption asset items by filter and pager
**/
export class CaptionAssetItemListAction extends KalturaRequest<KalturaCaptionAssetItemListResponse> {

captionAssetId : string;
captionAssetItemFilter : KalturaCaptionAssetItemFilter;
captionAssetItemPager : KalturaFilterPager;

constructor(data : CaptionAssetItemListActionArgs)
{
super(data, {responseType : 'o', responseSubType : 'KalturaCaptionAssetItemListResponse', responseConstructor : KalturaCaptionAssetItemListResponse });
}

protected _getMetadata() : KalturaObjectMetadata
{
const result = super._getMetadata();
Object.assign(
result.properties,
{
service : { type : 'c', default : 'captionsearch_captionassetitem' },
action : { type : 'c', default : 'list' },
captionAssetId : { type : 's' },
captionAssetItemFilter : { type : 'o', subTypeConstructor : KalturaCaptionAssetItemFilter, subType : 'KalturaCaptionAssetItemFilter' },
captionAssetItemPager : { type : 'o', subTypeConstructor : KalturaFilterPager, subType : 'KalturaFilterPager' }
}
);
return result;
}
}

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

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

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

export interface ESearchGetAllowedSearchTypesActionArgs extends KalturaRequestArgs {
searchItem : KalturaESearchItem;
}


export class ESearchGetAllowedSearchTypesAction extends KalturaRequest<KalturaKeyValue[]> {

searchItem : KalturaESearchItem;

constructor(data : ESearchGetAllowedSearchTypesActionArgs)
{
super(data, {responseType : 'a', responseSubType : 'KalturaKeyValue', responseConstructor : KalturaKeyValue });
}

protected _getMetadata() : KalturaObjectMetadata
{
const result = super._getMetadata();
Object.assign(
result.properties,
{
service : { type : 'c', default : 'elasticsearch_esearch' },
action : { type : 'c', default : 'getAllowedSearchTypes' },
searchItem : { type : 'o', subTypeConstructor : KalturaESearchItem, subType : 'KalturaESearchItem' }
}
);
return result;
}
}

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

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

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

export interface ESearchSearchCategoryActionArgs extends KalturaRequestArgs {
searchParams : KalturaESearchParams;
pager? : KalturaPager;
}


export class ESearchSearchCategoryAction extends KalturaRequest<KalturaESearchResponse> {

searchParams : KalturaESearchParams;
pager : KalturaPager;

constructor(data : ESearchSearchCategoryActionArgs)
{
super(data, {responseType : 'o', responseSubType : 'KalturaESearchResponse', responseConstructor : KalturaESearchResponse });
}

protected _getMetadata() : KalturaObjectMetadata
{
const result = super._getMetadata();
Object.assign(
result.properties,
{
service : { type : 'c', default : 'elasticsearch_esearch' },
action : { type : 'c', default : 'searchCategory' },
searchParams : { type : 'o', subTypeConstructor : KalturaESearchParams, subType : 'KalturaESearchParams' },
pager : { type : 'o', subTypeConstructor : KalturaPager, subType : 'KalturaPager' }
}
);
return result;
}
}

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

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

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

export interface ESearchSearchEntryActionArgs extends KalturaRequestArgs {
searchParams : KalturaESearchParams;
pager? : KalturaPager;
}


export class ESearchSearchEntryAction extends KalturaRequest<KalturaESearchResponse> {

searchParams : KalturaESearchParams;
pager : KalturaPager;

constructor(data : ESearchSearchEntryActionArgs)
{
super(data, {responseType : 'o', responseSubType : 'KalturaESearchResponse', responseConstructor : KalturaESearchResponse });
}

protected _getMetadata() : KalturaObjectMetadata
{
const result = super._getMetadata();
Object.assign(
result.properties,
{
service : { type : 'c', default : 'elasticsearch_esearch' },
action : { type : 'c', default : 'searchEntry' },
searchParams : { type : 'o', subTypeConstructor : KalturaESearchParams, subType : 'KalturaESearchParams' },
pager : { type : 'o', subTypeConstructor : KalturaPager, subType : 'KalturaPager' }
}
);
return result;
}
}

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

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

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

export interface ESearchSearchUserActionArgs extends KalturaRequestArgs {
searchParams : KalturaESearchParams;
pager? : KalturaPager;
}


export class ESearchSearchUserAction extends KalturaRequest<KalturaESearchResponse> {

searchParams : KalturaESearchParams;
pager : KalturaPager;

constructor(data : ESearchSearchUserActionArgs)
{
super(data, {responseType : 'o', responseSubType : 'KalturaESearchResponse', responseConstructor : KalturaESearchResponse });
}

protected _getMetadata() : KalturaObjectMetadata
{
const result = super._getMetadata();
Object.assign(
result.properties,
{
service : { type : 'c', default : 'elasticsearch_esearch' },
action : { type : 'c', default : 'searchUser' },
searchParams : { type : 'o', subTypeConstructor : KalturaESearchParams, subType : 'KalturaESearchParams' },
pager : { type : 'o', subTypeConstructor : KalturaPager, subType : 'KalturaPager' }
}
);
return result;
}
}

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


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

export class KalturaAssetParamsOrderBy extends KalturaObjectBase {
private _value : string;
constructor( value?:string | number){
super();
this._value = value + '';
}

equals(obj : this) : boolean
{
return obj && obj.toString() === this._value;
}

toString(){
return this._value;
}


}
KalturaTypesFactory.registerType('KalturaAssetParamsOrderBy',KalturaAssetParamsOrderBy);
24 changes: 24 additions & 0 deletions src/types/KalturaAssetParamsOutputOrderBy.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@


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

export class KalturaAssetParamsOutputOrderBy extends KalturaObjectBase {
private _value : string;
constructor( value?:string | number){
super();
this._value = value + '';
}

equals(obj : this) : boolean
{
return obj && obj.toString() === this._value;
}

toString(){
return this._value;
}


}
KalturaTypesFactory.registerType('KalturaAssetParamsOutputOrderBy',KalturaAssetParamsOutputOrderBy);
Loading

0 comments on commit de7a5a1

Please sign in to comment.