Customer
Defined in: types/customer.ts:5
A CRM customer record associated with the current presentation session.
Mirrors the iOS GRDBCustomer Swift model.
Properties
Section titled “Properties”id: string;Defined in: types/customer.ts:7
CRM object ID (e.g. a Salesforce 18-char ID). Also available as object_id.
object_id
Section titled “object_id”object_id: string;Defined in: types/customer.ts:8
object
Section titled “object”object: string;Defined in: types/customer.ts:10
CRM object type (e.g. 'Contact', 'Account').
is_active
Section titled “is_active”is_active: boolean;Defined in: types/customer.ts:11
is_person_account
Section titled “is_person_account”is_person_account: boolean;Defined in: types/customer.ts:12
salutation
Section titled “salutation”salutation: string;Defined in: types/customer.ts:13
name: string;Defined in: types/customer.ts:14
slug: string;Defined in: types/customer.ts:15
related_object
Section titled “related_object”related_object: string;Defined in: types/customer.ts:17
Display name of the related CRM object (e.g. an Account name).
related_object_id
Section titled “related_object_id”related_object_id: string;Defined in: types/customer.ts:18
designation
Section titled “designation”designation: string;Defined in: types/customer.ts:20
Professional designation (e.g. 'MD', 'PhD').
specialty
Section titled “specialty”specialty: string;Defined in: types/customer.ts:21
record_type_name
Section titled “record_type_name”record_type_name: string;Defined in: types/customer.ts:23
CRM record type name (e.g. 'Physician', 'Hospital').
record_type_id
Section titled “record_type_id”record_type_id: string;Defined in: types/customer.ts:24
is_favorite
Section titled “is_favorite”is_favorite: boolean;Defined in: types/customer.ts:25
is_current
Section titled “is_current”is_current: boolean;Defined in: types/customer.ts:27
Whether this customer is currently associated with the active session.
last_used_at
Section titled “last_used_at”last_used_at: string | null;Defined in: types/customer.ts:29
ISO 8601 timestamp of the most recent session this customer was selected in.
updated_at
Section titled “updated_at”updated_at: string | null;Defined in: types/customer.ts:30
is_fake
Section titled “is_fake”is_fake: boolean;Defined in: types/customer.ts:31