import { BoxEnclosuresModel, MessageOperationResultModel, MessageReceiversModel, MessageUserBasicInfoModel } from '../../sdk-model'; import { PageStateModel } from '../common'; declare class MessagePageStateModel extends PageStateModel { items: MessageStateModel[]; } interface IMessageBody { } declare class ApplicationMessageBody implements IMessageBody { accountId: string; accountName: string; applicationId: string; applicationStatus: number; result: MessageApplicationResultModel; } declare class NoticeMessageBody implements IMessageBody { type: number; accountId: string; accountName: string; operator: string; roles: string[]; content: string; paymentAmount: number; orderNumber: string; space: number; memberNumber: number; projectNumber: number; duration: number; price: number; fileName: string; state: string; totalTime: string; waitingTime: string; translationTime: string; noticeForRegisters: string[]; realName: string; company: string; email: string; phoneNumber: number; excessDays: number; } declare class MessageApplicationResultModel { operation: string; description: string; } declare class TaskMessageBody implements IMessageBody { type: number; overdue: OverdueMessageBody; newTask: NewTaskMessageBody; finishTask: FinishTaskMessageBody; waiting: WaitingMessageBody; transfer: TransferMessageBody; enclosure: EnclosureMessageBody; comment: CommentMessageBody; participant: ParticipantMessageBody; autoPass: AutoPassMessageBody; } declare class OverdueMessageBody { workflowId: string; workflowName: string; stageId: string; stageName: string; expertStopTime: number; } declare class NewTaskMessageBody { creator: string; workflowId: string; workflowName: string; } declare class FinishTaskMessageBody { workflowId: string; workflowName: string; } declare class WaitingMessageBody { workflowId: string; workflowName: string; stageId: string; stageName: string; } declare class TransferMessageBody { handover: string; workflowId: string; workflowName: string; receiver: string; stageId: string; stageName: string; } declare class EnclosureMessageBody { operator: string; workflowId: string; workflowName: string; enclosureId: string; enclosureName: string; } declare class CommentMessageBody { operator: string; workflowId: string; workflowName: string; commentId: string; commentName: string; } declare class ParticipantMessageBody { operator: string; workflowId: string; workflowName: string; participantType: number; actionType: number; stageId: string; stageName: string; userIds: string[]; description: string; } declare class AutoPassMessageBody extends OverdueMessageBody { previousStageId: string; previousStageName: string; completed: boolean; description: string; } declare class MessageStateModel { id: string; enclosures: BoxEnclosuresModel[]; messageType: number; title: string; accountId: string; projectId: string; messageBody: TMessageBody; sender: string; userBasicInfo: MessageUserBasicInfoModel; level: string; tag: string; receivers: MessageReceiversStateModel[]; createAt: number; unread: boolean; operationResult: MessageOperationResultStateModel; updateAt: number; projectName: string; accountName: string; checked: boolean; senderName: string; receptionPersons: MessageReceiversStateModel[]; copyPersons: MessageReceiversStateModel[]; privatesPersons: MessageReceiversStateModel[]; } declare class MessageOperationResultStateModel extends MessageOperationResultModel { } declare class MessageOperationsStateModel { operationType: string; userData: string; } declare class MessageReceiversStateModel extends MessageReceiversModel { name: string; } export { MessageStateModel, ApplicationMessageBody, NoticeMessageBody, TaskMessageBody, IMessageBody, MessagePageStateModel, MessageOperationResultStateModel, MessageOperationsStateModel, MessageReceiversStateModel, }; //# sourceMappingURL=message-state-model.d.ts.map