chore(rest): add typeName on HistoricDetial query

related to #CAM-2435