119 lines
2.8 KiB
C#
119 lines
2.8 KiB
C#
namespace EnvelopeGenerator.Domain
|
|
{
|
|
public class Constants
|
|
{
|
|
#region Status Fields
|
|
public enum EnvelopeStatus
|
|
{
|
|
Invalid = 0,
|
|
EnvelopeCreated = 1001,
|
|
EnvelopeSaved = 1002,
|
|
EnvelopeQueued = 1003,
|
|
EnvelopeSent = 1004, // Not used
|
|
EnvelopePartlySigned = 1005,
|
|
EnvelopeCompletelySigned = 1006,
|
|
EnvelopeReportCreated = 1007,
|
|
EnvelopeArchived = 1008,
|
|
EnvelopeDeleted = 1009,
|
|
AccessCodeRequested = 2001,
|
|
AccessCodeCorrect = 2002,
|
|
AccessCodeIncorrect = 2003,
|
|
DocumentOpened = 2004,
|
|
DocumentSigned = 2005,
|
|
SignatureConfirmed = 2006,
|
|
MessageInvitationSent = 3001, // Used by Trigger
|
|
MessageAccessCodeSent = 3002,
|
|
MessageConfirmationSent = 3003,
|
|
MessageDeletionSent = 3004,
|
|
MessageCompletionSent = 3005
|
|
}
|
|
|
|
public enum ElementStatus
|
|
{
|
|
Created = 0
|
|
}
|
|
|
|
public enum DocumentStatus
|
|
{
|
|
Created = 0,
|
|
Signed = 1
|
|
}
|
|
|
|
public enum ReceiverStatus
|
|
{
|
|
Unsigned = 0,
|
|
Signed = 1
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region Type Fields
|
|
|
|
public enum ElementType
|
|
{
|
|
Signature = 1
|
|
}
|
|
|
|
public enum ContractType
|
|
{
|
|
Contract = 1,
|
|
ReadAndSign = 2
|
|
}
|
|
|
|
public enum ColorType
|
|
{
|
|
ReceiverColor1 = 1,
|
|
ReceiverColor2 = 2,
|
|
ReceiverColor3 = 3,
|
|
ReceiverColor4 = 4,
|
|
ReceiverColor5 = 5,
|
|
ReceiverColor6 = 6,
|
|
ReceiverColor7 = 7,
|
|
ReceiverColor8 = 8,
|
|
ReceiverColor9 = 9,
|
|
ReceiverColor10 = 10
|
|
}
|
|
|
|
public enum CertificationType
|
|
{
|
|
ElectronicSignature = 1,
|
|
QualifiedSignature = 2
|
|
}
|
|
|
|
public enum FinalEmailType
|
|
{
|
|
No = 0,
|
|
Yes = 1,
|
|
YesWithAttachment = 2
|
|
}
|
|
|
|
public enum PageOrientation
|
|
{
|
|
Portrait = 0,
|
|
Landscape = 1
|
|
}
|
|
|
|
public enum EmailTemplateType
|
|
{
|
|
DocumentReceived,
|
|
DocumentSigned,
|
|
DocumentDeleted,
|
|
DocumentCompleted,
|
|
DocumentAccessCodeReceived
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region Constants
|
|
|
|
public const string DATABASE = "DATABASE";
|
|
public const string LOGCONFIG = "LOGCONFIG";
|
|
public const string GDPICTURE = "GDPICTURE";
|
|
|
|
public const string GREEN_300 = "#bbf7d0";
|
|
public const string RED_300 = "#fecaca";
|
|
public const string ORANGE_300 = "#fed7aa";
|
|
|
|
#endregion
|
|
}
|
|
} |