feat: add number library routing and cdr location support

This commit is contained in:
hectorzhao
2026-06-24 11:39:32 +08:00
parent 5fa1bd35e9
commit 7057fd3c42
63 changed files with 6361 additions and 566 deletions
@@ -49,6 +49,10 @@ export class RolesService {
return this.roles.updateRole(roleId, input);
}
removeRole(roleId: string, actorId?: string) {
return this.roles.softDeleteRole(roleId, actorId);
}
private requiredString(value: unknown, field: string): string {
if (typeof value !== 'string' || value.trim().length === 0) {
throw new BadRequestException({ code: 'VALIDATION_ERROR', message: `${field} is required.` });