Skip to main content

Class: EventsApi

Types.EventsApi

Hierarchy

Constructors

constructor

new EventsApi(configuration?)

Parameters

NameTypeDefault value
configurationConfigurationDefaultConfig

Inherited from

BaseAPI.constructor

Methods

postActionsSdk

postActionsSdk(requestParameters, initOverrides?): Promise<void>

Post information that can used to build and publish an event originating from the SlashID SDK Publish an event from the SDK

Parameters

NameType
requestParametersPostActionsSdkRequest
initOverrides?RequestInit | InitOverrideFunction

Returns

Promise<void>


postActionsSdkRaw

postActionsSdkRaw(requestParameters, initOverrides?): Promise<ApiResponse<void>>

Post information that can used to build and publish an event originating from the SlashID SDK Publish an event from the SDK

Parameters

NameType
requestParametersPostActionsSdkRequest
initOverrides?RequestInit | InitOverrideFunction

Returns

Promise<ApiResponse<void>>


postEvents

postEvents(requestParameters, initOverrides?): Promise<void>

Post information that can used to build and publish an event. Deprecated, use /actions. Publish an event

Parameters

NameType
requestParametersPostEventsRequest
initOverrides?RequestInit | InitOverrideFunction

Returns

Promise<void>


postEventsRaw

postEventsRaw(requestParameters, initOverrides?): Promise<ApiResponse<void>>

Post information that can used to build and publish an event. Deprecated, use /actions. Publish an event

Parameters

NameType
requestParametersPostEventsRequest
initOverrides?RequestInit | InitOverrideFunction

Returns

Promise<ApiResponse<void>>


withMiddleware

withMiddleware<T>(this, ...middlewares): T

Type parameters

NameType
Textends BaseAPI<T>

Parameters

NameType
thisT
...middlewaresMiddleware[]

Returns

T

Inherited from

BaseAPI.withMiddleware


withPostMiddleware

withPostMiddleware<T>(this, ...postMiddlewares): T

Type parameters

NameType
Textends BaseAPI<T>

Parameters

NameType
thisT
...postMiddlewares(undefined | (context: ResponseContext) => Promise<void | Response>)[]

Returns

T

Inherited from

BaseAPI.withPostMiddleware


withPreMiddleware

withPreMiddleware<T>(this, ...preMiddlewares): T

Type parameters

NameType
Textends BaseAPI<T>

Parameters

NameType
thisT
...preMiddlewares(undefined | (context: RequestContext) => Promise<void | FetchParams>)[]

Returns

T

Inherited from

BaseAPI.withPreMiddleware