Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DeepVisibilityV2

Hierarchy

Implements

Index

Constructors

constructor

Properties

Private apiCall

apiCall: ApiCall

endPoints

endPoints: any

entityName

entityName: string

queryUtils

queryUtils: BaseDV2Query = new BaseDV2Query()

Methods

Private PullingStatus

  • PullingStatus(responseState: Dv2RespondStateTypes, queryId: string, interval: any, timePeriod: number, callBack: any): Promise<any>

cancelRunningQuery

  • cancelRunningQuery(queryId: string, siteIds: string[]): Promise<SDKRespond>

countByType

  • countByType(queryId: string): Promise<SDKRespond>

createQuery

Private endPulling

  • endPulling(interval: any, resultDueTo: string): Promise<string | any[] | CustomErrorEntity>

Protected errorHandler

get

getAllEvents

getAvailableActions

getDistinctFieldsData

getEventTypes

  • getEventTypes(queryId: string, siteIds: string[]): Promise<SDKRespond>

getEventsByType

getQueryStatus

  • getQueryStatus(queryId: string, siteIds: string[]): Promise<SDKRespond>

getRecentQueries

Private isTimeOut

  • isTimeOut(passedTime: any, startTime: any, maxTime: any, interval: any): boolean

Private keepPulling

  • keepPulling(startTime: any, eventCought: any, MAX_TIME_OUT: any, interval: any): any

makeApiCall

  • makeApiCall(endpointName: string, data: any): Promise<SDKRespond>

Protected prepareApiUrlQueries

pullQueryState

  • pullQueryState(queryId: string, timePeriod: number, callBack: any): Promise<SDKRespond>

Private setPullingInterval

  • setPullingInterval(queryId: string, timePeriod: number, callBack: any, execGetAllEvents?: boolean): Promise<any>

Generated using TypeDoc