Skip to content

User

Defined in: types/user.ts:5

The authenticated Mobile Locker user. Mirrors the iOS GRDBUser Swift model’s toJSON() output.

id: number;

Defined in: types/user.ts:6


first_name: string;

Defined in: types/user.ts:7


last_name: string;

Defined in: types/user.ts:8


name: string;

Defined in: types/user.ts:9


email: string;

Defined in: types/user.ts:10


sender_email: string | null;

Defined in: types/user.ts:11


phone: string | null;

Defined in: types/user.ts:12


country: string;

Defined in: types/user.ts:13


timezone: string;

Defined in: types/user.ts:14


current_team_id: number;

Defined in: types/user.ts:15


ask_for_review: boolean;

Defined in: types/user.ts:16


scanner_enabled: boolean;

Defined in: types/user.ts:17


calendar_url: string | null;

Defined in: types/user.ts:18


locale: string;

Defined in: types/user.ts:19


title: string;

Defined in: types/user.ts:20


region: string;

Defined in: types/user.ts:21


district: string;

Defined in: types/user.ts:22


territory: string;

Defined in: types/user.ts:23


salesforce_profile_id: string | null;

Defined in: types/user.ts:24


salesforce_profile_name: string | null;

Defined in: types/user.ts:25


default_greeting_type: string;

Defined in: types/user.ts:26


current_team_role: string;

Defined in: types/user.ts:27


is_employee: boolean;

Defined in: types/user.ts:28


is_super_admin: boolean;

Defined in: types/user.ts:29


is_debug_mode: boolean;

Defined in: types/user.ts:30


max_records_from_crm: number;

Defined in: types/user.ts:31


can_use_haystack: boolean;

Defined in: types/user.ts:32


can_use_metabase: boolean;

Defined in: types/user.ts:33


is_current_user: boolean;

Defined in: types/user.ts:35

Whether this is the currently authenticated user (vs. a team member record).