(this: StreamClient, userId: string)
| 38 | } |
| 39 | |
| 40 | export function exportUserActivitiesAndReactionIDs(this: StreamClient, userId: string): Promise<ExportIDsResponse> { |
| 41 | if (!userId) { |
| 42 | throw new Error("User ID can't be null or empty"); |
| 43 | } |
| 44 | |
| 45 | return this.get<ExportIDsResponse>({ |
| 46 | url: `data_privacy/export_ids/${userId}`, |
| 47 | token: this.getOrCreateToken(), |
| 48 | }); |
| 49 | } |
| 50 | |
| 51 | export default { |
| 52 | deleteActivities, |
nothing calls this directly
no test coverage detected