* create TSubscription type
* move logoutOtherLocations to restApis
* mvoe getUserInfo to restApi
* move constants to lib folder
* change Rocketchat methods to sdk methods
* move toggleFavorite to restApis
* move functions to rocketchat folder
* delete old rocketchat file :)
* fix imports
* fix lint and return types
* Fix subscribe to rooms not getting called
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* migrate REST API `teams.listRoomsOfUser` to TypeScript
* update: `rooms` type on `teams.listRoomsOfUser`
* update: if-conditionals on `RoomActionsView`