@experteam-mx/ngx-services
Version:
Angular common services for Experteam apps
37 lines (36 loc) • 901 B
TypeScript
import { SymfonyModel } from './api.models';
export interface Notification extends SymfonyModel {
name: string;
notificationType: NotificationType;
notificationStatus: NotificationStatus;
userId: string;
content: string;
url: string;
image: string;
starDate: string;
endDate: string;
countryId: string;
}
export interface NotificationConfiguration extends SymfonyModel {
notification: Notification;
entity: Entity;
}
export interface NotificationType extends SymfonyModel {
name: string;
}
export interface NotificationStatus extends SymfonyModel {
name: string;
}
export interface Entity {
id: number;
level: string;
modelId: string;
modelType: string;
extraFields: {
countryId: number;
companyCountryId: number;
locationId: number;
installationId: number;
systemId: number;
};
}