Options
All
  • Public
  • Public/Protected
  • All
Menu

Event Hub JavaScript SDK

TypeScript/JavaScript client that utilizes Fetch API. The Node module can be used as:

Environment

  • Node.js
  • Webpack
  • Browserify

Language level

  • ES5 - you must have a Promises/A+ library installed
  • ES6

Module system

  • CommonJS
  • ES6 module system

Usage

npm i -S byu-event-hub-sdk

ES6 imports:

import * as eventHub from 'byu-event-hub-sdk';
import {operationId} from 'byu-event-hub-sdk';

The CommonJS syntax:

import eventHub = require('byu-event-hub-sdk');

Index

Classes

Interfaces

Variables

Functions

Object literals

Variables

BASE_PATH

BASE_PATH: string = "https://api.byu.edu/domains/eventhub".replace(/\/+$/, "")

expect

expect: ExpectStatic = chai.expect

Functions

ArchivesApiFactory

  • ArchivesApiFactory(fetch?: FetchAPI, basePath?: string): object
  • ArchivesApi - factory interface

    Parameters

    • Optional fetch: FetchAPI
    • Optional basePath: string

    Returns object

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

        Parameters

        • Optional options: any

        Returns Promise<any>

    • getArchives: function
      • getArchives(params: object, options?: any): Promise<any>
      • Retrieve Events from the Event Archive. Most events are available for 45 days.

        Parameters

        • params: object
          • Optional domain?: string
          • Optional entity?: string
          • eventDt: string
          • Optional eventType?: string
          • Optional pageSize?: number
          • Optional pageStart?: number
        • Optional options: any

        Returns Promise<any>

DomainsApiFactory

  • DomainsApiFactory(fetch?: FetchAPI, basePath?: string): object
  • DomainsApi - factory interface

    Parameters

    • Optional fetch: FetchAPI
    • Optional basePath: string

    Returns object

    • createDomain: function
      • Defines a new Domain. We are using Internet accepted domains. Event Types are grouped in Domains and then Entities. This makes the new Domain visible on the Administrative Portal. The Administrative Portal is used by developers to manage their subscriptions.

        Parameters

        • params: object
        • Optional options: any

        Returns Promise<InlineResponse2011>

    • deleteDomain: function
      • deleteDomain(params: object, options?: any): Promise<any>
      • Delete a Domain

        Parameters

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

        Returns Promise<any>

    • domainOptions: function
      • domainOptions(params: object, options?: any): Promise<any>
      • What can this endpoint do?

        Parameters

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

        Returns Promise<any>

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

        Parameters

        • Optional options: any

        Returns Promise<any>

    • getDomains: function
      • getDomains(options?: any): Promise<any>
      • Lists the set of Domains visible on the Administrative Portal.

        Parameters

        • Optional options: any

        Returns Promise<any>

EntitiesApiFactory

  • EntitiesApiFactory(fetch?: FetchAPI, basePath?: string): object
  • EntitiesApi - factory interface

    Parameters

    • Optional fetch: FetchAPI
    • Optional basePath: string

    Returns object

    • createEntity: function
    • deleteEntity: function
      • deleteEntity(params: object, options?: any): Promise<any>
      • Delete a entity

        Parameters

        • params: object
          • domain: string
          • entity: string
        • Optional options: any

        Returns Promise<any>

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

        Parameters

        • Optional options: any

        Returns Promise<any>

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

        Parameters

        • params: object
          • domain: string
          • entity: string
        • Optional options: any

        Returns Promise<string[]>

    • getEntities: function
      • getEntities(params: object, options?: any): Promise<any>
      • Lists the set of entities visible on the Administrative Portal.

        Parameters

        • params: object
          • Optional entity?: string
        • Optional options: any

        Returns Promise<any>

EventsApiFactory

  • EventsApiFactory(fetch?: FetchAPI, basePath?: string): object
  • EventsApi - factory interface

    Parameters

    • Optional fetch: FetchAPI
    • Optional basePath: string

    Returns object

    • acknowledgeEvent: function
      • 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: function
      • acknowledgeEventDelete(params: object, options?: any): Promise<any>
      • Acknowledge an event

        Parameters

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

        Returns Promise<any>

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

        Parameters

        • params: object
        • Optional options: any

        Returns Promise<any>

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

        Parameters

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

        Returns Promise<string[]>

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

        Parameters

        • Optional options: any

        Returns Promise<any>

    • getEvents: function
      • Retrieve a collection of events

        Parameters

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

        Returns Promise<InlineResponse200>

