# New Liveness SDK and Ares2 Release and Joint Indivudual (Ares3)
## New Liveness SDK release and adding that new liveness SDK into Ares2
> AWSLiveness1.0
> branch `feature/upgrade-version-9.4.4`
> KYCOnboarding1.0
> branch `feature/PCSA-4798-upgrade-liveness-sdk`
### The SDK
```sh
```
#### [Bugs] Fix theming customization
> React SDK `sdk/web/react/src/lib/LiveTestComponent.tsx`
> Angular SDK `sdk/web/angular/projects/ngx-liveness/src/lib/live-test/live-test.component.ts`
- Color
- primaryColor
- backgroundColor
- borderColor
=> Background still up after done the test
- Offset
- topOffset
#### [New Feature] forceRetry
> Previous SDK does not have auto retry option after the test fail
> End user has to manually hit start the liveness test again
## Joint Individual
> feature/PCSA-1299-joint-individual-flow-frontend
- Account 1-* Profile ()
- Profile can be main profile or Joint Profile
- For each Joint Profile need invitation status
- Manage Docusign Forms for Profile Group based on `Relationships`
### FE
- Add page to select Profiles
- Update pages for Joint Individual Flow
- For the individual flow
- Add a Relationship page
- Update `Summary` page to keep track of all Joint Holder status
- Update `Required Forms` page to keep track of shared Docusign forms
### BE
#### Manage Joint Profile
- Update DB to add a new column `main_profile_id`
- `main_profile_id` is Null -> this is the Main Profile
- `main_profile_id` is ID -> this Profile is the Joint for that ID Profile
| ID | User | main_profile_id | Type | Relationships | Invitation Status |
| -------- | -------- | -------- | -------- | -------- | -------- |
| 1 | uuid_main | null | Main Holder | null | null |
| 2 | uuid_friend | 1 | Joint Holder | Friend | PENDING |
| 3 | uuid_spouse | 1 | Joint Holder | Spouse | In Progress |
| 4 | uuid_child | 1 | Joint Holder | Child | Rejected |
| 5 | uuid_another_main | null | Main Holder | null | null |
| 6 | uuid_main | 5 | Joint Holder | Friend | PENDING |
#### Docusign
> Current constraint: each relationship need to be unique and can only have 1 joint profile for each relationship
signer -> main holder
friend -> joint holder with fiend relationship
> Change request (WX), Main Holder able to add as much as Joint Holder as they want
> Friend and Child relationship
> Main Holder can add many friends and many childs