Adding api to get latest partition date for cube

Shall we revert the import changes?