123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135 |
- // Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
- import type { EntityStaticObjectAttributes } from '#shared/entities/object-attributes/types/store.ts'
- import { EnumObjectManagerObjects } from '#shared/graphql/types.ts'
- export const staticObjectAttributes: EntityStaticObjectAttributes = {
- name: EnumObjectManagerObjects.Ticket,
- attributes: [
- {
- name: 'number',
- display: '#',
- dataType: 'input',
- isStatic: true,
- isInternal: true,
- },
- {
- name: 'time_unit',
- display: __('Accounted Time'),
- dataType: 'input',
- isStatic: true,
- isInternal: true,
- },
- {
- name: 'escalation_at',
- display: __('Escalation at'),
- dataType: 'datetime',
- isStatic: true,
- isInternal: true,
- },
- {
- name: 'first_response_escalation_at',
- display: __('Escalation at (First Response Time)'),
- dataType: 'datetime',
- isStatic: true,
- isInternal: true,
- },
- {
- name: 'update_escalation_at',
- display: __('Escalation at (Update Time)'),
- dataType: 'datetime',
- isStatic: true,
- isInternal: true,
- },
- {
- name: 'close_escalation_at',
- display: __('Escalation at (Close Time)'),
- dataType: 'datetime',
- isStatic: true,
- isInternal: true,
- },
- {
- name: 'last_contact_at',
- display: __('Last contact'),
- dataType: 'datetime',
- isStatic: true,
- isInternal: true,
- },
- {
- name: 'last_contact_agent_at',
- display: __('Last contact (agent)'),
- dataType: 'datetime',
- isStatic: true,
- isInternal: true,
- },
- {
- name: 'last_contact_customer_at',
- display: __('Last contact (customer)'),
- dataType: 'datetime',
- isStatic: true,
- isInternal: true,
- },
- {
- name: 'first_response_at',
- display: __('First response'),
- dataType: 'datetime',
- isStatic: true,
- isInternal: true,
- },
- {
- name: 'close_at',
- display: __('Closing time'),
- dataType: 'datetime',
- isStatic: true,
- isInternal: true,
- },
- {
- name: 'last_close_at',
- display: __('Last closing time'),
- dataType: 'datetime',
- isStatic: true,
- isInternal: true,
- },
- {
- name: 'created_by_id',
- display: __('Created by'),
- dataOption: {
- relation: 'User',
- },
- dataType: 'autocomplete',
- isStatic: true,
- isInternal: true,
- },
- {
- name: 'created_at',
- display: __('Created at'),
- dataType: 'datetime',
- isStatic: true,
- isInternal: true,
- },
- {
- name: 'updated_by_id',
- display: __('Updated by'),
- dataOption: {
- relation: 'User',
- },
- dataType: 'autocomplete',
- isStatic: true,
- isInternal: true,
- },
- {
- name: 'updated_at',
- display: __('Updated at'),
- dataType: 'datetime',
- isStatic: true,
- isInternal: true,
- },
- {
- name: 'last_owner_update_at',
- display: __('Last owner update'),
- dataType: 'datetime',
- isStatic: true,
- isInternal: true,
- },
- ],
- }
|