( id: string, )
| 436 | }; |
| 437 | |
| 438 | export const getCompanySupportChat = async ( |
| 439 | id: string, |
| 440 | ): Promise<CompanySupportChat | null> => { |
| 441 | const res = await gqlClient.request<{ |
| 442 | companySupportChat: CompanySupportChat | null; |
| 443 | }>(COMPANY_SUPPORT_CHAT_QUERY, { id }); |
| 444 | |
| 445 | return res.companySupportChat; |
| 446 | }; |
| 447 | |
| 448 | export const openCompanySupportChat = async ( |
| 449 | sourceId: string, |
no outgoing calls
no test coverage detected