Merge pull request #64 in TEA/dafa-web-monorepo from bugfix/TV-410 to develop

Squashed commit of the following:

commit 8ce45d3a600ae3577f1e0764a6d65f6f087446d1
Author: fueno <nicolas.fuentes-maturana@arbetsformedlingen.se>
Date:   Wed Aug 25 09:59:34 2021 +0200

    TV-410 review fix

commit 175bbc005bd383880999472b28a7b1c373911e4a
Merge: a65ba47 50a83f7
Author: fueno <nicolas.fuentes-maturana@arbetsformedlingen.se>
Date:   Tue Aug 24 13:50:50 2021 +0200

    Merge branch 'develop' into bugfix/TV-410

commit a65ba47364e5043feecf2634a143573ebb63ad0b
Merge: 6f574c8 59ce393
Author: fueno <nicolas.fuentes-maturana@arbetsformedlingen.se>
Date:   Tue Aug 24 13:46:11 2021 +0200

    Merge branch 'develop' into bugfix/TV-410

commit 6f574c8264f0372147c32a6aa297bba2deb54775
Author: fueno <nicolas.fuentes-maturana@arbetsformedlingen.se>
Date:   Mon Aug 23 16:12:18 2021 +0200

    TV-410 updated api request for invite employee
This commit is contained in:
Nicolas Fuentes Maturana
2021-08-25 10:01:07 +02:00
parent 50a83f784d
commit 7dd5599c29
4 changed files with 13 additions and 13 deletions

View File

@@ -1,3 +0,0 @@
export interface EmployeeInviteMockaData {
id: number
}

View File

@@ -42,6 +42,10 @@ export interface EmployeeRequestData {
adressIds: number[];
}
export interface EmployeeInviteRequestData {
emails: string[];
}
export function mapEmployeeToRequestData(data: Employee): EmployeeRequestData {
const { email, roles, tjanstCodes, allaUtforandeVerksamheter, utforandeVerksamhet, utforandeVerksamhetIds, utforandeAdressIds } = data;