Commit Graph

182 Commits

Author SHA1 Message Date
5ad17869be fixed the document type name inserting issue 2025-11-29 16:13:15 +05:30
8961e49dac Merge branch 'paritosh' of http://git.wdipl.com/Mayank.Mishra/MinglarBackendNestJS into sprint1 2025-11-29 16:04:55 +05:30
8d8702dfb6 stroring the document type in the user documents table 2025-11-29 16:04:00 +05:30
paritosh18
576c749b34 add JWT expiration settings to environment variables in serverless configuration 2025-11-29 16:03:29 +05:30
paritosh18
649fccb81b update JWT access token expiration default to 1440 minutes 2025-11-29 15:54:33 +05:30
15b8afd9b2 fixed the profile image issue 2025-11-29 14:29:41 +05:30
84c4b1f2b9 sending the userrefNumber in all endpoints 2025-11-29 14:17:31 +05:30
paritosh18
933addd60f Merge branch 'mayank' of http://git.wdipl.com/Mayank.Mishra/MinglarBackendNestJS into paritosh 2025-11-29 13:55:48 +05:30
paritosh18
18ff254e8d enable reload handler for serverless-offline plugin 2025-11-29 13:55:23 +05:30
ae7b453abd made prisma config file in root 2025-11-29 13:55:09 +05:30
7bec950096 adding a random reference number in user table 2025-11-29 13:48:55 +05:30
6b2b211990 updated cascade 2025-11-29 12:20:42 +05:30
2d36ca5dd7 fixed the function name 2025-11-29 12:14:28 +05:30
f75993f738 made the file name clear 2025-11-29 12:06:13 +05:30
264f2fa29c made a pagination service 2025-11-29 12:04:50 +05:30
e0b841b437 fixing the submit pqq answer api 2025-11-29 10:29:58 +05:30
54613534db sending the basic user details in the create password of minglar 2025-11-28 20:41:03 +05:30
6cac8fb163 sending the profile image in presigned url 2025-11-28 17:47:43 +05:30
6147b0f476 Refactor HostHeader and HostParent models in Prisma schema for consistency and clarity. Update submitCompanyDetails API to improve JSON field normalization and error handling. Enhance host and parent document management with presigned URL generation for S3 uploads. Implement upsert logic for host documents and parent company details, ensuring proper handling of existing records. 2025-11-28 17:20:27 +05:30
71e3f2a933 sending the user details in the getby id of host 2025-11-28 16:02:30 +05:30
174f13300c Merge branch 'paritosh' of http://git.wdipl.com/Mayank.Mishra/MinglarBackendNestJS into mayank 2025-11-28 15:57:37 +05:30
3f324bc1fc made get host details by id for minglar admin 2025-11-28 15:57:25 +05:30
paritosh18
27e19bd921 Merge branch 'mayank' of http://git.wdipl.com/Mayank.Mishra/MinglarBackendNestJS into paritosh 2025-11-28 15:35:28 +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
80bd926e16 fixed the submit company details api 2025-11-28 15:27:28 +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
9e47d861a2 made the stepper updation in submit company details api 2025-11-28 11:41:35 +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
75077c00da made reject pqq by am api 2025-11-27 19:47:04 +05:30
abe512b0c2 made updateSuggestionAsReviewed lambda api 2025-11-27 19:35:24 +05:30
326ea2f96b added transaction for calculating the pqq final answer score 2025-11-27 19:16:46 +05:30
b0bae33b6e Merge branch 'paritosh' of http://git.wdipl.com/Mayank.Mishra/MinglarBackendNestJS into mayank 2025-11-27 18:56:03 +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
paritosh18
83c3a39cc9 Refactor getAllHostActivityForAdmin handler: update paths and token verification method 2025-11-27 18:48:20 +05:30
paritosh18
6b0884b070 Merge branch 'mayank' of http://git.wdipl.com/Mayank.Mishra/MinglarBackendNestJS into paritosh 2025-11-27 17:27:03 +05:30
paritosh18
9e0f12117f Refactor host and minglaradmin handlers: update paths, rename functions, and add prepopulateRole handler for role retrieval 2025-11-27 17:26:33 +05:30
67da5b57e6 fixed the registration api 2025-11-27 16:56:28 +05:30
paritosh18
dcc0fbbcf6 Merge branch 'mayank' of http://git.wdipl.com/Mayank.Mishra/MinglarBackendNestJS into paritosh 2025-11-27 16:07:33 +05:30
fb392369a5 fixed the path of get score of pqq api 2025-11-27 16:07:20 +05:30
paritosh18
870aaca557 Refactor host and minglaradmin functions: rename handlers, update paths, and add new endpoints for activity and role management 2025-11-27 16:06:57 +05:30
62637ecc9a made minor fixes 2025-11-27 15:03:34 +05:30
f421a1e88a updated the path of import 2025-11-27 11:31:41 +05:30
7beebc16b3 Merge branch 'paritosh' of http://git.wdipl.com/Mayank.Mishra/MinglarBackendNestJS into mayank 2025-11-26 19:31:23 +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
e63e906f62 fixed the path in host yml file 2025-11-26 19:21:49 +05:30
a01a93680a fixed the path in serverless for minglar endpoints 2025-11-26 18:53:10 +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