2021-05-10 14:51:51 +01:00
|
|
|
export class UserForm {
|
|
|
|
|
username: string;
|
|
|
|
|
password: string;
|
|
|
|
|
domainName: string;
|
2022-03-28 15:46:07 +01:00
|
|
|
BasicAuthKey: string;
|
2021-05-10 14:51:51 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2021-08-27 15:21:15 +01:00
|
|
|
export class LoginUserRespose {
|
2022-03-28 15:46:07 +01:00
|
|
|
BasicAuthKey: string;
|
2021-05-10 15:47:09 +01:00
|
|
|
UserId: number;
|
2021-05-10 14:51:51 +01:00
|
|
|
Authorization: string;
|
|
|
|
|
Email: string
|
|
|
|
|
FullName: string
|
|
|
|
|
OwnerCalendars: {
|
|
|
|
|
CalendarId: string
|
2021-06-15 17:42:51 +01:00
|
|
|
CalendarName: "Oficial" | "Pessoal";
|
|
|
|
|
CalendarRoleId: string;
|
|
|
|
|
Id: number;
|
2021-05-10 14:51:51 +01:00
|
|
|
}[]
|
|
|
|
|
RoleDescription: string
|
|
|
|
|
RoleID: number
|
|
|
|
|
SharedCalendars: {
|
|
|
|
|
CalendarId: string
|
2021-06-15 17:42:51 +01:00
|
|
|
CalendarName: "Oficial" | "Pessoal";
|
|
|
|
|
CalendarRoleId: string;
|
|
|
|
|
Id: number;
|
|
|
|
|
OwnerUserId: string;
|
|
|
|
|
TypeShare: number;
|
2021-05-10 14:51:51 +01:00
|
|
|
}[]
|
|
|
|
|
UserName: string
|
2021-06-03 17:07:29 +01:00
|
|
|
Profile: any;
|
2022-03-28 15:46:07 +01:00
|
|
|
UserPermissions: any;
|
2021-08-27 13:39:52 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export class UserSession {
|
2022-03-28 15:46:07 +01:00
|
|
|
BasicAuthKey: string;
|
2021-08-27 13:39:52 +01:00
|
|
|
UserId: number;
|
|
|
|
|
Authorization: string;
|
|
|
|
|
Email: string
|
|
|
|
|
FullName: string
|
|
|
|
|
OwnerCalendars: {
|
|
|
|
|
CalendarId: string
|
|
|
|
|
CalendarName: "Oficial" | "Pessoal";
|
|
|
|
|
CalendarRoleId: string;
|
|
|
|
|
Id: number;
|
2022-04-02 09:40:09 +01:00
|
|
|
OwnerUserId: any
|
2021-08-27 13:39:52 +01:00
|
|
|
}[]
|
|
|
|
|
RoleDescription: string
|
|
|
|
|
RoleID: number
|
|
|
|
|
SharedCalendars: {
|
|
|
|
|
CalendarId: string
|
|
|
|
|
CalendarName: "Oficial" | "Pessoal";
|
|
|
|
|
CalendarRoleId: string;
|
|
|
|
|
Id: number;
|
|
|
|
|
OwnerUserId: string;
|
|
|
|
|
TypeShare: number;
|
2022-04-02 09:40:09 +01:00
|
|
|
CalendarToken: string;
|
2021-08-27 13:39:52 +01:00
|
|
|
}[]
|
|
|
|
|
UserName: string
|
2022-01-10 18:52:21 +01:00
|
|
|
Password: string
|
2022-01-10 22:04:04 +01:00
|
|
|
RochetChatUser: string
|
2022-02-16 15:52:59 +01:00
|
|
|
RochetChatUserId: string
|
2022-04-02 09:40:09 +01:00
|
|
|
Profile: 'PR' | 'MDGPR' | 'Consultant' | 'Department boss' | 'Assistant' | 'Director' | 'Deputy Director' | 'Secretariat' | 'Deputy Director' | 'General secretary' ;
|
2021-08-27 13:39:52 +01:00
|
|
|
LoginPreference: 'None' | 'Password' | 'Pin' | null;
|
|
|
|
|
PIN: string
|
2021-08-27 17:11:05 +01:00
|
|
|
Inactivity: boolean
|
2022-03-28 15:46:07 +01:00
|
|
|
UrlBeforeInactivity: string;
|
|
|
|
|
UserPermissions: any;
|
|
|
|
|
}
|