@transreport/pauk-staff-api
    Preparing search index...

    Interface StaffUser

    Staff user

    interface StaffUser {
        access_to_report: boolean;
        access_to_staff_app: boolean;
        created_at: string;
        electronic_handover_notification_stations: StaffUserElectronicHandoverNotificationStationsItem[];
        electronic_handover_notifications: boolean;
        email: string;
        first_name: string;
        id: string;
        last_name: string | null;
        name: string;
        phone: string | null;
        privacy_accepted: boolean;
        reports_allowed: string[] | null;
        role: StaffUserRole;
        status: StaffUserStatus;
        terms_accepted: boolean;
        username: string;
    }
    Index
    access_to_report: boolean

    Whether report access is enabled

    access_to_staff_app: boolean

    Whether staff app access is enabled

    created_at: string

    Creation timestamp

    electronic_handover_notification_stations: StaffUserElectronicHandoverNotificationStationsItem[]

    Stations selected for electronic handover notifications

    electronic_handover_notifications: boolean

    Whether electronic handover notifications are enabled

    email: string

    Staff email address

    first_name: string

    First name

    id: string

    Staff user ID

    last_name: string | null

    Last name

    name: string

    Full name

    phone: string | null

    Phone number

    privacy_accepted: boolean

    Whether the privacy policy has been accepted

    reports_allowed: string[] | null

    Report identifiers available to the user

    Staff role and permissions

    Account status

    terms_accepted: boolean

    Whether terms have been accepted

    username: string

    Staff username