UNPKG

goobs-frontend

Version:

A comprehensive React-based libary for building modern web applications

62 lines 2.46 kB
import { default as React } from 'react'; import { ProjectBoardStyles } from '../../../../theme'; import { Comment, CaseUpdate, RawSeverityLevel, RawQueue, RawRegion, RawStatus, RawSubStatus, RawTopic, RawArticle, RawEmployee, RawProduct, RawService, TaskMeeting, NewMeetingData } from '../../types'; interface InlineShowTaskProps { taskId: string; taskTitle: string; createdBy: string; description: string; comments: Comment[]; caseUpdates: CaseUpdate[]; customerAssigned: string; customerId: string; customerInternalNotes?: string; severity: string; schedulingQueue: string; region: string; status: string; subStatus: string; topics: string[]; knowledgebaseArticles: string[]; teamMemberAssigned: string; nextActionDate: string; currentUserName: string; productOrService: 'product' | 'service'; productServiceName: string; productId: string; serviceId: string; onEdit: (updatedData: any) => void; onDelete: () => void; onComment: (text: string, taskId: string) => void; onEditComment: (commentId: string, newText: string) => void; onRevisionHistory: (commentId: string, revisionHistory: any[]) => void; onUpdateCustomerNotes: (customerId: string, notes: string) => Promise<void> | void; onBack: () => void; severityOptions: RawSeverityLevel[]; schedulingQueueOptions: RawQueue[]; regionOptions: RawRegion[]; statusOptions: RawStatus[]; subStatusOptions: RawSubStatus[]; topicOptions: RawTopic[]; knowledgebaseArticleOptions: RawArticle[]; teamMemberOptions: RawEmployee[]; rawProducts: RawProduct[]; rawServices: RawService[]; styles: ProjectBoardStyles; meetings: TaskMeeting[]; onScheduleMeeting: (meetingData: NewMeetingData) => Promise<void> | void; onCancelMeeting: (meetingId: string, reason: string) => Promise<void> | void; onConfirmMeeting: (meetingId: string) => Promise<void> | void; onRescheduleMeeting: (meetingId: string, newStartTime: string, newEndTime: string) => Promise<void> | void; currentDate: Date; onCaseUpdate?: (caseUpdate: { updateType: CaseUpdate['updateType']; description: string; fieldChanged?: string; oldValue?: string; newValue?: string; }) => Promise<void> | void; } export declare const InlineShowTask: React.FC<InlineShowTaskProps>; export {}; //# sourceMappingURL=inline.d.ts.map