Add editAgreementDetails and acceptHostApplication handlers; update serverless.yml and Prisma schema

This commit is contained in:
2025-11-20 15:23:15 +05:30
parent 13ffee5f7e
commit 6bbcb36b10
5 changed files with 314 additions and 90 deletions

View File

@@ -412,6 +412,21 @@ functions:
path: /minglaradmin/assign-am-to-host
method: patch
editAgreementDetails:
handler: src/modules/minglaradmin/handlers/editAgreementDetails.handler
package:
patterns:
- 'src/modules/minglaradmin/**'
- 'common/**'
- 'src/common/**'
- 'node_modules/@prisma/client/**'
- 'node_modules/.prisma/**'
events:
- httpApi:
path: /minglaradmin/edit-agreement-details
method: patch
addCompanyDetails:
handler: src/modules/host/handlers/addCompanyDetails.handler
package: