This commit is contained in:
47
server/AyaNova/biz/NotifyEventType.cs
Normal file
47
server/AyaNova/biz/NotifyEventType.cs
Normal file
@@ -0,0 +1,47 @@
|
||||
namespace AyaNova.Biz
|
||||
{
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// All AyaNova notification event types
|
||||
///
|
||||
/// </summary>
|
||||
public enum NotifyEventType : int
|
||||
{
|
||||
//see core-notifications.txt spec doc for a bit more info on each type (they are named a little bit differently)
|
||||
|
||||
ObjectDeleted = 1,
|
||||
ObjectCreated = 2,
|
||||
ObjectModified = 3,
|
||||
WorkorderStatusChange=4,
|
||||
ContractExpiring=5,
|
||||
CSRAccepted=6,
|
||||
CSRRejected=7,
|
||||
WorkorderClosed=8,
|
||||
QuoteStatusChange=9,
|
||||
WorkorderFollowUp=10,
|
||||
ServiceBankDepleted=11,
|
||||
ReminderImminent=12,
|
||||
ScheduledOnWorkorder=13,
|
||||
ScheduledOnWorkorderImminent=14,
|
||||
WorkorderCloseByPassed=15,
|
||||
OutsideServiceOverdue=16,
|
||||
OutsideServiceReceived=17,
|
||||
PartRequestReceived=18,
|
||||
NotifyHealthCheck=19,//with timespan to set frequency
|
||||
BackupStatus=20,
|
||||
CustomerServiceImminent=21,
|
||||
PartRequested=22,
|
||||
WorkorderTotalExceedsThreshold=23,//"the Andy"
|
||||
WorkorderStatusAge=24,//sitting too long in same status
|
||||
UnitWarrantyExpiry=25,
|
||||
UnitMeterReadingMultipleExceeded=26,
|
||||
DefaultNotification=27//old quick notification, refers now to any direct text notification internal or user to user used for system notifications
|
||||
|
||||
|
||||
//NEW ITEMS REQUIRE translation KEYS
|
||||
|
||||
}
|
||||
|
||||
|
||||
}//eons
|
||||
Reference in New Issue
Block a user