EventtypesApiFactory

  • EventtypesApiFactory(fetch?: FetchAPI, basePath?: string): object
  • EventtypesApi - factory interface

    Parameters

    • Optional fetch: FetchAPI
    • Optional basePath: string

    Returns object

    • createEventType: function
    • deleteEventType: function
      • deleteEventType(params: object, options?: any): Promise<any>
      • Delete an event type

        Parameters

        • params: object
          • domain: string
          • entity: string
          • eventType: string
        • Optional options: any

        Returns Promise<any>

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

        Parameters

        • params: object
          • domain: string
          • entity: string
          • eventType: string
        • Optional options: any

        Returns Promise<string[]>

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

        Parameters

        • Optional options: any

        Returns Promise<any>

    • getEventTypes: function
      • getEventTypes(params: object, options?: any): Promise<any>
      • Lists the set of event-types visible on the Administrative Portal.

        Parameters

        • params: object
          • Optional domain?: string
          • Optional entity?: string
          • Optional eventType?: string
        • Optional options: any

        Returns Promise<any>

    • modifyEventType: function
      • modifyEventType(params: object, options?: any): Promise<any>
      • Modify an event type

        Parameters

        • params: object
          • body: Body1
          • domain: string
          • entity: string
          • eventType: string
        • Optional options: any

        Returns Promise<any>

SubscriptionsApiFactory

  • SubscriptionsApiFactory(fetch?: FetchAPI, basePath?: string): object
  • SubscriptionsApi - factory interface

    Parameters

    • Optional fetch: FetchAPI
    • Optional basePath: string

    Returns object

    • createSubscription: function
    • deleteSubscription: function
      • deleteSubscription(params: object, options?: any): Promise<any>
      • Delete a subscription

        Parameters

        • params: object
          • domain: string
          • entity: string
          • eventType: string
        • Optional options: any

        Returns Promise<any>

    • getSubscriptions: function
      • getSubscriptions(params: object, options?: any): Promise<any>
      • Lists the set of subscriptions visible on the Administrative Portal.

        Parameters

        • params: object
          • Optional domain?: string
          • ecaIdentityId: string
          • Optional entity?: string
          • Optional eventType?: string
        • Optional options: any

        Returns Promise<any>

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

        Parameters

        • params: object
          • domain: string
          • entity: string
          • eventType: string
        • Optional options: any

        Returns Promise<string[]>

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

        Parameters

        • Optional options: any

        Returns Promise<any>

SummariesApiFactory

  • SummariesApiFactory(fetch?: FetchAPI, basePath?: string): object
  • SummariesApi - factory interface

    Parameters

    • Optional fetch: FetchAPI
    • Optional basePath: string

    Returns object

    • getSummaries: function
      • getSummaries(params: object, options?: any): Promise<any>
      • Lists the set of summaries visible on the Administrative Portal.

        Parameters

        • params: object
          • Optional domain?: string
          • Optional entity?: string
          • Optional eventDate?: string
          • Optional eventType?: string
          • Optional pageSize?: number
          • Optional pageStart?: number
        • Optional options: any

        Returns Promise<any>

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

        Parameters

        • Optional options: any

        Returns Promise<any>

WebhooksApiFactory

  • WebhooksApiFactory(fetch?: FetchAPI, basePath?: string): object
  • WebhooksApi - factory interface

    Parameters

    • Optional fetch: FetchAPI
    • Optional basePath: string

    Returns object

    • deleteWebhook: function
      • deleteWebhook(options?: any): Promise<any>
      • Delete a webhook

        Parameters

        • Optional options: any

        Returns Promise<any>

    • getWebhooks: function
      • getWebhooks(params: object, options?: any): Promise<any>
      • Retrieve a collection of webhooks

        Parameters

        • params: object
          • Optional endpoint?: string
          • identityId: string
          • Optional identityName?: string
          • Optional pushOption?: string
        • Optional options: any

        Returns Promise<any>

    • modifyWebhook: function
      • modifyWebhook(params: object, options?: any): Promise<any>
      • Modify a webhook

        Parameters

        • params: object
        • Optional options: any

        Returns Promise<any>

    • registerWebhook: function
      • registerWebhook(params: object, options?: any): Promise<any>
      • Register webhook Register webhook

        Parameters

        • params: object
        • Optional options: any

        Returns Promise<any>

    • webhooksOptions: function
      • webhooksOptions(options?: any): Promise<string[]>
      • What can this endpoint do?

        Parameters

        • Optional options: any

        Returns Promise<string[]>

