| 190 | }; |
| 191 | |
| 192 | const acknowledgeEvents = async params => { |
| 193 | const { eventIds, recipientId } = params; |
| 194 | const client = await createClient({ recipientId }); |
| 195 | const res = await client.acknowledgeEvents(eventIds); |
| 196 | return res.status === 200 |
| 197 | ? res |
| 198 | : await checkExpiredSession(res, acknowledgeEvents, params); |
| 199 | }; |
| 200 | |
| 201 | const blockRemoteContent = async params => { |
| 202 | const { recipientId, enable } = params; |
nothing calls this directly
no test coverage detected