Fine tuned organisation onboarding and tenant management
This commit is contained in:
@@ -262,6 +262,7 @@ export interface User {
|
||||
status: ActivityStatus;
|
||||
lastLoginAt: string | null;
|
||||
role?: string | UserRole | null;
|
||||
idNumber?: string | null;
|
||||
name?: string;
|
||||
organisationId?: number | string;
|
||||
organisationName?: string;
|
||||
@@ -302,6 +303,7 @@ export interface Organisation {
|
||||
name: string | null;
|
||||
registrationNo: string | null;
|
||||
email: string | null;
|
||||
userId?: string | null;
|
||||
type: OrganisationType;
|
||||
status: ActivityStatus;
|
||||
createdAt: string;
|
||||
@@ -312,6 +314,8 @@ export interface CreateOrganisationRequest {
|
||||
name: string;
|
||||
registrationNo: string;
|
||||
email: string;
|
||||
idNumber: string;
|
||||
organisationUser: string;
|
||||
type: OrganisationType;
|
||||
}
|
||||
|
||||
@@ -320,10 +324,24 @@ export interface UpdateOrganisationRequest {
|
||||
name: string;
|
||||
registrationNo: string;
|
||||
email: string;
|
||||
idNumber: string;
|
||||
organisationUser: string;
|
||||
type: OrganisationType;
|
||||
status?: ActivityStatus;
|
||||
}
|
||||
|
||||
export interface TenantOrganisation {
|
||||
id: number | string;
|
||||
tenantId: number | string;
|
||||
organisationId: number | string;
|
||||
status: ActivityStatus;
|
||||
createdAt: string;
|
||||
createdBy: string;
|
||||
tenant?: Tenant | null;
|
||||
organisation?: Organisation | null;
|
||||
creator?: User | null;
|
||||
}
|
||||
|
||||
export interface Portfolio {
|
||||
id: number | string;
|
||||
tenantId?: number | string;
|
||||
|
||||
Reference in New Issue
Block a user