Object literals

ArchivesApiFetchParamCreator

ArchivesApiFetchParamCreator: object

ArchivesApi - fetch parameter creator

archivesOptions

  • What can this endpoint do?

    Parameters

    • Optional options: any

    Returns FetchArgs

getArchives

  • getArchives(params: object, options?: any): FetchArgs
  • Retrieve Events from the Event Archive. Most events are available for 45 days.

    Parameters

    • params: object
      • Optional domain?: string
      • Optional entity?: string
      • eventDt: string
      • Optional eventType?: string
      • Optional pageSize?: number
      • Optional pageStart?: number
    • Optional options: any

    Returns FetchArgs

ArchivesApiFp

ArchivesApiFp: object

ArchivesApi - functional programming interface

archivesOptions

  • archivesOptions(options?: any): function
  • What can this endpoint do?

    Parameters

    • Optional options: any

    Returns function

      • (fetch?: FetchAPI, basePath?: string): Promise<any>
      • Parameters

        • Optional fetch: FetchAPI
        • Optional basePath: string

        Returns Promise<any>

getArchives

  • getArchives(params: object, options?: any): function
  • Retrieve Events from the Event Archive. Most events are available for 45 days.

    Parameters

    • params: object
      • Optional domain?: string
      • Optional entity?: string
      • eventDt: string
      • Optional eventType?: string
      • Optional pageSize?: number
      • Optional pageStart?: number
    • Optional options: any

    Returns function

      • (fetch?: FetchAPI, basePath?: string): Promise<any>
      • Parameters

        • Optional fetch: FetchAPI
        • Optional basePath: string

        Returns Promise<any>

DomainsApiFetchParamCreator

DomainsApiFetchParamCreator: object

DomainsApi - fetch parameter creator

createDomain

  • createDomain(params: object, options?: any): FetchArgs
  • Defines a new Domain. We are using Internet accepted domains. Event Types are grouped in Domains and then Entities. This makes the new Domain visible on the Administrative Portal. The Administrative Portal is used by developers to manage their subscriptions.

    Parameters

    • params: object
    • Optional options: any

    Returns FetchArgs

deleteDomain

  • deleteDomain(params: object, options?: any): FetchArgs
  • Delete a Domain

    Parameters

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

    Returns FetchArgs

domainOptions

  • domainOptions(params: object, options?: any): FetchArgs
  • What can this endpoint do?

    Parameters

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

    Returns FetchArgs

domainsOptions

  • What can this endpoint do?

    Parameters

    • Optional options: any

    Returns FetchArgs

getDomains

  • Lists the set of Domains visible on the Administrative Portal.

    Parameters

    • Optional options: any

    Returns FetchArgs

DomainsApiFp

DomainsApiFp: object

DomainsApi - functional programming interface

createDomain

  • createDomain(params: object, options?: any): function
  • Defines a new Domain. We are using Internet accepted domains. Event Types are grouped in Domains and then Entities. This makes the new Domain visible on the Administrative Portal. The Administrative Portal is used by developers to manage their subscriptions.

    Parameters

    • params: object
    • Optional options: any

    Returns function

deleteDomain

  • deleteDomain(params: object, options?: any): function
  • Delete a Domain

    Parameters

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

    Returns function

      • (fetch?: FetchAPI, basePath?: string): Promise<any>
      • Parameters

        • Optional fetch: FetchAPI
        • Optional basePath: string

        Returns Promise<any>

domainOptions

  • domainOptions(params: object, options?: any): function
  • What can this endpoint do?

    Parameters

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

    Returns function

      • (fetch?: FetchAPI, basePath?: string): Promise<any>
      • Parameters

        • Optional fetch: FetchAPI
        • Optional basePath: string

        Returns Promise<any>

domainsOptions

  • domainsOptions(options?: any): function
  • What can this endpoint do?

    Parameters

    • Optional options: any

    Returns function

      • (fetch?: FetchAPI, basePath?: string): Promise<any>
      • Parameters

        • Optional fetch: FetchAPI
        • Optional basePath: string

        Returns Promise<any>

