FEATURE: Reset and block users

This commit is contained in:
Rafael Moraes
2025-03-13 14:44:54 -03:00
parent e316bd1a7b
commit 2aec60a354
7 changed files with 2013 additions and 1416 deletions
+24
View File
@@ -67,16 +67,27 @@ export class AuthUser {
export class AuthCustomer {
@ApiProperty()
modules: string[];
@ApiProperty()
id: string;
@ApiProperty()
name: string;
@ApiProperty()
tier: string;
@ApiProperty()
scheduleLimit: string;
@ApiProperty()
links: Link[];
@ApiProperty()
displayName: string;
@ApiProperty()
themeEnabled: boolean;
}
export class AuthSignInReq implements AuthSignInRequest {
@@ -118,3 +129,16 @@ export class AuthRefreshAccessTokenRes {
@ApiProperty()
accessToken: string;
}
export interface UserActionRequest {
users: {
userIds: string[];
};
defaultPassword?: string;
}
export interface UserActionResponse {
message: string;
successfulUsers: string[];
failedUsers: string[];
}