Options
All
  • Public
  • Public/Protected
  • All
Menu

EventsApi - object-oriented interface

Hierarchy

Index

Constructors

constructor

Properties

basePath

basePath: string

fetch

fetch: FetchAPI

Methods

acknowledgeEvent

  • acknowledgeEvent(params: object, options?: any): Promise<any>
  • Acknowledge an event

    Parameters

    • params: object
      • eventID: string
      • Optional single?: boolean
    • Optional options: any

    Returns Promise<any>

acknowledgeEventDelete

  • acknowledgeEventDelete(params: object, options?: any): Promise<any>
  • Acknowledge an event

    Parameters

    • params: object
      • eventID: string
    • Optional options: any

    Returns Promise<any>

createEvent

  • createEvent(params: object, options?: any): Promise<any>
  • Create a new event

    Parameters

    • params: object
    • Optional options: any

    Returns Promise<any>

eventOptions

  • eventOptions(params: object, options?: any): Promise<string[]>
  • What can this endpoint do?

    Parameters

    • params: object
      • eventID: string
    • Optional options: any

    Returns Promise<string[]>

eventsOptions

  • eventsOptions(options?: any): Promise<any>
  • What can this endpoint do?

    Parameters

    • Optional options: any

    Returns Promise<any>

getEvents

  • Retrieve a collection of events

    Parameters

    • params: object
      • Optional count?: number
    • Optional options: any

    Returns Promise<InlineResponse200>