add event to approve options

This commit is contained in:
Peter Maquiran
2024-05-31 13:33:10 +01:00
parent 3b91d41b3b
commit 2159692018
4 changed files with 5 additions and 4 deletions
@@ -64,7 +64,7 @@ export class EventToApproveDetailsMapper {
// "OriginatorComments": "",
"Status": "Active",
//"TimeZone": "",
"Agenda": "Oficial",
"Agenda": category ,
"EventType": "Reunião",
//"EventID": "",
//"HasAttachments": true,
@@ -47,7 +47,7 @@ export const EventOutputDTOSchema = z.object({
startDate: z.string(),
endDate: z.string(),
type: z.string(),
category: z.string(),
category: z.enum(['Oficial','Pessoal']),
attendees: z.array(AttendeeSchema),
isRecurring: z.boolean(),
eventRecurrence: z.null(),