getDomains

  • getDomains(options?: any): function
  • Lists the set of Domains visible on the Administrative Portal.

    Parameters

    • Optional options: any

    Returns function

      • (fetch?: FetchAPI, basePath?: string): Promise<any>
      • Parameters

        • Optional fetch: FetchAPI
        • Optional basePath: string

        Returns Promise<any>

EntitiesApiFetchParamCreator

EntitiesApiFetchParamCreator: object

EntitiesApi - fetch parameter creator

createEntity

  • createEntity(params: object, options?: any): FetchArgs
  • Defines a new Entity.

    Parameters

    • params: object
    • Optional options: any

    Returns FetchArgs

deleteEntity

  • deleteEntity(params: object, options?: any): FetchArgs
  • Delete a entity

    Parameters

    • params: object
      • domain: string
      • entity: string
    • Optional options: any

    Returns FetchArgs

entitiesOptions

  • What can this endpoint do?

    Parameters

    • Optional options: any

    Returns FetchArgs

entityOptions

  • entityOptions(params: object, options?: any): FetchArgs
  • What can this endpoint do?

    Parameters

    • params: object
      • domain: string
      • entity: string
    • Optional options: any

    Returns FetchArgs

getEntities

  • getEntities(params: object, options?: any): FetchArgs
  • Lists the set of entities visible on the Administrative Portal.

    Parameters

    • params: object
      • Optional entity?: string
    • Optional options: any

    Returns FetchArgs

EntitiesApiFp

EntitiesApiFp: object

EntitiesApi - functional programming interface

createEntity

  • createEntity(params: object, options?: any): function

deleteEntity

  • deleteEntity(params: object, options?: any): function
  • Delete a entity

    Parameters

    • params: object
      • domain: string
      • entity: string
    • Optional options: any

    Returns function

      • (fetch?: FetchAPI, basePath?: string): Promise<any>
      • Parameters

        • Optional fetch: FetchAPI
        • Optional basePath: string

        Returns Promise<any>

entitiesOptions

  • entitiesOptions(options?: any): function
  • What can this endpoint do?

    Parameters

    • Optional options: any

    Returns function

      • (fetch?: FetchAPI, basePath?: string): Promise<any>
      • Parameters

        • Optional fetch: FetchAPI
        • Optional basePath: string

        Returns Promise<any>

entityOptions

  • entityOptions(params: object, options?: any): function
  • What can this endpoint do?

    Parameters

    • params: object
      • domain: string
      • entity: string
    • Optional options: any

    Returns function

      • (fetch?: FetchAPI, basePath?: string): Promise<Array<string>>
      • Parameters

        • Optional fetch: FetchAPI
        • Optional basePath: string

        Returns Promise<Array<string>>

getEntities

  • getEntities(params: object, options?: any): function
  • Lists the set of entities visible on the Administrative Portal.

    Parameters

    • params: object
      • Optional entity?: string
    • Optional options: any

    Returns function

      • (fetch?: FetchAPI, basePath?: string): Promise<any>
      • Parameters

        • Optional fetch: FetchAPI
        • Optional basePath: string

        Returns Promise<any>

EventsApiFetchParamCreator

EventsApiFetchParamCreator: object

EventsApi - fetch parameter creator

acknowledgeEvent

  • acknowledgeEvent(params: object, options?: any): FetchArgs
  • Acknowledge an event

    Parameters

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

    Returns FetchArgs

acknowledgeEventDelete

  • acknowledgeEventDelete(params: object, options?: any): FetchArgs
  • Acknowledge an event

    Parameters

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

    Returns FetchArgs

createEvent

  • createEvent(params: object, options?: any): FetchArgs

eventOptions

  • eventOptions(params: object, options?: any): FetchArgs
  • What can this endpoint do?

    Parameters

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

    Returns FetchArgs

eventsOptions

  • What can this endpoint do?

    Parameters

    • Optional options: any

    Returns FetchArgs

getEvents

  • getEvents(params: object, options?: any): FetchArgs
  • Retrieve a collection of events

    Parameters

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

    Returns FetchArgs

EventsApiFp

EventsApiFp: object

EventsApi - functional programming interface

