Skip to main content

NotificationApiClientInterface

Methods

createCustomNotification()

createCustomNotification(data, config?): Promise<any>

Parameters

ParameterType
dataCustomNotificationParams
config?AxiosRequestConfig<any>

Returns

Promise<any>

Source

services/notification/index.ts:11


disposeBroadcastMessages()

disposeBroadcastMessages(banner_ids, config?): Promise<any>

Parameters

ParameterType
banner_idsnumber[]
config?AxiosRequestConfig<any>

Returns

Promise<any>

Source

services/notification/index.ts:16


getUnseenNotification()

getUnseenNotification(config?): Promise<SCNotificationUnseenCountType>

Parameters

ParameterType
config?AxiosRequestConfig<any>

Returns

Promise<SCNotificationUnseenCountType>

Source

services/notification/index.ts:10


listBroadcastMessages()

listBroadcastMessages(config?): Promise <SCPaginatedResponse<SCBroadcastMessageType>>

Parameters

ParameterType
config?AxiosRequestConfig<any>

Returns

Promise <SCPaginatedResponse<SCBroadcastMessageType>>

Source

services/notification/index.ts:12


listBroadcastMessagesUndisposedCount()

listBroadcastMessagesUndisposedCount(config?): Promise<SCNotificationUnseenCountType>

Parameters

ParameterType
config?AxiosRequestConfig<any>

Returns

Promise<SCNotificationUnseenCountType>

Source

services/notification/index.ts:14


listBroadcastMessagesUnseenCount()

listBroadcastMessagesUnseenCount(config?): Promise<SCNotificationUnseenCountType>

Parameters

ParameterType
config?AxiosRequestConfig<any>

Returns

Promise<SCNotificationUnseenCountType>

Source

services/notification/index.ts:13


listUserNotification()

listUserNotification(config?): Promise <SCPaginatedResponse<SCNotificationAggregatedType>>

Parameters

ParameterType
config?AxiosRequestConfig<any>

Returns

Promise <SCPaginatedResponse<SCNotificationAggregatedType>>

Source

services/notification/index.ts:8


markReadBroadcastMessages()

markReadBroadcastMessages(banner_ids, config?): Promise<any>

Parameters

ParameterType
banner_idsnumber[]
config?AxiosRequestConfig<any>

Returns

Promise<any>

Source

services/notification/index.ts:15


markReadNotification()

markReadNotification(sids, config?): Promise<any>

Parameters

ParameterType
sidsstring[]
config?AxiosRequestConfig<any>

Returns

Promise<any>

Source

services/notification/index.ts:9