Commit Graph

52 Commits

Author SHA1 Message Date
paritosh18
776c03911e Merge branch 'paritosh-main1' of http://git.wdipl.com/Mayank.Mishra/MinglarBackendNestJS into sprint1 2025-12-02 20:11:19 +05:30
3b723e5d1f made accept pq by am api 2025-12-02 20:09:42 +05:30
paritosh18
156aed2429 Merge branch 'sprint1' of http://git.wdipl.com/Mayank.Mishra/MinglarBackendNestJS into paritosh-main1 2025-12-02 17:27:57 +05:30
paritosh18
fb77111e34 Refactor payment details handling: remove IFSC code validation, add currencyXid to DTO, and implement bank branch lookup for IFSC code retrieval. 2025-12-02 17:27:36 +05:30
6b673a173d Refactor host functions and constants for improved clarity and functionality. Renamed 'getAllActivityType' to 'prePopulateNewActivity' and updated its path. Added 'submitPQQForReview' handler for submitting PQQ for review. Enhanced error handling and response structure in 'submitPQQ_Answer' and 'submitPQQForReview' methods. Updated constants to standardize PQQ-related statuses. Improved S3 file handling logic in various handlers. 2025-12-02 17:24:01 +05:30
f3f0b2a81b Refactor HOST_SUGGESTION_TITLES to comments in minglar.constant.ts, update HostService to filter HostSuggestion by active and reviewed status, and modify addSuggestion handler to remove title validation against HOST_SUGGESTION_TITLES. Enhance MinglarService to include profile image handling and add city, country, and state selections in user queries. 2025-12-01 19:56:21 +05:30
e5861654e9 Enhance company types management: updated schema to include display order and relationships, modified validation to use company type XID, and seeded initial company types data. Updated services to reflect new structure and ensure proper data handling. 2025-12-01 13:26:06 +05:30
c16a7bb95e fixed the validation for submit company details 2025-11-29 18:57:57 +05:30
264f2fa29c made a pagination service 2025-11-29 12:04:50 +05:30
paritosh18
82cbaddce1 feat: add serverless-offline plugin and new showSuggestion function
- Added serverless-offline plugin to package.json and serverless.yml for local development.
- Implemented new showSuggestion function in host.yml with appropriate memory size and event configuration.
- Removed deprecated getSuggestion function from minglaradmin.yml and updated related handlers.
- Enhanced safeHandler to convert Prisma errors to ApiError automatically, improving error handling.
- Introduced comprehensive Prisma error handling in ApiError.ts, mapping error codes to user-friendly messages and HTTP status codes.
2025-11-28 15:33:43 +05:30
15c1458f02 made resend otp lambda 2025-11-28 12:23:08 +05:30
0cedcec109 Enhance activity status constants and update validation logic in submitCompanyDetails API. Added new statuses for PQQ and improved validation handling for draft submissions. Updated rejectPQQbyAM to reflect new status updates. 2025-11-28 12:07:45 +05:30
4f3adff517 submit company details api s3 uploading issue resolved and required docs removed 2025-11-27 20:51:04 +05:30
8ccbdc8f32 fixed the submit last pqq question api logic 2025-11-27 20:00:29 +05:30
030ec9225d updating the status to under review if the pqq overall score is more than 50% 2025-11-27 18:55:25 +05:30
67da5b57e6 fixed the registration api 2025-11-27 16:56:28 +05:30
fb392369a5 fixed the path of get score of pqq api 2025-11-27 16:07:20 +05:30
62637ecc9a made minor fixes 2025-11-27 15:03:34 +05:30
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
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
7056f32e24 made get score api for pqq 2025-11-24 23:19:18 +05:30
2ab046fbd2 fixed minor issues 2025-11-24 19:19:02 +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
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
paritosh18
1a0fe5768c Merge branch 'paritosh' of http://git.wdipl.com/Mayank.Mishra/MinglarBackendNestJS into paritosh 2025-11-20 16:30:41 +05:30
e7234c29ad added some columns and fixed some code issues 2025-11-20 16:26:48 +05:30
paritosh18
3a29e70b2b CHange path of of GetSuggestion 2025-11-19 18:47:00 +05:30
paritosh18
803a11cdda Add suggestion and getsuggestion 2025-11-19 13:33:32 +05:30
ee38391d1e add payment details modified and making seeder of pqq 2025-11-18 17:44:51 +05:30
db65abf693 fixed the add company details api 2025-11-17 19:05:26 +05:30
ce4af2ea3b made getAllInvitation Details api 2025-11-17 12:17:06 +05:30
4ee0819051 integrated sending mail from brevo 2025-11-14 19:06:47 +05:30
e9496d3868 made email sending 2025-11-14 17:48:40 +05:30
b2298e0fb1 fixed the middleware functions 2025-11-14 16:58:24 +05:30
8dda773b90 fixed the condition in the registration of minglar admin 2025-11-14 15:30:42 +05:30
fb9a92984b fixed the schema issues 2025-11-14 14:08:47 +05:30
6f75d912eb added statuscode in safehandler 2025-11-13 20:37:07 +05:30
8f12151ef1 fixed some logics 2025-11-13 18:01:41 +05:30
477f8d229d Merge branch 'paritosh' of http://git.wdipl.com/Mayank.Mishra/MinglarBackendNestJS into mayank 2025-11-13 17:49:20 +05:30
3ac0a591df made add parent company details and upload supporting documents 2025-11-13 17:48:09 +05:30
paritosh18
ceacdbddcb Merge branch 'mayank' of http://git.wdipl.com/Mayank.Mishra/MinglarBackendNestJS into paritosh 2025-11-13 16:00:18 +05:30
paritosh18
fb72feb20e add api 2025-11-13 15:56:13 +05:30
72f9e26ca6 made add company details api and moved it in the host folder 2025-11-13 15:53:35 +05:30
8e19bb566d made s3 uploader and apis 2025-11-12 19:59:54 +05:30
c0e58fe1ce made register and login apis for host 2025-11-12 16:03:57 +05:30