From 1a978c0ab7cf2569ea5b898894e49a552317617e Mon Sep 17 00:00:00 2001 From: Developer 02 Date: Thu, 8 May 2025 14:26:36 +0200 Subject: [PATCH] Update Constants.vb with new statuses and cleanup Removed comment for SignatureConfirmed. Added a new shared read-only list, NonHistStatuses, containing EnvelopeStatus values: Invalid, EnvelopeSaved, EnvelopeSent, and EnvelopePartlySigned. Added TODO for standardization in xwiki. ReferenceType enum remains unchanged. --- EnvelopeGenerator.Common/Constants.vb | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/EnvelopeGenerator.Common/Constants.vb b/EnvelopeGenerator.Common/Constants.vb index 9631744e..c2a00304 100644 --- a/EnvelopeGenerator.Common/Constants.vb +++ b/EnvelopeGenerator.Common/Constants.vb @@ -21,7 +21,6 @@ DocumentOpened = 2004 DocumentSigned = 2005 DocumentForwarded = 4001 - 'SignatureConfirmed = 2006 DocumentRejected = 2007 EnvelopeShared = 2008 EnvelopeViewed = 2009 @@ -30,9 +29,15 @@ MessageConfirmationSent = 3003 MessageDeletionSent = 3004 MessageCompletionSent = 3005 - 'DocumentMod_Rotation = 4001 End Enum + Public Shared ReadOnly NonHistStatuses As IReadOnlyList(Of EnvelopeStatus) = New List(Of EnvelopeStatus) From { + EnvelopeStatus.Invalid, + EnvelopeStatus.EnvelopeSaved, + EnvelopeStatus.EnvelopeSent, + EnvelopeStatus.EnvelopePartlySigned + } + 'TODO: standardize in xwiki Public Enum ReferenceType Receiver = 0