feat: add API modules for digest scheduling, org admin portal, and thread views
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
import { IsBoolean, IsInt, IsOptional, IsString, Max, Min } from 'class-validator';
|
||||
|
||||
export class UpdateDigestConfigDto {
|
||||
@IsString()
|
||||
targetGroupJid: string;
|
||||
|
||||
@IsString()
|
||||
targetAccountId: string;
|
||||
|
||||
@IsInt()
|
||||
@Min(0)
|
||||
@Max(23)
|
||||
scheduleHour: number;
|
||||
|
||||
@IsInt()
|
||||
@Min(0)
|
||||
@Max(59)
|
||||
scheduleMinute: number;
|
||||
|
||||
@IsBoolean()
|
||||
@IsOptional()
|
||||
isActive?: boolean;
|
||||
}
|
||||
Reference in New Issue
Block a user