Abdalhamid Alhamad
2562515574
Merge branch 'dev' of github.com:HamzaSha1/zod-backend into feature/notification-system-fcm-registration
2026-01-06 12:53:44 +03:00
Abdalhamid Alhamad
93b509b256
feat: add notification event handling and notification factory service
...
- Introduce constants for notification event names
- Implement interfaces for transaction created events
- Create a transaction notification listener to handle transaction notifications
- Develop a notification factory service for sending notifications based on user preferences
- Add a migration to include a data column in the notifications table
2026-01-06 12:38:19 +03:00
Abdalhamid Alhamad
9c93a35093
feat: implement notification system with FCM token registration
...
- Add FCM token registration during login/signup
- Implement transaction notification listeners
- Add notification data column to database
- Update Firebase service with data payload support
- Add transaction notification scopes
- Update card repository to load relations for notifications
2026-01-06 12:29:01 +03:00
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
5e708c16fe
chore: remove migration from wrong directory
...
Migration already exists in correct location: src/db/migrations/
2025-12-16 14:57:03 +03:00
Abdalhamid Alhamad
fe11f35b32
feat: send the adress data to noleap
2025-12-16 14:51:21 +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
e8127970f6
chore: remove email and dob from guardian signup flow
2025-12-11 12:13:51 +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
Abdalhamid Alhamad
506974afc8
Enhance profile picture handling in JuniorService to ensure foreign key consistency and validate document ownership before assignment.
2025-11-09 12:42:48 +03:00
Abdalhamid Alhamad
8b00cda23d
Update return value in updateJunior method to fetch updated junior details by ID instead of returning the junior object directly.
2025-11-09 12:25:37 +03:00
Abdalhamid Alhamad
2172051093
Refactor balance check in increaseReservedBalance method to delegate validation to the caller, improving clarity and responsibility separation.
2025-11-02 12:41:16 +03:00
Abdalhamid Alhamad
d6fb5f48d9
add more loggs
2025-11-02 12:34:41 +03:00
Abdalhamid Alhamad
99af65a300
money-request to use the parent card
2025-11-02 11:57:41 +03:00
Abdalhamid Alhamad
3b295ea79f
ZOD-344-Add QR code validation error handling and localization support
...
- Introduced new error handling for already used or expired QR codes in JuniorService.
- Added corresponding localization entries in Arabic and English app.json files for QR code validation messages.
2025-11-02 10:52:43 +03:00
Abdalhamid Alhamad
a3a61b4923
Implement OTP generation and email verification logic in UserService
2025-10-28 15:52:24 +03:00
Abdalhamid Alhamad
05a6ad2d84
Enhance weekly summary functionality to accept optional date range parameters in CardService, TransactionService, JuniorService, and JuniorController. Update API documentation to reflect new query parameters for start and end dates.
2025-10-28 11:20:49 +03:00
Abdalhamid Alhamad
bbeece9e03
git checkout -b ZOD-349-weekly-spending-data-not-displaying-in-the-child-profile-parent-view
2025-10-26 13:14:35 +03:00
Abdalhamid Alhamad
8a6b1cc900
Remove duplicate email cleanup logic and add unique constraint to user email
2025-10-21 14:10:14 +03:00
Abdalhamid Alhamad
e966f95463
ZOD-341-Add unique constraint to user email and clean up duplicates
2025-10-21 10:49:43 +03:00
Abdalhamid Alhamad
4f778f7904
* ZOD-341-junior-a-child-can-edit-their-email-to-an-existing-email-causing-multiple-child-accounts-to-share-the-same-login
2025-10-20 14:25:53 +03:00
abdalhamid99
7e9bc397a9
Merge pull request #43 from HamzaSha1/ZOD-204-view-spending-from-child-login
...
git checkout -b ZOD-204-view-spending-from-child-login
2025-10-20 10:30:27 +03:00
Abdalhamid Alhamad
d2e084d3e4
git checkout -b ZOD-204-view-spending-from-child-login
2025-10-19 15:26:47 +03:00
Abdalhamid Alhamad
7b57277a7f
ZOD-339-child-profile-gender-update-is-not-reflected-after-editing
2025-10-19 11:01:52 +03:00
Abdalhamid Alhamad
297a2fe5ad
ZOD-333-junior-incorrect-relationship-label-displayed-as-child-instead-of-daughter-or-son-in-child-confirmation-details-after-the-scan-the-qr-code
2025-10-19 09:57:35 +03:00
Abdalhamid Alhamad
15621124ad
ZOD-309-child-transaction-history-parent-→-child-transfers
2025-10-16 12:25:16 +03:00
Abdalhamid Alhamad
f6fa74897a
feat: add guardian transactions feature with response DTOs and service integration
2025-10-15 14:14:59 +03:00
abdalhamid99
183f6b4475
fix: add gender property to UserResponseDto
...
fix: add gender property to UserResponseDto
2025-10-12 16:06:39 +03:00
Abdalhamid Alhamad
8f601b26ae
fix: add gender property to UserResponseDto
2025-10-12 16:03:25 +03:00
Abdalhameed Ahmad
918b15c315
fix: add swagger
2025-09-23 09:00:41 +03:00
Abdalhameed Ahmad
1830d92cbd
feat: weekly stats for junior
2025-09-23 08:56:57 +03:00
Abdalhameed Ahmad
454ded627f
fix: fix transfer to child bug
2025-09-16 21:01:32 +03:00
Abdalhameed Ahmad
f1484e125b
feat: soft delete junior
2025-09-15 09:02:56 +03:00
Abdalhameed Ahmad
df4d2e3c1f
feat: get card by child id
2025-09-15 08:47:56 +03:00
Abdalhameed Ahmad
872d231f72
feat: show embossing information for child cards
2025-09-09 21:45:37 +03:00
Abdalhameed Ahmad
cc4c8254f6
feat: view child active cards
2025-09-09 21:37:55 +03:00
Abdalhameed Ahmad
039c95aa56
fix: calculating child and parent balance
2025-09-09 20:31:48 +03:00
Abdalhameed Ahmad
e1f50decfa
feat: money requests
2025-09-08 21:38:11 +03:00
Abdalhameed Ahmad
e6642b5a15
fix: fix controller name
2025-09-07 21:47:17 +03:00
Abdalhameed Ahmad
954aa422a2
fix: fix mock request for funding decorators
2025-09-07 21:40:55 +03:00
Abdalhameed Ahmad
15a48e4884
fix: validate card spending limit before transfering to child
2025-09-07 21:18:49 +03:00
Abdalhameed Ahmad
d768da70f2
feat: transfer to parent
2025-09-07 20:23:11 +03:00
Abdalhameed Ahmad
9b0e1791da
feat: transfer money to child
2025-09-07 20:14:28 +03:00
Abdalhameed Ahmad
44b5937f7a
feat: finalize update junior
2025-09-07 18:13:28 +03:00
Abdalhameed Ahmad
edddc2f457
feat: update junior
2025-09-07 09:12:14 +03:00
Abdalhameed Ahmad
88730a2b2b
fix: fix create application mock
2025-08-26 19:17:00 +03:00
Abdalhameed Ahmad
3df34c0017
fix: fix duplicate iban
2025-08-26 12:19:47 +03:00