acknowledgeEvent

  • acknowledgeEvent(params: object, options?: any): function
  • Acknowledge an event

    Parameters

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

    Returns function

      • (fetch?: FetchAPI, basePath?: string): Promise<any>
      • Parameters

        • Optional fetch: FetchAPI
        • Optional basePath: string

        Returns Promise<any>

acknowledgeEventDelete

  • acknowledgeEventDelete(params: object, options?: any): function
  • Acknowledge an event

    Parameters

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

    Returns function

      • (fetch?: FetchAPI, basePath?: string): Promise<any>
      • Parameters

        • Optional fetch: FetchAPI
        • Optional basePath: string

        Returns Promise<any>

createEvent

  • createEvent(params: object, options?: any): function
  • Create a new event

    Parameters

    • params: object
    • Optional options: any

    Returns function

      • (fetch?: FetchAPI, basePath?: string): Promise<any>
      • Parameters

        • Optional fetch: FetchAPI
        • Optional basePath: string

        Returns Promise<any>

eventOptions

  • eventOptions(params: object, options?: any): function
  • What can this endpoint do?

    Parameters

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

    Returns function

      • (fetch?: FetchAPI, basePath?: string): Promise<Array<string>>
      • Parameters

        • Optional fetch: FetchAPI
        • Optional basePath: string

        Returns Promise<Array<string>>

eventsOptions

  • eventsOptions(options?: any): function
  • What can this endpoint do?

    Parameters

    • Optional options: any

    Returns function

      • (fetch?: FetchAPI, basePath?: string): Promise<any>
      • Parameters

        • Optional fetch: FetchAPI
        • Optional basePath: string

        Returns Promise<any>

getEvents

  • getEvents(params: object, options?: any): function
  • Retrieve a collection of events

    Parameters

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

    Returns function

EventtypesApiFetchParamCreator

EventtypesApiFetchParamCreator: object

EventtypesApi - fetch parameter creator

createEventType

  • createEventType(params: object, options?: any): FetchArgs
  • Defines a new event type.

    Parameters

    • params: object
    • Optional options: any

    Returns FetchArgs

deleteEventType

  • deleteEventType(params: object, options?: any): FetchArgs
  • Delete an event type

    Parameters

    • params: object
      • domain: string
      • entity: string
      • eventType: string
    • Optional options: any

    Returns FetchArgs

eventTypeOptions

  • eventTypeOptions(params: object, options?: any): FetchArgs
  • What can this endpoint do?

    Parameters

    • params: object
      • domain: string
      • entity: string
      • eventType: string
    • Optional options: any

    Returns FetchArgs

eventTypesOptions

  • eventTypesOptions(options?: any): FetchArgs
  • What can this endpoint do?

    Parameters

    • Optional options: any

    Returns FetchArgs

getEventTypes

  • getEventTypes(params: object, options?: any): FetchArgs
  • Lists the set of event-types visible on the Administrative Portal.

    Parameters

    • params: object
      • Optional domain?: string
      • Optional entity?: string
      • Optional eventType?: string
    • Optional options: any

    Returns FetchArgs

modifyEventType

  • modifyEventType(params: object, options?: any): FetchArgs
  • Modify an event type

    Parameters

    • params: object
      • body: Body1
      • domain: string
      • entity: string
      • eventType: string
    • Optional options: any

    Returns FetchArgs

EventtypesApiFp

EventtypesApiFp: object

EventtypesApi - functional programming interface

createEventType

  • createEventType(params: object, options?: any): function

deleteEventType

  • deleteEventType(params: object, options?: any): function
  • Delete an event type

    Parameters

    • params: object
      • domain: string
      • entity: string
      • eventType: string
    • Optional options: any

    Returns function

      • (fetch?: FetchAPI, basePath?: string): Promise<any>
      • Parameters

        • Optional fetch: FetchAPI
        • Optional basePath: string

        Returns Promise<any>

eventTypeOptions

  • eventTypeOptions(params: object, options?: any): function
  • What can this endpoint do?

    Parameters

    • params: object
      • domain: string
      • entity: string
      • eventType: string
    • Optional options: any

    Returns function

      • (fetch?: FetchAPI, basePath?: string): Promise<Array<string>>
      • Parameters

        • Optional fetch: FetchAPI
        • Optional basePath: string

        Returns Promise<Array<string>>

eventTypesOptions

  • eventTypesOptions(options?: any): function
  • What can this endpoint do?

    Parameters

    • Optional options: any

    Returns function

      • (fetch?: FetchAPI, basePath?: string): Promise<any>
      • Parameters

        • Optional fetch: FetchAPI
        • Optional basePath: string

        Returns Promise<any>

