Update Repository entity

Add the new added checksum_type field

Closes #1571
If it is None then it will not be sent, and the parameter is optional which means if none of those options is wanted then just omit it.