feat: SMS campaigns for people or leads with filters and batching

Add audience tabs, province/city filters, select-all ids, dynamic SMS tokens, and 50-sized create/send chunks.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-17 20:54:32 +03:30
co-authored by Cursor
parent 32c722f42a
commit d62e004e90
10 changed files with 1040 additions and 131 deletions
+17
View File
@@ -63,6 +63,23 @@ export class ListQueryDto {
@IsString()
@MaxLength(40)
importSource?: string;
/** استان شرکت مرتبط */
@IsOptional()
@IsString()
@MaxLength(80)
province?: string;
/** شهر/شهرستان شرکت مرتبط */
@IsOptional()
@IsString()
@MaxLength(80)
city?: string;
/** فقط کسانی که موبایل دارند */
@IsOptional()
@IsIn(['1', 'true', '0', 'false'])
hasMobile?: string;
}
class CompanyExtraFieldsDto {