Commit Graph

135 Commits

Author SHA1 Message Date
paritosh18
6fa96c3fb0 Increase memory size for submitCompanyDetails and update package patterns in host and minglaradmin functions; refactor JWT middleware to use shared Prisma client instance 2025-11-26 19:30:57 +05:30
paritosh18
7be03b6c27 Refactor host API endpoint and integrate Prisma client
- Changed HTTP method for the /host/add-company-details endpoint from POST to PATCH in host.yml.
- Introduced a new Prisma client setup in prisma.client.ts for database interactions.
- Updated authForHost middleware to utilize the new Prisma client instance.
2025-11-26 18:04:26 +05:30
paritosh18
abae9d9ac2 Update Prisma dependencies and refactor host onboarding handlers
- Updated Prisma client and adapter versions in package.json and package-lock.json.
- Refactored host onboarding handlers to improve structure and naming conventions.
- Added new handlers for onboarding processes including login, signup, and OTP verification.
- Implemented new functionality for managing bank details and company submissions.
- Enhanced error handling and validation across various handlers.
2025-11-26 17:31:08 +05:30
a0ed3b9faa minglaradmin handlers folder structure made 2025-11-26 13:14:37 +05:30
14ddc94765 Merge branch 'paritosh' of http://git.wdipl.com/Mayank.Mishra/MinglarBackendNestJS into mayank 2025-11-26 12:00:59 +05:30
498c4cbe46 updated prisma version 2025-11-26 12:00:48 +05:30
paritosh18
d14948b344 smalll fixx of yml 2025-11-26 09:42:07 +05:30
paritosh18
c9b4269e9a Merge branch 'mayank' of http://git.wdipl.com/Mayank.Mishra/MinglarBackendNestJS into paritosh 2025-11-25 12:28:16 +05:30
930605e22e Enhance getAllOnboardingHostApplications to exclude hosts with DRAFT status 2025-11-25 12:26:01 +05:30
paritosh18
263d06949e Merge branch 'mayank' of http://git.wdipl.com/Mayank.Mishra/MinglarBackendNestJS into paritosh 2025-11-25 12:04:50 +05:30
8e25c5c4a2 made get all host applications for minglar admin and get all new host application for minglar admin 2025-11-25 12:02:15 +05:30
917a1f1ee9 made the pre populate of city and bank branch 2025-11-25 09:44:36 +05:30
paritosh18
089d022267 SMall FIx 2025-11-24 23:53:31 +05:30
paritosh18
d65f7f5368 resolved Merge 2025-11-24 23:25:20 +05:30
7056f32e24 made get score api for pqq 2025-11-24 23:19:18 +05:30
c4e470be05 Merge branch 'paritosh' of http://git.wdipl.com/Mayank.Mishra/MinglarBackendNestJS into mayank 2025-11-24 19:19:34 +05:30
paritosh18
fca4991577 Add filtering for account manager in getAllHostApplications based on user role 2025-11-24 19:19:14 +05:30
2ab046fbd2 fixed minor issues 2025-11-24 19:19:02 +05:30
paritosh18
12420f6b51 Enhance getAllHostApplications to support userStatus filtering and include additional host details in response 2025-11-24 17:09:22 +05:30
paritosh18
fbd3b12937 Remove created activity data from response in addActivity handler 2025-11-22 21:10:17 +05:30
paritosh18
1c83cc5910 Add addActivity handler and createActivity method in HostService
- Implemented addActivity handler to create new activities with validation.
- Added createActivity method in HostService to handle activity creation logic.
2025-11-22 20:48:45 +05:30
d21dcacd7b added necessary packages 2025-11-22 20:20:25 +05:30
38d3b4ca6a fixed the file path 2025-11-22 20:15:01 +05:30
d0fd8e6691 Implement validation for required fields in PQQ handlers and enhance file upload logic in submitPqqAns. Added error handling for missing activity and question IDs, and improved S3 file management with delete functionality for existing files. Updated HostService methods for better file handling and header management. 2025-11-22 20:05:43 +05:30
6d48eeb25b Add new endpoint to retrieve the latest PQQ question details and implement corresponding handler. Update HostService to include method for fetching latest question details with active status filtering. 2025-11-22 19:47:04 +05:30
b1623343c8 Merge branch 'paritosh' of http://git.wdipl.com/Mayank.Mishra/MinglarBackendNestJS into mayank 2025-11-22 19:37:30 +05:30
paritosh18
3fb6961e7c Merge branch 'mayank' of http://git.wdipl.com/Mayank.Mishra/MinglarBackendNestJS into paritosh 2025-11-22 19:36:32 +05:30
5e0ba4c8e8 Merge branch 'paritosh' of http://git.wdipl.com/Mayank.Mishra/MinglarBackendNestJS into mayank 2025-11-22 19:31:40 +05:30
1377e0ba9a made the getbyid pqq question details api 2025-11-22 19:30:16 +05:30
paritosh18
d0b2de3f18 Add new endpoints for activity types and frequencies, and implement email notifications for AM assignments 2025-11-22 19:25:07 +05:30
3b1aac921f Add new handlers for accepting and rejecting host applications, including email notifications. Updated serverless configuration with new function timeouts and added missing handlers. Refactored profile update logic to improve file upload handling and added user detail retrieval methods in the Minglar service. 2025-11-22 19:22:34 +05:30
e7c94a1b19 formatted the files 2025-11-22 12:09:37 +05:30
d351a632bf Merge branch 'paritosh' of http://git.wdipl.com/Mayank.Mishra/MinglarBackendNestJS into mayank 2025-11-22 12:00:07 +05:30
0d858f5411 made getall document country city and replacing the files on s3 when updating the company details sending mail to am or admin 2025-11-22 11:59:48 +05:30
paritosh18
15c85686c6 Refactor getAllCoadminAndAM to include active user filtering and host count aggregation 2025-11-22 11:33:55 +05:30
976c9fc686 fixed the display order in PQQ getAll api and fixed the get All admin co admin and am api service 2025-11-22 08:00:59 +05:30
4665cb7ca4 fixed the serverless file 2025-11-21 16:23:38 +05:30
1fea4f18f6 storing the assigned on date and time when am is assigned to host 2025-11-21 15:56:40 +05:30
29cc335a07 Merge branch 'paritosh' of http://git.wdipl.com/Mayank.Mishra/MinglarBackendNestJS into mayank 2025-11-21 15:54:51 +05:30
paritosh18
2ffb9ca242 Add companyName field and filter for profileImage in getAllHostApplications 2025-11-21 15:54:33 +05:30
577471e7f1 Merge branch 'paritosh' of http://git.wdipl.com/Mayank.Mishra/MinglarBackendNestJS into mayank 2025-11-21 15:39:51 +05:30
e21ffd08f1 made the presigned url middleware 2025-11-21 14:53:53 +05:30
paritosh18
76e2bd542a Refactor MINGLAR constants to use consistent single quotes and expand HOST_SUGGESTION_TITLES with additional fields 2025-11-21 13:32:03 +05:30
926ea67e41 fixed code 2025-11-21 13:31:41 +05:30
ee9c0027de defined the apis in serverless file 2025-11-21 12:28:47 +05:30
8f25bb87e6 made accept host application and reject host application apis 2025-11-21 12:27:23 +05:30
e366bb4a70 Merge branch 'paritosh' of http://git.wdipl.com/Mayank.Mishra/MinglarBackendNestJS into mayank 2025-11-21 12:11:44 +05:30
2c3b1af754 updating stepper on company details adding 2025-11-21 11:47:29 +05:30
paritosh18
4c17e1b269 Return initial step for non-existent host records instead of throwing an error 2025-11-20 18:37:26 +05:30
78592dafec removed unnecessary variable declaration 2025-11-20 17:45:15 +05:30