User
Defined in: types/user.ts:5
The authenticated Mobile Locker user.
Mirrors the iOS GRDBUser Swift model’s toJSON() output.
Properties
Section titled “Properties”id: number;Defined in: types/user.ts:6
first_name
Section titled “first_name”first_name: string;Defined in: types/user.ts:7
last_name
Section titled “last_name”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
Section titled “sender_email”sender_email: string | null;Defined in: types/user.ts:11
phone: string | null;Defined in: types/user.ts:12
country
Section titled “country”country: string;Defined in: types/user.ts:13
timezone
Section titled “timezone”timezone: string;Defined in: types/user.ts:14
current_team_id
Section titled “current_team_id”current_team_id: number;Defined in: types/user.ts:15
ask_for_review
Section titled “ask_for_review”ask_for_review: boolean;Defined in: types/user.ts:16
scanner_enabled
Section titled “scanner_enabled”scanner_enabled: boolean;Defined in: types/user.ts:17
calendar_url
Section titled “calendar_url”calendar_url: string | null;Defined in: types/user.ts:18
locale
Section titled “locale”locale: string;Defined in: types/user.ts:19
title: string;Defined in: types/user.ts:20
region
Section titled “region”region: string;Defined in: types/user.ts:21
district
Section titled “district”district: string;Defined in: types/user.ts:22
territory
Section titled “territory”territory: string;Defined in: types/user.ts:23
salesforce_profile_id
Section titled “salesforce_profile_id”salesforce_profile_id: string | null;Defined in: types/user.ts:24
salesforce_profile_name
Section titled “salesforce_profile_name”salesforce_profile_name: string | null;Defined in: types/user.ts:25
default_greeting_type
Section titled “default_greeting_type”default_greeting_type: string;Defined in: types/user.ts:26
current_team_role
Section titled “current_team_role”current_team_role: string;Defined in: types/user.ts:27
is_employee
Section titled “is_employee”is_employee: boolean;Defined in: types/user.ts:28
is_super_admin
Section titled “is_super_admin”is_super_admin: boolean;Defined in: types/user.ts:29
is_debug_mode
Section titled “is_debug_mode”is_debug_mode: boolean;Defined in: types/user.ts:30
max_records_from_crm
Section titled “max_records_from_crm”max_records_from_crm: number;Defined in: types/user.ts:31
can_use_haystack
Section titled “can_use_haystack”can_use_haystack: boolean;Defined in: types/user.ts:32
can_use_metabase
Section titled “can_use_metabase”can_use_metabase: boolean;Defined in: types/user.ts:33
is_current_user
Section titled “is_current_user”is_current_user: boolean;Defined in: types/user.ts:35
Whether this is the currently authenticated user (vs. a team member record).