Commit Graph

75 Commits

Author SHA1 Message Date
Reinaldo Neto a527b320e9
[FIX] Migrate autoTranslate.translateMessage to REST API (#4029)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-05-27 14:33:21 -03:00
Alex Junior 55d66c85db
Chore: Evaluate ProfileView - Typescript (#4091) 2022-05-06 23:11:07 -03:00
Gleidson Daniel Silva 2eba327396
Chore: Evaluate lib/rocketchat structure and files (#3986)
* 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>
2022-04-04 16:15:29 -03:00
Reinaldo Neto 0582cdfa61
Chore: Migrate REST API - e2eFetchMyKeys to Typescript (#3942) 2022-03-21 13:56:38 -03:00
Alex Junior 11a809a065
Chore: Migrate REST API - getThreadsList to Typescript (#3895)
* chore: add rest api return

* chore: removing sort param
2022-03-16 23:24:22 -03:00
Reinaldo Neto e792f2a49b
Chore: Migrate REST API - registerPushToken to Typescript (#3902) 2022-03-16 17:04:16 -03:00
Alex Junior f98f2a46d9
Chore: Migrate REST API - getRoomMembers to Typescript (#3899) 2022-03-15 22:37:49 -03:00
Alex Junior 4cfadbc97b
Chore: Migrate REST API - getSyncThreadsList to Typescript (#3896) 2022-03-15 22:25:48 -03:00
Alex Junior 9650c98b4f
Chore: Migrate REST API - runSlashCommand to Typescript (#3893) 2022-03-15 22:14:50 -03:00
Reinaldo Neto ee336a84a3
Chore: Migrate REST API - getDirectory to Typescript (#3898) 2022-03-15 13:47:40 -03:00
Reinaldo Neto 2cc4b9c1ba
Chore: Migrate REST API - getCommandPreview and executeCommandPreview to Typescript (#3897) 2022-03-15 11:41:23 -03:00
Alex Junior 8a1f81d707
Chore: Migrate REST API - getCommandPreview to Typescript (#3894) 2022-03-14 23:16:53 -03:00
Reinaldo Neto de8a7f1ce0
Chore: Migrate REST API - addUsersToRoom to Typescript (#3884)
* Chore: Migrate REST API - addUsersToRoom to Typescript

* Update app/lib/rocketchat/services/restApi.ts

Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>

* minor tweak

Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-03-14 21:29:48 -03:00
Reinaldo Neto db5c7d94aa
Chore: Migrate REST API - getRoomRoles to Typescript and fix getRoomMembers (#3868)
* Chore: Migrate REST API - getRoomRoles to Typescript and fix getRoomMembers

* change GetRoomRoles local
2022-03-14 21:11:34 -03:00
Reinaldo Neto 6ff2fc37d0
Chore: Migrate REST API - editMessage to Typescript (#3887)
* Chore: Migrate REST API - editMessage to Typescript

* minor tweak
2022-03-14 11:18:53 -03:00
Reinaldo Neto 7bf0de5825
Chore: Migrate REST API - getReadReceipts to Typescript (#3877) 2022-03-14 10:32:22 -03:00
Alex Junior d73da2942b
Chore: Migrate REST API - getFiles to Typescript (#3873) 2022-03-10 12:29:33 -03:00
Alex Junior b5f8f6f305
Chore: Migrate REST API - searchMessages to Typescript (#3874) 2022-03-10 12:17:49 -03:00
Alex Junior 69cf9b638e
Chore: Migrate REST API - getMessages to Typescript (#3875) 2022-03-10 12:00:50 -03:00
Reinaldo Neto 4dc43313ab
Chore: Migrate REST API - getUsernameSuggestion to Typescript (#3872) 2022-03-10 10:44:55 -03:00
Reinaldo Neto c4124af73a
Chore: Migrate REST API - resetAvatar to Typescript (#3870) 2022-03-10 09:37:54 -03:00
Alex Junior 4ea8d613a9
Chore: Migrate REST API - getUserPreferences to Typescript (#3830) 2022-03-09 21:16:20 -03:00
Reinaldo Neto 60ecbe284c
Chore: Migrate REST API - saveUserProfile to Typescript (#3863)
* Chore: Migrate REST API - saveUserProfile to Typescript

* minor tweak
2022-03-09 15:10:36 -03:00
Alex Junior b962925121
chore: add rest api return (#3865) 2022-03-09 14:04:25 -03:00
Alex Junior abd9722133
chore: add rest api return (#3864) 2022-03-09 13:49:52 -03:00
Gerzon Z 15f573a703
Chore: Migrate REST API - getTeamListRoom to TS (#3840)
* add: `teams.listRooms` types

* add: `PaginatedResult<T>` to `teams.ts`
2022-03-08 13:59:17 -04:00
Alex Junior b2bd71e83e
Chore: Server API types - chat.getDiscussions (#3776)
* chore: implementing type for test api - getDiscussions

* Fix DiscussionDetails count usage

* chore: update getDiscussions to use IMessageFromServer

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-03-08 14:09:45 -03:00
Diego Mello 09f73aee3d
Chore: Create IServerRoom and IServerSubscription (#3782) 2022-03-08 13:25:27 -03:00
Reinaldo Neto 679a628f75
Chore: Migrate REST API - getAgentDepartments to Typescript (#3855) 2022-03-08 12:04:41 -03:00
Reinaldo Neto c758fa5c9f
Chore: Migrate REST API - getCustomFields to Typescript (#3856)
* Chore: Migrate REST API - getCustomFields to Typescript

* minor tweak
2022-03-08 11:37:38 -03:00
Reinaldo Neto 9becdf564e
Chore: Migrate REST API - getListCannedResponse to Typescript (#3858) 2022-03-08 11:30:45 -03:00
Gerzon Z d7c46a27d0
Chore: Migrate REST API - getChannelInfo to TS (#3839)
* add: type for REST API `channels.info`

* add: `ts-ignore` to `RoomActionsView`
2022-03-08 09:46:33 -04:00
Reinaldo Neto 45c0e0630c
Chore: Migrate REST API - getRoomCounters to Typescript (#3842)
* Chore: Migrate REST API - getRoomCounters to Typescript

* minor tweak
2022-03-07 13:48:33 -03:00
Reinaldo Neto 4d6f21647e
Chore: Migrate REST API - joinRoom to Typescript (#3835)
* Chore: Migrate REST API - joinRoom to Typescript

* join to discussion
2022-03-07 13:07:40 -03:00
Alex Junior 637d69bb17
chore: add rest api return (#3848) 2022-03-07 12:52:22 -03:00
Alex Junior 518ad5f64e
chore: add rest api return (#3847) 2022-03-07 12:40:38 -03:00
Alex Junior d43da089bf
Chore: Migrate REST API - setUserStatus to Typescript (#3828)
* chore: add rest api return

* chore: add rest api return
2022-03-07 12:00:39 -03:00
Alex Junior c72b524ac0
chore: add rest api return (#3849) 2022-03-07 11:47:06 -03:00
Alex Junior ec7538abfd
chore: add rest api return (#3850) 2022-03-07 11:08:45 -03:00
Gleidson Daniel Silva 1ef9f57f3d
Chore: Migrate REST API - hideRoom to Typescript (#3832) 2022-03-07 09:57:57 -03:00
Gleidson Daniel Silva 82439159a5
Chore: Migrate REST API - removeUserFromRoom to Typescript (#3837) 2022-03-07 09:44:11 -03:00
Gleidson Daniel Silva 256bf0eaee
Chore: Migrate REST API - deleteRoom to Typescript (#3834) 2022-03-07 09:33:58 -03:00
Gleidson Daniel Silva 892e919768
Chore: Migrate REST API - leaveRoom to Typescript (#3833)
* chore: add rest api type

* remove any
2022-03-07 09:20:12 -03:00
Alex Junior a9f074d20a
chore: add rest api return (#3826) 2022-03-05 00:40:41 -03:00
Alex Junior f69ef6e59b
chore: add rest api return (#3829) 2022-03-05 00:28:36 -03:00
Alex Junior 70c15343e8
chore: add rest api return (#3825) 2022-03-05 00:17:24 -03:00
Alex Junior 4989e6cb5c
chore: add rest api return (#3824) 2022-03-05 00:08:26 -03:00
Alex Junior 0444e9b846
Chore: Migrate REST API - updateJitsiTimeout to Typescript (#3822)
* chore: add rest api return

* chore: add rest api return
2022-03-04 23:29:12 -03:00
Gleidson Daniel Silva cbb1d0f3cf
Chore: Migrate REST API - forgotPassword to Typescript (#3818) 2022-03-04 11:18:06 -03:00
Gleidson Daniel Silva 9265dc345d
Chore: Migrate REST API - updateGroupKey to Typescript (#3817) 2022-03-04 11:08:36 -03:00