getEventTypes

  • getEventTypes(params: object, options?: any): function
  • Lists the set of event-types visible on the Administrative Portal.

    Parameters

    • params: object
      • Optional domain?: string
      • Optional entity?: string
      • Optional eventType?: string
    • Optional options: any

    Returns function

      • (fetch?: FetchAPI, basePath?: string): Promise<any>
      • Parameters

        • Optional fetch: FetchAPI
        • Optional basePath: string

        Returns Promise<any>

modifyEventType

  • modifyEventType(params: object, options?: any): function
  • Modify an event type

    Parameters

    • params: object
      • body: Body1
      • domain: string
      • entity: string
      • eventType: string
    • Optional options: any

    Returns function

      • (fetch?: FetchAPI, basePath?: string): Promise<any>
      • Parameters

        • Optional fetch: FetchAPI
        • Optional basePath: string

        Returns Promise<any>

SubscriptionsApiFetchParamCreator

SubscriptionsApiFetchParamCreator: object

SubscriptionsApi - fetch parameter creator

createSubscription

  • createSubscription(params: object, options?: any): FetchArgs
  • Defines a new subscription.

    Parameters

    • params: object
    • Optional options: any

    Returns FetchArgs

deleteSubscription

  • deleteSubscription(params: object, options?: any): FetchArgs
  • Delete a subscription

    Parameters

    • params: object
      • domain: string
      • entity: string
      • eventType: string
    • Optional options: any

    Returns FetchArgs

getSubscriptions

  • getSubscriptions(params: object, options?: any): FetchArgs
  • Lists the set of subscriptions visible on the Administrative Portal.

    Parameters

    • params: object
      • Optional domain?: string
      • ecaIdentityId: string
      • Optional entity?: string
      • Optional eventType?: string
    • Optional options: any

    Returns FetchArgs

subscriptionOptions

  • subscriptionOptions(params: object, options?: any): FetchArgs
  • What can this endpoint do?

    Parameters

    • params: object
      • domain: string
      • entity: string
      • eventType: string
    • Optional options: any

    Returns FetchArgs

subscriptionsOptions

  • subscriptionsOptions(options?: any): FetchArgs
  • What can this endpoint do?

    Parameters

    • Optional options: any

    Returns FetchArgs

SubscriptionsApiFp

SubscriptionsApiFp: object

SubscriptionsApi - functional programming interface

createSubscription

  • createSubscription(params: object, options?: any): function

deleteSubscription

  • deleteSubscription(params: object, options?: any): function
  • Delete a subscription

    Parameters

    • params: object
      • domain: string
      • entity: string
      • eventType: string
    • Optional options: any

    Returns function

      • (fetch?: FetchAPI, basePath?: string): Promise<any>
      • Parameters

        • Optional fetch: FetchAPI
        • Optional basePath: string

        Returns Promise<any>

getSubscriptions

  • getSubscriptions(params: object, options?: any): function
  • Lists the set of subscriptions visible on the Administrative Portal.

    Parameters

    • params: object
      • Optional domain?: string
      • ecaIdentityId: string
      • Optional entity?: string
      • Optional eventType?: string
    • Optional options: any

    Returns function

      • (fetch?: FetchAPI, basePath?: string): Promise<any>
      • Parameters

        • Optional fetch: FetchAPI
        • Optional basePath: string

        Returns Promise<any>

subscriptionOptions

  • subscriptionOptions(params: object, options?: any): function
  • What can this endpoint do?

    Parameters

    • params: object
      • domain: string
      • entity: string
      • eventType: string
    • Optional options: any

    Returns function

      • (fetch?: FetchAPI, basePath?: string): Promise<Array<string>>
      • Parameters

        • Optional fetch: FetchAPI
        • Optional basePath: string

        Returns Promise<Array<string>>

subscriptionsOptions

  • subscriptionsOptions(options?: any): function
  • What can this endpoint do?

    Parameters

    • Optional options: any

    Returns function

      • (fetch?: FetchAPI, basePath?: string): Promise<any>
      • Parameters

        • Optional fetch: FetchAPI
        • Optional basePath: string

        Returns Promise<any>

SummariesApiFetchParamCreator

SummariesApiFetchParamCreator: object

