-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: syncing services with server changes on date 02/10/17 04:15:21
- Loading branch information
Showing
135 changed files
with
4,123 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); |
Oops, something went wrong.