CMS-1741 Add type definitions for relationshipType_get in RemoteService.ts
Fixed compile errors
Not sure if the current code is correct though. Viktar/Alex must verify.