SummariesApi - fetch parameter creator

getSummaries

  • getSummaries(params: object, options?: any): FetchArgs
  • Lists the set of summaries visible on the Administrative Portal.

    Parameters

    • params: object
      • Optional domain?: string
      • Optional entity?: string
      • Optional eventDate?: string
      • Optional eventType?: string
      • Optional pageSize?: number
      • Optional pageStart?: number
    • Optional options: any

    Returns FetchArgs

summariesOptions

  • What can this endpoint do?

    Parameters

    • Optional options: any

    Returns FetchArgs

SummariesApiFp

SummariesApiFp: object

SummariesApi - functional programming interface

getSummaries

  • getSummaries(params: object, options?: any): function
  • Lists the set of summaries visible on the Administrative Portal.

    Parameters

    • params: object
      • Optional domain?: string
      • Optional entity?: string
      • Optional eventDate?: string
      • Optional eventType?: string
      • Optional pageSize?: number
      • Optional pageStart?: number
    • Optional options: any

    Returns function

      • (fetch?: FetchAPI, basePath?: string): Promise<any>
      • Parameters

        • Optional fetch: FetchAPI
        • Optional basePath: string

        Returns Promise<any>

summariesOptions

  • summariesOptions(options?: any): function
  • What can this endpoint do?

    Parameters

    • Optional options: any

    Returns function

      • (fetch?: FetchAPI, basePath?: string): Promise<any>
      • Parameters

        • Optional fetch: FetchAPI
        • Optional basePath: string

        Returns Promise<any>

WebhooksApiFetchParamCreator

WebhooksApiFetchParamCreator: object

WebhooksApi - fetch parameter creator

deleteWebhook

getWebhooks

  • getWebhooks(params: object, options?: any): FetchArgs
  • Retrieve a collection of webhooks

    Parameters

    • params: object
      • Optional endpoint?: string
      • identityId: string
      • Optional identityName?: string
      • Optional pushOption?: string
    • Optional options: any

    Returns FetchArgs

modifyWebhook

  • modifyWebhook(params: object, options?: any): FetchArgs

registerWebhook

  • registerWebhook(params: object, options?: any): FetchArgs
  • Register webhook Register webhook

    Parameters

    • params: object
    • Optional options: any

    Returns FetchArgs

webhooksOptions

  • What can this endpoint do?

    Parameters

    • Optional options: any

    Returns FetchArgs

WebhooksApiFp

WebhooksApiFp: object

WebhooksApi - functional programming interface

deleteWebhook

  • deleteWebhook(options?: any): function
  • Delete a webhook

    Parameters

    • Optional options: any

    Returns function

      • (fetch?: FetchAPI, basePath?: string): Promise<any>
      • Parameters

        • Optional fetch: FetchAPI
        • Optional basePath: string

        Returns Promise<any>

getWebhooks

  • getWebhooks(params: object, options?: any): function
  • Retrieve a collection of webhooks

    Parameters

    • params: object
      • Optional endpoint?: string
      • identityId: string
      • Optional identityName?: string
      • Optional pushOption?: string
    • Optional options: any

    Returns function

      • (fetch?: FetchAPI, basePath?: string): Promise<any>
      • Parameters

        • Optional fetch: FetchAPI
        • Optional basePath: string

        Returns Promise<any>

modifyWebhook

  • modifyWebhook(params: object, options?: any): function
  • Modify a webhook

    Parameters

    • params: object
    • Optional options: any

    Returns function

      • (fetch?: FetchAPI, basePath?: string): Promise<any>
      • Parameters

        • Optional fetch: FetchAPI
        • Optional basePath: string

        Returns Promise<any>

registerWebhook

  • registerWebhook(params: object, options?: any): function
  • Register webhook Register webhook

    Parameters

    • params: object
    • Optional options: any

    Returns function

      • (fetch?: FetchAPI, basePath?: string): Promise<any>
      • Parameters

        • Optional fetch: FetchAPI
        • Optional basePath: string

        Returns Promise<any>

webhooksOptions

  • webhooksOptions(options?: any): function
  • What can this endpoint do?

    Parameters

    • Optional options: any

    Returns function

      • (fetch?: FetchAPI, basePath?: string): Promise<Array<string>>
      • Parameters

        • Optional fetch: FetchAPI
        • Optional basePath: string

        Returns Promise<Array<string>>