Merge branch 'feature/agenda-new-api-eudes' of bitbucket.org:equilibriumito/gabinete-digital-fo into feature/agenda-new-api-peter

This commit is contained in:
Peter Maquiran
2024-05-31 15:50:00 +01:00
6 changed files with 73 additions and 14 deletions
@@ -74,6 +74,7 @@ export class EventToApproveDetailsMapper {
EmailAddress: e.emailAddress,
IsRequired: e.attendeeType == '0' ? true : false,
UserType: "GD",
wxUserId: e.wxUserId
}))
],
//"EventOrganizer": "{\"$type\":\"GabineteDigital.k2RESTidentifier_EventPerson, GabineteDigital, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\",\"EmailAddress\":\"agenda.mdgpr@gabinetedigital.local\",\"Name\":\"Agenda do Ministro e Director do Gabinete do PR\",\"IsRequired\":true}",
@@ -103,11 +104,11 @@ export class EventToApproveDetailsMapper {
"Documents": null,
"PrivateMessage": null,
Attachments: dto.attachments.map( e => ({
DocId: '',
Description: '',
DocId: e.docId,
Description: e.sourceName,
Stakeholders: '',
CreateDate: '',
ApplicationId: 0,
ApplicationId: e.applicationId,
}))
}
}