/** * Base Data * * @copyright NIIT Technologies Ltd. 2017-18 */ /** * User Information */ export declare class User { userId: string; userName: string; sessionId: string; authorizationId: string; roleIds: Array; loginTime: string; } /** * Error Message */ export declare class ErrorMessage { errorCode: string; errorMessage: string; referenceId: string; /** * Initialize */ constructor(); } /** * Base Request */ export declare class BaseRequest { userInfo: User; /** * Initialize */ constructor(); } /** * Base Response */ export declare class BaseResponse { request: BaseRequest; errorList: Array; /** * Initialize */ constructor(); } /** * Event */ export declare class Event { sourceId: string; targetId: string; eventId: string; data: any; } /** * Name/Value Pair */ export declare class NameValuePair { name: string; value: string; } /** * Global Base Constants */ /** * Notification Type Constants */ export declare const NotificationType: { NOTICE: string; SUCCESS: string; ERROR: string; INFO: string; }; /** * HTTP Method Constants */ export declare const HTTPMethod: { GET: string; POST: string; }; /** * HTTP Content Type Constants */ export declare const HTTPContentType: { JSON: string; DEFAULT: string; }; /** * Internationalization Type */ export declare const I18NGroup: { GLOBAL: string; FUNCTION: string; };