Mobile Locker JavaScript SDK
    Preparing search index...

    Interface Customer

    A CRM customer record associated with the current presentation session. Mirrors the iOS GRDBCustomer Swift model.

    interface Customer {
        designation: string;
        id: string;
        is_active: boolean;
        is_current: boolean;
        is_fake: boolean;
        is_favorite: boolean;
        is_person_account: boolean;
        last_used_at: string | null;
        name: string;
        object: string;
        object_id: string;
        record_type_id: string;
        record_type_name: string;
        related_object: string;
        related_object_id: string;
        salutation: string;
        slug: string;
        specialty: string;
        updated_at: string | null;
    }
    Index

    Properties

    designation: string

    Professional designation (e.g. 'MD', 'PhD').

    id: string

    CRM object ID (e.g. a Salesforce 18-char ID). Also available as object_id.

    is_active: boolean
    is_current: boolean

    Whether this customer is currently associated with the active session.

    is_fake: boolean
    is_favorite: boolean
    is_person_account: boolean
    last_used_at: string | null

    ISO 8601 timestamp of the most recent session this customer was selected in.

    name: string
    object: string

    CRM object type (e.g. 'Contact', 'Account').

    object_id: string
    record_type_id: string
    record_type_name: string

    CRM record type name (e.g. 'Physician', 'Hospital').

    related_object: string

    Display name of the related CRM object (e.g. an Account name).

    related_object_id: string
    salutation: string
    slug: string
    specialty: string
    updated_at: string | null