New Services, New Login, Better things

This commit is contained in:
Paulo Pinto
2020-08-21 16:18:37 +01:00
parent 86b3c8f039
commit ffadf6601c
15 changed files with 177 additions and 238 deletions
+1 -2
View File
@@ -1,5 +1,4 @@
export interface DailyWorkTask{
export class DailyWorkTask{
SerialNumber: string;
Folio: string;
Senders: string;
+4 -6
View File
@@ -3,7 +3,7 @@ import { EventPerson } from './eventperson.model';
import { EventAttachment } from './eventattachment.model';
import { EventOrganizer } from './organizer.model';
export interface Event{
export class Event{
EventId: string;
Subject: string;
@@ -14,15 +14,13 @@ export interface Event{
StartDate: string;
EndDate: string;
EventType: string;
RequiredAttendees: EventPerson;
OptionalAttendees: EventPerson;
HasAttachments: boolean;
RequiredAttendees: EventPerson[];
OptionalAttendees: EventPerson[];
IsMeeting: boolean;
IsRecurring: boolean;
AppointmentState: number;
TimeZone: string;
Organizer: string;
Categories: string[];
Attachments: EventAttachment;
Attachments: EventAttachment[];
}
+15 -7
View File
@@ -1,8 +1,16 @@
export interface EventAttachment{
Name: string;
OwnerId: string;
Subject: string;
Location: string;
ExternalEntities: string;
CreatedIn: string;
export class EventAttachment{
Id: number;
ParentId: string;
Sources: Sources;
SourceId: string;
Data: any;
}
enum Sources
{
Unknow = 0,
webTRIX = 1,
K2 = 2,
Exchange = 3,
File = 4
}
+2 -2
View File
@@ -1,4 +1,4 @@
export interface EventBody{
bodyType: string;
export class EventBody{
BodyType: string;
Text: string;
}
+1 -1
View File
@@ -1,4 +1,4 @@
export interface EventPerson{
export class EventPerson{
EmailAddress: string;
Name: string;
}
+1 -1
View File
@@ -1,4 +1,4 @@
export interface EventOrganizer{
export class EventOrganizer{
EmailAddress: string;
Text: string;
}
+4 -4
View File
@@ -1,6 +1,6 @@
export interface User {
username: string,
password: string,
domainName: string,
export class User {
username: string;
password: string;
domainName: string;
BasicAuthKey: string
}