feat: MFA/2FA, OTP audit logs, KYC + client/user enhancements

- Access Control module: SMS/Email/TOTP/Hardware-token MFA factor management
- OTP Audit Logs module under Admin menu (list + detail) with 401/403 handling
- Two-factor authentication login flow updates
- Client KYC, India address, family-members, ckyc, nominee enhancements
- New shared KYC helpers (kyc-proof-types, kyc-upload-helper.service)
- User create/edit/view enhancements
- Shell navigation: OTP Audit Logs entry under real Admin menu
This commit is contained in:
Aditya
2026-05-10 13:24:48 +05:30
parent 2d4fb4237e
commit 3b752dc6ae
56 changed files with 7741 additions and 599 deletions
+13 -4
View File
@@ -576,11 +576,20 @@ export class ClientsService {
return this.http.get(`/clients/${clientId}/collaterals/template`);
}
searchByText(text: string, page: number, pageSize: number, sortAttribute: string = '', sortDirection: string = '') {
searchByText(
text: string,
page: number,
pageSize: number,
sortAttribute: string = '',
sortDirection: string = '',
activeOnly: boolean = false
) {
const innerRequest: any = { text };
if (activeOnly) {
innerRequest.activeOnly = true;
}
let request: any = {
request: {
text
},
request: innerRequest,
page,
size: pageSize
};