added more guards to validate raw v2 and v3 documents.
This is used when it is required to determine which document uses the respective wrapping function.
added util to get templateURL
As both schemas are different, I added util to return the template URL. This is used during document preview which happened before the wrapping process.
added more guards to validate raw v2 and v3 documents. This is used when it is required to determine which document uses the respective wrapping function.
added util to get templateURL As both schemas are different, I added util to return the template URL. This is used during document preview which happened before the wrapping process.