vega-footer-logo
Version:
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 6.1.5.
20 lines (19 loc) • 1.05 kB
TypeScript
import { Http, Response } from '@angular/http';
import { NotificationTO, ResultMessage, CommaonUserTO } from '../model/notificationTO';
import { Observable } from 'rxjs';
export declare const gnGetAllActiveAlertList = "Notify/GetAllActiveAlertList?userId=";
export declare const gnPostAlertAcknowledgement = "Notify/PostAlertAcknowledgement";
export declare const gnPostResetAllAlerts = "Notify/PostResetAllAlerts";
export declare class NotificationServices {
private http;
constructor(http: Http);
userTO: CommaonUserTO;
resultMessage: ResultMessage;
getUserTOFromLocalStorage(): CommaonUserTO;
getAlertForNotify(Url: any): void;
getAllActiveNotification(UserTo: CommaonUserTO, masterBaseUrl: string): Observable<NotificationTO[]>;
postAlertAcknowledgement(notificationTo: NotificationTO, loginId: number, URL: string): Observable<Response>;
postAllAlertAcknowledgement(userTo: CommaonUserTO, URL: string): Observable<Response>;
encryption(data: any): any;
decryption(data: any): any;
}