Commit Graph
47 Commits
Author SHA1 Message Date
Abdalhamid Alhamad 110a6fb0ee refactor: remove address fields from customer entity and related services
- Removed address-related fields from Customer entity, DTOs, and services to streamline KYC process.
- Updated KYC initiation and customer update logic to default to Saudi Arabia for country and use fixed address values.
- Added migration to drop address columns from the database.
2025-12-18 12:35:32 +03:00
Abdalhamid Alhamad 24bcb10d76 feat: enhance KYC process with external customer ID validation
- Added validation to ensure customer has a neoleapExternalCustomerId before card creation.
- Updated KYC status update to include neoleapExternalCustomerId in the customer record.
- Enhanced application info to include ExternalCorporateId for better integration with Neoleap.
2025-12-17 12:51:20 +03:00
Abdalhamid Alhamad cfd02e8c30 refactor: remove obsolete customer fields and update migration
- Removed unused fields: sourceOfIncome, profession, and professionType from Customer entity and DTOs.
- Updated KYC callback mock to reflect the removal of professionType.
- Added migration to drop the corresponding columns from the database.
2025-12-16 16:40:13 +03:00
Abdalhamid Alhamad 3200f60821 feat: Complete KYC implementation with address fields
- Added address fields to registration (verify-user DTO)
- Added address fields to KYC initiation (initiate-kyc DTO)
- Added national_id column to kyc_transactions table
- Changed duplicate KYC check from customerId to nationalId
- Added KYC webhook endpoint (/api/neoleap-webhooks/kyc)
- Added webhook processing logic
- Updated customer service to save address during registration and KYC
- Added validation to require address before card creation
- Removed duplicate src/migrations/ directory
2025-12-16 14:44:07 +03:00
Abdalhamid Alhamad 91dea22f45 refactor: remove unused PoiValidationRule class from KycMetadataResponseDto 2025-11-18 15:14:47 +03:00
Abdalhamid Alhamad c007ac584f feat: add KYC onboarding metadata endpoint with POI validation 2025-11-18 15:03:42 +03:00
Abdalhameed Ahmad 44b5937f7a feat: finalize update junior 2025-09-07 18:13:28 +03:00
Abdalhameed Ahmad 4552a7fc93 fix: fix issue with customer relationship in creating junior 2025-08-24 20:12:57 +03:00
Abdalhameed Ahmad 740135051d feat: create card for children 2025-08-24 20:01:07 +03:00
Abdalhameed Ahmad 6602414779 feat: finialize creating juniors 2025-08-23 21:52:59 +03:00
Abdalhamid Alhamad e06642225a feat: working on creating parent card 2025-08-14 14:40:08 +03:00
abdalhamid99 241f1ce427 Merge branch 'dev' into main 2025-08-11 18:21:43 +03:00
abdalhamid99 cd800ff8b8 Update customer.repository.ts 2025-08-11 18:18:48 +03:00
Abdalhamid Alhamad 150027fb71 Merge branch 'main' into dev 2025-08-11 15:25:16 +03:00
Abdalhamid Alhamad e8ee74d0d7 refactor: remove unsed code 2025-08-11 15:15:41 +03:00
Abdalhamid Alhamad ee7b365527 feat: kyc process 2025-08-07 14:23:33 +03:00
Abdalhamid Alhamad 275984954e feat: working on edit profile ticket 2025-08-05 17:53:38 +03:00
Abdalhamid Alhamad 9e06ea4d71 Merge branch 'dev' into feat/neoleap-integration 2025-07-30 14:09:00 +03:00
Abdalhamid Alhamad cff87c4ecd rollup migrations into one 2025-07-30 13:08:31 +03:00
Abdalhamid Alhamad 1541c374ed feat: fix swagger examples 2025-07-27 13:26:21 +03:00
Abdalhamid Alhamad bf43e62b17 feat: handle card status changed webhook 2025-07-21 15:30:55 +03:00
Abdalhamid Alhamad 5a780eeb17 feat/working on update card control 2025-07-14 11:57:51 +03:00
Abdalhamid Alhamad d3057beb54 feat: add transaction, card , and account entities 2025-07-02 18:42:38 +03:00
Abdalhamid Alhamad 1ea1f42169 feat: finish create and inquire application api and handle response and errors 2025-06-03 14:51:36 +03:00
Abdalhamid Alhamad 42e4d75d70 feat: add country iso enum 2025-05-26 12:10:09 +03:00
Abdalhamid Alhamad a358cd2e7a feat: add neoleap service and mock create application api 2025-05-26 12:04:00 +03:00
Abdalhamid Alhamad 641a665beb Merge branch 'waiting-list' into feat/neoleap-integration 2025-05-21 09:59:18 +03:00
Abdalhamid Alhamad 49326e983f feat: handle new registration flow 2025-05-19 17:00:32 +03:00
Abdalhamid Alhamad 881d88c8d8 feat: add customer details to customer entity 2025-05-19 14:16:18 +03:00
Abdalhamid Alhamad 35ab3df7c1 feat: update create junior payload and add new document type 2025-05-14 14:53:22 +03:00
Abdalhamid Alhamad a3f88c774c feat: handle notification using redis 2025-03-27 12:33:56 +03:00
Abdalhamid Alhamad ec38b82a7b feat: add waiting number and handle resent otp 2025-03-16 11:34:08 +03:00
Abdalhamid Alhamad 9b5f863577 add login flow for waiting list demo app 2025-03-04 14:42:02 +03:00
Abdalhamid Alhamad 54ce5b022d feat: adding enhancment for zod admin portal kyc and add customer additional fields 2025-03-02 10:49:58 +03:00
Abdalhamid Alhamad dae9cb6323 refactor: handle kyc journey for customers 2025-02-20 16:18:06 +03:00
Abdalhamid Alhamad 8ff9f921e8 feat: add localization for request dto validations and add accept lanuage header 2025-01-14 14:59:01 +03:00
Abdalhamid Alhamad 6d2d2b558a feat: add localization to expection messages 2025-01-14 12:39:19 +03:00
Abdalhamid Alhamad 5aa3d3774d refactor: enhance customer creation code 2025-01-13 16:42:27 +03:00
Abdalhamid Alhamad 62621c1a15 feat: add validation for documents 2025-01-13 11:43:28 +03:00
Abdalhamid Alhamad eca84b4e75 fix: general fixes on date types and some typos 2025-01-05 10:38:19 +03:00
Abdalhamid Alhamad 0fd2066c4a feat: add loggers to all services 2024-12-30 10:35:36 +03:00
Abdalhamid Alhamad ca71632755 refactor: sepeare user and auth modules 2024-12-29 14:17:39 +03:00
Abdalhamid Alhamad bb8cc33d53 fix: register fcm token on enabling push notification 2024-12-24 13:00:54 +03:00
Abdalhamid Alhamad 51fa61dbc6 feat: update customer profile picture and notifications settings 2024-12-12 13:15:47 +03:00
Abdalhamid Alhamad 66e1bb0f28 feat: protecting endpoint by roles 2024-12-10 10:11:47 +03:00
Abdalhamid Alhamad 970a41c895 feat: create junior 2024-12-09 13:11:18 +03:00
Abdalhamid Alhamad 2577f2dcac feat: registration jounrey for parents 2024-12-05 11:20:50 +03:00