Skip to content

The open alternative to Salesforce, designed for AI.

690 B
Raw Blame
import {
  defineField,
  FieldType,
  STANDARD_OBJECT_UNIVERSAL_IDENTIFIERS,
} from 'twenty-sdk/define';

import { LAST_CONTACT_AT_FIELD_UNIVERSAL_IDENTIFIER } from 'src/constants/universal-identifiers';

export default defineField({
  universalIdentifier: LAST_CONTACT_AT_FIELD_UNIVERSAL_IDENTIFIER,
  objectUniversalIdentifier:
    STANDARD_OBJECT_UNIVERSAL_IDENTIFIERS.person.universalIdentifier,
  name: 'lastContactAt',
  type: FieldType.DATE_TIME,
  label: 'Last contact',
  description:
    'When the most recent contact (email or meeting) with this person occurred, in either direction.',
  icon: 'IconClock',
  isNullable: true,
  isUIEditable: false,
  isAuditLogged: false,
});