class NotificationPreferences
extends BaseApi
import { NotificationPreferences } from "https://deno.land/x/gesso@v0.1.2/src/mod.ts";
Constructors
new
NotificationPreferences(config: Configuration)Methods
getPreference(): Promise<NotificationPreference>
user_id: string,
communication_channel_id: string,
notification: string,
body?: unknown,
listOfPreferenceCategories(): Promise<Scope>
user_id: string,
communication_channel_id: string,
body?: unknown,
listPreferences(): Promise<NotificationPreference[]>
user_id: string,
communication_channel_id: string,
body?: unknown,
updateMultiplePreferences(): Promise<Scope>
communication_channel_id: string,
params?: UpdateMultiplePreferencesParams,
body?: unknown,
updatePreference(): Promise<Scope>
communication_channel_id: string,
notification: string,
params?: UpdatePreferenceParams,
body?: unknown,
updatePreferencesByCategory(): Promise<Scope>
communication_channel_id: string,
category: string,
params?: UpdatePreferencesByCategoryParams,
body?: unknown,