UNPKG

741 BTypeScriptView Raw
1import { BaseRequestOptions, BaseService, PaginatedRequestOptions } from '../infrastructure';
2declare type NotificationSettingLevel = 'disabled' | 'participating' | 'watch' | 'global' | 'mention' | 'custom';
3export declare class NotificationSettings extends BaseService {
4 all({ projectId, groupId, ...options }: ({
5 projectId: string | number;
6 } | {
7 groupId: string | number;
8 }) & PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>;
9 edit({ projectId, groupId, ...options }: {
10 level?: NotificationSettingLevel;
11 } & ({
12 projectId: string | number;
13 } | {
14 groupId: string | number;
15 }) & BaseRequestOptions): Promise<object>;
16}
17export {};