Fine tuned organisation onboarding and tenant management

This commit is contained in:
2026-10-04 10:34:59 +02:00
parent 5fb67df9ac
commit 681ed99fea
5 changed files with 407 additions and 261 deletions
+18
View File
@@ -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;