import { SdkClient } from "../common/sdk-client" ; import { EventAnalyticsModels } from "./eventanalytics-models" ; export class extends SdkClient export class EventAnalyticsClient extends SdkClient { private _baseUrl = "/api/eventanalytics/v3" ; param { EventAnalyticsModels . TopEventsInputDataModel } data returns { Promise < EventAnalyticsModels . TopEventOutput > } example memberOf public async FindTopEvents ( data ) { return ( await this . HttpAction ( { verb : "POST" , gateway : this . GetGateway ( ) , authorization : await this . GetToken ( ) , baseUrl : `${ this . _baseUrl }/findTopEvents` , message : "FindTopEvents" , body : data , } ) ) as EventAnalyticsModels . TopEventOutput ; } param { EventAnalyticsModels . EventSearchInputDataModel } data returns { Promise < EventAnalyticsModels . EventArrayOutput > } example memberOf public async FilterEvents ( data ) { return ( await this . HttpAction ( { verb : "POST" , gateway : this . GetGateway ( ) , authorization : await this . GetToken ( ) , baseUrl : `${ this . _baseUrl }/filterEvents` , message : "FilterEvents" , body : data , } ) ) as EventAnalyticsModels . EventArrayOutput ; } param { EventAnalyticsModels . EventInput } data returns { Promise < EventAnalyticsModels . EventCountOutput > } memberOf public async CountEvents ( data ) { return ( await this . HttpAction ( { verb : "POST" , gateway : this . GetGateway ( ) , authorization : await this . GetToken ( ) , baseUrl : `${ this . _baseUrl }/countEvents` , message : "CountEvents" , body : data , } ) ) as EventAnalyticsModels . EventCountOutput ; } param { EventAnalyticsModels . EventInput } data returns { Promise < EventAnalyticsModels . DuplicateEventArrayOutput > } memberOf public async RemoveDuplicateEvents ( data ) { return ( await this . HttpAction ( { verb : "POST" , gateway : this . GetGateway ( ) , authorization : await this . GetToken ( ) , baseUrl : `${ this . _baseUrl }/removeDuplicateEvents` , message : "RemoveDuplicateEvents" , body : data , } ) ) as EventAnalyticsModels . DuplicateEventArrayOutput ; } param { EventAnalyticsModels . PatternMatchingInputDataModel } data returns { Promise < EventAnalyticsModels . PatternMatchingOutput > } memberOf public async MatchEventPatterns ( data ) { return ( await this . HttpAction ( { verb : "POST" , gateway : this . GetGateway ( ) , authorization : await this . GetToken ( ) , baseUrl : `${ this . _baseUrl }/matchEventPatterns` , message : "MatchEventPatterns" , body : data , } ) ) as EventAnalyticsModels . PatternMatchingOutput ; } }