Add case identity filters and description validation

This commit is contained in:
SepehrYahyaee
2026-09-27 09:54:56 +03:30
parent 8ac185c861
commit b758346af1
15 changed files with 339 additions and 13 deletions

View File

@@ -86,6 +86,26 @@ export class ListQueryV2Dto {
@MaxLength(64)
search?: string;
@ApiPropertyOptional({
description: "Filter cases by a phone number found on any party.",
example: "09121234567",
maxLength: 32,
})
@IsOptional()
@IsString()
@MaxLength(32)
phoneNumber?: string;
@ApiPropertyOptional({
description: "Filter cases by a national code found on any party.",
example: "0012345678",
maxLength: 32,
})
@IsOptional()
@IsString()
@MaxLength(32)
nationalCode?: string;
@ApiPropertyOptional({
enum: UNIFIED_FILE_STATUS_KEYS,
description: