feat(adm): split chat and billing settings and add a master login
Super admin can filter dashboard counts, edit or delete admins, and sign into a user's CRM account with one shared password. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -4613,6 +4613,22 @@ export interface ResetPlatformAdminPasswordRequest {
|
||||
password: string;
|
||||
}
|
||||
|
||||
export interface UpdatePlatformAdminRequest {
|
||||
fullName: string;
|
||||
mobile: string;
|
||||
email?: string | null;
|
||||
}
|
||||
|
||||
export interface PlatformMasterPasswordStatusDto {
|
||||
enabled: boolean;
|
||||
updatedAt?: string | null;
|
||||
}
|
||||
|
||||
export interface SetPlatformMasterPasswordRequest {
|
||||
/** null یعنی رمز کلی برداشته شود */
|
||||
password: string | null;
|
||||
}
|
||||
|
||||
export interface PlatformStatsDto {
|
||||
organizationCount: number;
|
||||
activeOrganizationCount: number;
|
||||
@@ -4649,6 +4665,9 @@ export interface PlatformOrganizationDto {
|
||||
enabledModules?: OrgModuleKey[];
|
||||
/** اشتراک مالک اصلی محیط */
|
||||
subscription?: SubscriptionSummaryDto | null;
|
||||
ownerUserId?: string | null;
|
||||
ownerName?: string | null;
|
||||
chatConfigured?: boolean;
|
||||
members?: PlatformOrgMemberDto[];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user