import { type User } from "https://deno.land/x/amo@v0.2.5/mod.ts";
definition: { id: number; name: string; email: string; lang: "ru" | "en" | "es"; rights: { leads: RightsType; contacts: RightsType; companies: RightsType; tasks: RightsType; mail_access: boolean; catalog_access: boolean; is_admin: boolean; is_free: boolean; is_active: boolean; group_id: number | null; role_id: number | null; status_rights: { entity_type: string; pipeline_id: number; status_id: number; rights: RightsType; }[]; }; }