Add integration of create new event from expedient

This commit is contained in:
Tiago Kayaya
2020-11-18 21:55:58 +01:00
parent 52908b509d
commit 5ef476f8a1
14 changed files with 317 additions and 157 deletions
+6 -5
View File
@@ -2,9 +2,10 @@ import { Participant } from './participant.model';
import { Folder } from './folder.model';
export class Despacho{
distributionType: string;
deadline: Date;
userEmail: string;
participants: Participant;
dispatchFolder: Folder;
DistributionType: string;
CountryCode: string;
TypeDeadline: string;
UserEmail: string;
UsersSelected: Participant[];
DispatchFolder: Folder;
}
+6 -5
View File
@@ -1,7 +1,8 @@
export class Folder{
nad:string;
message:string;
sourceSecFsId:string;
souceType:string;
sourceId:string;
Nad:number;
Subject: string;
Message:string;
SourceSecFsId:string;
SouceType:string;
SourceId:string;
}
+4 -3
View File
@@ -1,5 +1,6 @@
export class Participant{
id: string;
type: string;
deadline: Date;
UserId: string;
UserType: string;
/* Deadline: Date; */
}
+22
View File
@@ -0,0 +1,22 @@
import { EventBody } from './eventbody.model';
import { Participant } from './participant.model';
export class ProcessEvent{
EventId: string;
Subject: string;
Body: EventBody;
Location: string;
CalendarId: string;
CalendarName: string;
StartDate: Date;
EndDate: Date;
EventType: string;
Participants: Participant[];
IsMeeting: boolean;
IsRecurring: boolean;
AppointmentState: number;
TimeZone: string;
Organizer: string;
Categories: string[];
HasAttachments: boolean;
}