Type Aliases
AuditorGroup
Auditor
Group
: { auditorItems
: Status["auditorItems"]; refRoles
: string[]; role
: string; staff
: string[] }[]AuditorType
AuditorType: "Staff" | "Account"
Auditors
Auditors: { auditors?: { id: string; mailbox: string; name: string }[]; staffs?: { id: string; mailbox: string; name: string }[] }
Type declaration
Optional auditors?: { id: string; mailbox: string; name: string }[]
Optional staffs?: { id: string; mailbox: string; name: string }[]
CommonTicketListOption
Common
Ticket
List
Option
: { beginAt
?: string; endAt
?: string; projectId
: string; q
?: string; statusId
?: string; statusIds
?: string[]; ticketNumber
?: string } & CountRequestCount
Count: { ticketNumber: string; unReadCount: string }[]
CountRequest
Count
Request
: { countOption
?: { childProjectId
?: string; types
?: LogType[] }; withCount
?: boolean }Type declaration
Optional countOption?: { childProjectId?: string; types?: LogType[] }
Optional childProjectId?: string
Optional types?: LogType[]
Optional withCount?: boolean
ExportTicketReportOptions
ExportTicketReportOptions: { atType: "CreateAt" | "ModifiedAt"; auditorId?: string; beginAt?: string; endAt?: string; reportName?: string; sendToMail: string; staffId?: string; ticketNumbers?: string[] }
Type declaration
atType: "CreateAt" | "ModifiedAt"
Optional auditorId?: string
Optional beginAt?: string
Optional endAt?: string
Optional reportName?: string
sendToMail: string
Optional staffId?: string
Optional ticketNumbers?: string[]
Identity
Identity: "User" | "Staff"
ListItem
List
Item
: { auditorGroup
: { auditors
: AuditorGroup }; createdAt
: string; hasUnreadChildProject
?: boolean; hasUnreadLogs
?: boolean; id
: string; modifiedAt
: string; parameters
: Parameters; projectId
: string; serial
: string; status
: Status; submitter
: { appid
: string; headimg
: string; leadId
: string; nickname
: string; openid
: string }; ticketNumber
: string } & UnreadCountsLogReport
Log
Report
: { description
: string; formId
: string; options
: Parameters; remark
: string; submitId
: string; title
: string }Type declaration
description: string
formId: string
remark: string
submitId: string
title: string
LogType
LogType: "Reply" | "Report" | "ParameterChange" | "Open" | "Assign" | "Close" | "StatusChange"
Logs
Logs
<ContentDetail>: { change
: Partial<{ from
: string; fromDetail
: Record<string, string>; to
: string; toDetail
: Record<string, string> }>; content
: { content
: string; detail
: ContentDetail; status
: Status }; createdAt
: string; id
: string; inNotice
: boolean; operator
: { accountUsername
?: string; appid
?: string; openid
?: string; staffId
?: string; type
: "User" | "Staff" | "System" | "AccountUser" }; status
?: LogStatus; ticketNumber
: string; type
: LogType }[]Type Parameters
NormalContent
NormalContent: { msgType: "image" | "text" | "doc" | "pdf" }
Type declaration
msgType: "image" | "text" | "doc" | "pdf"
Parameters
Parameters: { label: string; name: string; title: string; type: string; value: string }[]
Project
Project: { createdAt: string; id: string; parameters: { hidden: boolean; name: string; optionSource?: { enable: boolean; url: string }; options?: { label: string; value: string }[]; title: string; type: string }[]; status: { id: string; order: string; remark: string; transitions: { to: string }[] }[]; title: string }
Type declaration
createdAt: string
id: string
parameters: { hidden: boolean; name: string; optionSource?: { enable: boolean; url: string }; options?: { label: string; value: string }[]; title: string; type: string }[]
status: { id: string; order: string; remark: string; transitions: { to: string }[] }[]
title: string
ReplyContent
ReplyContentBase
Type Parameters
ReplyContentDetail
ReplyDetailBase
ReplyDetailBase<T>: { [ P in keyof T]: T[P] } & { headImg?: string; id?: string; nickname?: string }
Type Parameters
Role
Role: { role?: "Staff" | "AccountUser"; staffId?: string; username?: string }
Type declaration
Optional role?: "Staff" | "AccountUser"
Optional staffId?: string
Optional username?: string
Status
Status
: { auditorItems
?: { id
: string; type
: AuditorType }[]; auditorRole
: string; auditors
?: string[]; content
?: string; isEnd
: boolean; modifiedAt
: string; remark
: string; statusId
: string }Type declaration
Optional auditorItems?: { id: string; type: AuditorType }[]
auditorRole: string
Optional auditors?: string[]
Optional content?: string
isEnd: boolean
modifiedAt: string
remark: string
statusId: string
TicketChildItem
TicketChildItem: { isUserDestroy: boolean; parent: { id: string; projectId: string; ticketNumber: string }; partner: { appid: string; headimg: string; leadId: string; nickname: string; openid: string } }
Type declaration
isUserDestroy: boolean
parent: { id: string; projectId: string; ticketNumber: string }
id: string
projectId: string
ticketNumber: string
partner: { appid: string; headimg: string; leadId: string; nickname: string; openid: string }
appid: string
headimg: string
leadId: string
nickname: string
openid: string
UnreadCounts
Unread
Counts
: { [ K in `unRead${LogType}Count`]?: number }VoiceContent
VoiceContent: { duration: number; localId: string; msgType: "voice"; translateResult: string }
Type declaration
duration: number
localId: string
msgType: "voice"
translateResult: string
审核人信息