Files
sockeye/server/biz/NotifyEventType.cs
2023-01-19 02:18:24 +00:00

47 lines
3.2 KiB
C#

namespace Sockeye.Biz
{
/*
Inspiring quotes used to help complete this huge project by myself
“Accept the things to which fate binds you, and love the people with whom fate brings you together,but do so with all your heart.”
― Marcus Aurelius, Meditations
"Make it happen"
In response to me complaining about how hard this project is and how long it's taking.
- Jim Preiss July 28th 2021
*/
/// <summary>
/// All Sockeye 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)
//#### NOTE: once event is NOTED IN COMMENT (not necessarily coded yet as some can't be yet) in NotifyEventProcessor I'll mark it with a * in the comment so I know if I miss any
//#### NOTE: once event is fully coded I'll mark it with CODED at the start of the comment line
ObjectDeleted = 1,//* Deletion of any object of conditional specific SockType and optionally conditional tags
ObjectCreated = 2,//* creation of any object of conditional specific SockType and optionally conditional tags
ObjectModified = 3,//* Modification / update of any kind of any object of conditional specific SockType and optionally conditional tags
ObjectAge = 10,//* Any object, Age (conditional on AgeValue) after creation event of any object of conditional specific SockType and optionally conditional tags
ReminderImminent = 12,//*Reminder object, Advance notice setting tag conditional
NotifyHealthCheck = 19,//* NO OBJECT, direct subscription to receive recurring daily notify system "ping" sent out between 8am and 10am once every 24 hours minimum every day server local time
BackupStatus = 20,//* NO OBJECT, direct subscription to receive results of last backup operation
GeneralNotification = 27,//* NO OBJECT old quick notification, refers now to any direct text notification internal or user to user used for system notifications (default delivers in app but user can opt to also get email)
ServerOperationsProblem = 28,//* NO OBJECT and serious issue with SOCKEY server (NOT CUSTOMER SUBSCRIPTION SERVER) operations requiring intervention,
ReviewImminent = 34,//*Review object, Advance notice setting tag conditional
DirectSMTPMessage= 35, //Used internally when sending a message via email directly to a Customer (initially) and possibly other objects in future. Shows in sent log but not user subscribable
ServerStateStatusChange = 36,//on change of status, this includes new records that had no status before
ServerStateStatusAge=37,//Age used for things like if a server is fail state for too long triggers a even higher level notification etc, or reminder about trial request server awaiting activation
SubscriptionServerExpiring = 38,
SubscriptionServerLastUpdateAge = 39,//here this means the operating system, not RAVEN which should always be updated on all servers when released
SubscriptionServerRequestReceived = 40,
LicenseTrialRequestReceived = 41,
PurchaseNotificationReceived = 42
//NEW ITEMS REQUIRE translation KEYS
}
}//eons