Introduced new extension methods for the `IEnvelope` interface:
- Added `Type` method to retrieve and validate `EnvelopeTypeId`, throwing a `DataIntegrityException` for invalid values.
- Added `SetType` method to set the `EnvelopeTypeId` based on a given `EnvelopeType`.
- Added `WithType` method to enable setting `EnvelopeTypeId` with method chaining.
Included conditional compilation for .NET Framework compatibility and added necessary `using` directives for constants and exceptions.