NotificationsClient
@tribeplatform/gql-client / Modules / clients / NotificationsClient
#
Class: NotificationsClientclients.NotificationsClient
#
Table of contents#
Constructors#
Methods- clearNotificationsCount
- count
- deleteNotification
- deleteNotifications
- list
- memberPostNotificationSettings
- memberSettings
- readNotification
- readNotifications
- unsubscribe
- updateMemberPostNotificationSettings
- updateNetworkSettings
- updateSpaceSettings
#
Constructors#
constructor• new NotificationsClient(client
)
#
ParametersName | Type |
---|---|
client | GraphqlClient |
#
Defined inpackages/client/src/clients/notifications.client.ts:43
#
Methods#
clearNotificationsCount▸ clearNotificationsCount(fields?
, accessToken?
): Promise
<Action
>
#
ParametersName | Type | Default value |
---|---|---|
fields | ActionFields | 'basic' |
accessToken? | string | undefined |
#
ReturnsPromise
<Action
>
#
Defined inpackages/client/src/clients/notifications.client.ts:126
#
count▸ count(accessToken?
): Promise
<number
>
#
ParametersName | Type |
---|---|
accessToken? | string |
#
ReturnsPromise
<number
>
#
Defined inpackages/client/src/clients/notifications.client.ts:47
#
deleteNotification▸ deleteNotification(variables
, fields?
, accessToken?
): Promise
<Action
>
#
ParametersName | Type | Default value |
---|---|---|
variables | MutationDeleteNotificationArgs | undefined |
fields | ActionFields | 'basic' |
accessToken? | string | undefined |
#
ReturnsPromise
<Action
>
#
Defined inpackages/client/src/clients/notifications.client.ts:98
#
deleteNotifications▸ deleteNotifications(variables
, fields?
, accessToken?
): Promise
<Action
>
#
ParametersName | Type | Default value |
---|---|---|
variables | MutationDeleteNotificationsArgs | undefined |
fields | ActionFields | 'basic' |
accessToken? | string | undefined |
#
ReturnsPromise
<Action
>
#
Defined inpackages/client/src/clients/notifications.client.ts:112
#
list▸ list(variables?
, fields?
, accessToken?
): Promise
<PaginatedNotification
>
#
ParametersName | Type | Default value |
---|---|---|
variables | QueryNotificationsArgs | undefined |
fields | NotificationFields | 'basic' |
accessToken? | string | undefined |
#
ReturnsPromise
<PaginatedNotification
>
#
Defined inpackages/client/src/clients/notifications.client.ts:56
#
memberPostNotificationSettings▸ memberPostNotificationSettings(variables
): Promise
<MemberPostNotificationSettings
>
#
ParametersName | Type |
---|---|
variables | QueryMemberPostNotificationSettingsArgs |
#
ReturnsPromise
<MemberPostNotificationSettings
>
#
Defined inpackages/client/src/clients/notifications.client.ts:151
#
memberSettings▸ memberSettings(variables
): Promise
<MemberNotificationSettings
>
#
ParametersName | Type |
---|---|
variables | QueryMemberNotificationSettingsArgs |
#
ReturnsPromise
<MemberNotificationSettings
>
#
Defined inpackages/client/src/clients/notifications.client.ts:138
#
readNotification▸ readNotification(variables
, fields?
, accessToken?
): Promise
<Action
>
#
ParametersName | Type | Default value |
---|---|---|
variables | MutationReadNotificationArgs | undefined |
fields | ActionFields | 'basic' |
accessToken? | string | undefined |
#
ReturnsPromise
<Action
>
#
Defined inpackages/client/src/clients/notifications.client.ts:70
#
readNotifications▸ readNotifications(variables
, fields?
, accessToken?
): Promise
<Action
>
#
ParametersName | Type | Default value |
---|---|---|
variables | MutationReadNotificationsArgs | undefined |
fields | ActionFields | 'basic' |
accessToken? | string | undefined |
#
ReturnsPromise
<Action
>
#
Defined inpackages/client/src/clients/notifications.client.ts:84
#
unsubscribe▸ unsubscribe(variables
, fields?
, accessToken?
): Promise
<Action
>
#
ParametersName | Type | Default value |
---|---|---|
variables | MutationUnsubscribeFromNotificationArgs | undefined |
fields | ActionFields | 'basic' |
accessToken? | string | undefined |
#
ReturnsPromise
<Action
>
#
Defined inpackages/client/src/clients/notifications.client.ts:203
#
updateMemberPostNotificationSettings▸ updateMemberPostNotificationSettings(variables
): Promise
<MemberPostNotificationSettings
>
#
ParametersName | Type |
---|---|
variables | MutationUpdateMemberPostNotificationSettingsArgs |
#
ReturnsPromise
<MemberPostNotificationSettings
>
#
Defined inpackages/client/src/clients/notifications.client.ts:164
#
updateNetworkSettings▸ updateNetworkSettings(variables
): Promise
<MemberNetworkNotificationSettings
>
#
ParametersName | Type |
---|---|
variables | MutationUpdateMemberNetworkNotificationSettingsArgs |
#
ReturnsPromise
<MemberNetworkNotificationSettings
>
#
Defined inpackages/client/src/clients/notifications.client.ts:190
#
updateSpaceSettings▸ updateSpaceSettings(variables
): Promise
<MemberSpaceNotificationSettings
>
#
ParametersName | Type |
---|---|
variables | MutationUpdateMemberSpaceNotificationSettingsArgs |
#
ReturnsPromise
<MemberSpaceNotificationSettings
>