Merged in feat/LOY-232-DTMC-API-INTEGRATION (pull request #2454)

feat(LOY-232): DTMC API Integration

* feat(LOY-232): DTMC API Integration

* feat(LOY-232): use employment data in team member card

* refactor(LOY-232): remove static data, return employment details in parsed response & fix tests

* refactor(LOY-232): improve DTMC API Linking error control flow + make res type safe

* fix(LOY-232): remove unused utils

* fix(LOY-232): error vars


Approved-by: Christian Andolf
Approved-by: Erik Tiekstra
This commit is contained in:
Chuma Mcphoy (We Ahead)
2025-07-01 07:03:59 +00:00
parent d272cd03ce
commit 7eb8deb208
8 changed files with 155 additions and 26 deletions

View File

@@ -165,6 +165,7 @@ const authenticatedUser: SafeUser = {
name: "",
phoneNumber: undefined,
profileId: "",
employmentDetails: undefined,
}
const badAuthenticatedUser: SafeUser = {
@@ -196,6 +197,7 @@ const badAuthenticatedUser: SafeUser = {
name: "",
phoneNumber: undefined,
profileId: "",
employmentDetails: undefined,
}
const loggedOutGuest: Guest = {