NotificationsApi - object-oriented interface export NotificationsApi

Hierarchy (view full)

Constructors

Properties

axios: AxiosInstance = globalAxios
basePath: string = BASE_PATH
configuration: undefined | Configuration

Methods

  • summary Update one or many Notifications (mark as read)

    Parameters

    Returns Promise<AxiosResponse<number, any>>

    memberof NotificationsApi

  • summary Retrieve notifications counts

    Parameters

    • OptionalmarkAsRead: boolean
    • Optionallimit: number

      A limit of the number of objects to be returned for the next page, between 1 and 100. The default is 25

    • Optionalpage: number

      1-based page index for paginated results

    • OptionaluserId: string

      The user id to operate on their behalf (tenants only)

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<NotificationAggregate, any>>

    memberof NotificationsApi

  • Notifications are brief dated messages. A Notification may be marked read or deleted

    summary Retrieve a list of Notifications

    Parameters

    • OptionalmarkAsRead: boolean
    • Optionallimit: number

      A limit of the number of objects to be returned for the next page, between 1 and 100. The default is 25

    • Optionalpage: number

      1-based page index for paginated results

    • OptionaluserId: string

      The user id to operate on their behalf (tenants only)

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<NotificationResponse[], any>>

    memberof NotificationsApi

  • summary Deletes a Notification

    Parameters

    • id: string
    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<number, any>>

    memberof NotificationsApi

  • summary Update a Notification (mark as read)

    Parameters

    • id: string
    • OptionalnotificationsUpdateDeets: NotificationsUpdateDeets
    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<number, any>>

    memberof NotificationsApi

  • Parameters

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<void, any>>

    memberof NotificationsApi