feat(api): add accepting invites to workspace

This commit is contained in:
Karol Sójko
2022-10-11 10:33:23 +02:00
parent 1c22c1ab0c
commit 15e2c82e65
15 changed files with 200 additions and 16 deletions

View File

@@ -9,4 +9,10 @@ export interface WorkspaceClientInterface {
workspaceName?: string
}): Promise<{ uuid: string } | null>
inviteToWorkspace(dto: { inviteeEmail: string; workspaceUuid: Uuid }): Promise<{ uuid: string } | null>
acceptInvite(dto: {
inviteUuid: Uuid
userUuid: Uuid
publicKey: string
encryptedPrivateKey: string
}): Promise<{ success: boolean }>
}