Make Arvan DNS updates opt-in and persist English user names.

Domain add/edit only upserts Arvan records when updateDns is true, and super-admin user PATCH now accepts firstNameEn and lastNameEn.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-08-20 11:50:57 +03:30
co-authored by Cursor
parent f61bba317e
commit 8609d8d4fd
8 changed files with 89 additions and 7 deletions
@@ -1,4 +1,4 @@
import { IsDateString, IsOptional, IsString, MinLength } from 'class-validator';
import { IsBoolean, IsDateString, IsOptional, IsString, MinLength } from 'class-validator';
export class UpdateDomainAdminDto {
@IsOptional()
@@ -9,4 +9,9 @@ export class UpdateDomainAdminDto {
@IsOptional()
@IsDateString()
expiresAt?: string;
/** When true, upsert Meshkee tenant records in Arvan DNS. */
@IsOptional()
@IsBoolean()
updateDns?: boolean;
}