From f4549c0481b30fff0e7589f58318a45aa5e502ac Mon Sep 17 00:00:00 2001 From: Jonathan Jenne Date: Mon, 6 Nov 2023 11:50:28 +0100 Subject: [PATCH] Update Type enums --- EnvelopeGenerator.Common/Constants.vb | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/EnvelopeGenerator.Common/Constants.vb b/EnvelopeGenerator.Common/Constants.vb index f58aeedb..02451f2b 100644 --- a/EnvelopeGenerator.Common/Constants.vb +++ b/EnvelopeGenerator.Common/Constants.vb @@ -1,5 +1,6 @@ Public Class Constants +#Region "Status Fields" Public Enum EnvelopeStatus Created = 0 Saved = 1 @@ -8,10 +9,6 @@ CompleteSigned = 4 End Enum - Public Enum ElementType - Signature = 0 - End Enum - Public Enum ElementStatus Created = 0 End Enum @@ -26,6 +23,9 @@ Signed = 1 End Enum + ''' + ''' This is a status, which is called Type because it fits with the other action fields + ''' Public Enum EnvelopeHistoryActionType Created = 0 Saved = 1 @@ -36,9 +36,17 @@ Signed = 6 Rejected = 7 End Enum +#End Region + +#Region "Type Fields" + Public Enum ElementType + Signature = 1 + End Enum Public Enum ContractType - Contract = 0 - ReadAndSign = 1 + Contract = 1 + ReadAndSign = 2 End Enum +#End Region + End Class