( sourceId: string, )
| 446 | }; |
| 447 | |
| 448 | export const openCompanySupportChat = async ( |
| 449 | sourceId: string, |
| 450 | ): Promise<CompanySupportChat> => { |
| 451 | const res = await gqlClient.request<{ |
| 452 | openCompanySupportChat: CompanySupportChat; |
| 453 | }>(OPEN_COMPANY_SUPPORT_CHAT_MUTATION, { sourceId }); |
| 454 | |
| 455 | return res.openCompanySupportChat; |
| 456 | }; |
| 457 | |
| 458 | // The group counterpart of markDirectMessageSent: bumps every other member's |
| 459 | // unread count and pushes them. |
no outgoing calls
no test coverage detected