Updated envelope validation to compare EnvelopeTypeId directly to the integer 2 instead of using the ContractType.ReadAndSign constant. This simplifies the condition and removes dependency on the constant.
BASE MODULE =========== This module is intended for often used constants and datastructures. Therefor it is important that this module does not have any dependencies on other modules!!