@ale-rainbow/rainbow-notification
Version:
Alcatel-Lucent Enterprise Rainbow Notification
59 lines • 1.75 kB
TypeScript
export declare class RainbowNotificationAction {
name: string;
label: string;
color: string;
icon: string;
options: any[];
optionsDefaultLabel: string;
optionsHeaderLabel: string;
optionHandler: any;
choice: any[];
choiceTitleLabel: string;
choiceCloseLabel: string;
choiceHandler: any;
handler: any;
focus: boolean;
private choiceVisible;
private optionVisible;
static create(config: any): RainbowNotificationAction;
toogleChoice(notif: RainbowNotification): any;
toogleOption(notif: RainbowNotification): any;
choiceAction(choiceId: string): () => void;
optionAction(optionId: string): () => void;
}
export declare class RainbowNotification {
id: string;
convId: string;
type: string;
message: string;
mdMessage: string;
origin: string;
avatarURL: string;
avatarURLs: string[];
webinarAvatarURL: string;
infoTitle: string;
infoMessage: string;
callSubject: string;
called: string;
calledMessage: string;
urgency: string;
urgencyLabel: string;
delay: number;
delayTimeout: any;
autoCloseAction: any;
infoHandler: any;
actions: RainbowNotificationAction[];
iconPath: string;
urgencyIcon: string;
urgencyClass: string;
isDarkTheme: boolean;
close: boolean;
static create(config: any): RainbowNotification;
getHTMLContent(): string;
attachActionHandlers(attach?: boolean): void;
getRoomAvatar(): string;
getWebinarAvatar(): string;
getActionByName(actionName: string): RainbowNotificationAction | undefined;
private computeWebinarColor;
}
//# sourceMappingURL=index.d.ts.map