2023-02-07 16:10:11 +01:00
|
|
|
|
2023-02-09 15:26:14 +01:00
|
|
|
export class DailyWorkTask {
|
2020-08-21 00:22:51 +01:00
|
|
|
SerialNumber: string;
|
|
|
|
|
Folio: string;
|
|
|
|
|
Senders: string;
|
2021-06-08 15:11:44 +01:00
|
|
|
CreateDate: any;
|
2020-08-27 13:02:06 +01:00
|
|
|
DocumentURL: string;
|
2020-11-26 05:41:54 +01:00
|
|
|
Remetente:string;
|
2021-04-27 15:34:51 +01:00
|
|
|
DocumentsQty:any;
|
2021-04-30 10:06:54 +01:00
|
|
|
WorkflowName:string;
|
2021-05-19 16:10:05 +01:00
|
|
|
activityInstanceName: string;
|
2021-07-13 14:34:05 +01:00
|
|
|
Status: string;
|
2021-04-28 11:06:55 +01:00
|
|
|
}
|
|
|
|
|
|
2021-08-18 12:05:27 +01:00
|
|
|
export class fullTask {
|
2021-04-28 11:06:55 +01:00
|
|
|
actions: null;
|
2021-05-19 16:10:05 +01:00
|
|
|
activityInstanceName: string;
|
2021-04-28 11:06:55 +01:00
|
|
|
formURL: string;
|
|
|
|
|
originator: {
|
|
|
|
|
displayName: string,
|
|
|
|
|
email: string,
|
|
|
|
|
fqn: string,
|
|
|
|
|
manager: string,
|
|
|
|
|
username: string,
|
|
|
|
|
};
|
2023-04-12 09:01:03 +01:00
|
|
|
deadline: string;
|
2021-04-28 11:06:55 +01:00
|
|
|
serialNumber: string;
|
|
|
|
|
taskStartDate: string;
|
|
|
|
|
workflowDisplayName: string;
|
2021-08-18 12:05:27 +01:00
|
|
|
workflowID: number;
|
|
|
|
|
totalDocuments: any;
|
2021-04-28 11:06:55 +01:00
|
|
|
workflowInstanceDataFields: {
|
2021-08-19 11:32:08 +01:00
|
|
|
DispatchNumber: any,
|
2021-04-28 11:06:55 +01:00
|
|
|
AttachmentsProcessLastInstanceId: number,
|
2021-08-18 12:05:27 +01:00
|
|
|
Sender: string,
|
|
|
|
|
ViewerRequest: string,
|
2021-04-28 11:06:55 +01:00
|
|
|
DispatchDocId: number,
|
2021-08-18 12:05:27 +01:00
|
|
|
Remetente: string,
|
2021-04-28 11:06:55 +01:00
|
|
|
DispatchImageId: number,
|
2021-08-18 12:05:27 +01:00
|
|
|
Status: string,
|
2021-04-28 11:06:55 +01:00
|
|
|
DistributionTypeName: string,
|
|
|
|
|
DocID: number,
|
|
|
|
|
DocIDTmp: string,
|
|
|
|
|
FolderID: number,
|
|
|
|
|
ImageID: string,
|
|
|
|
|
ImageIDTmp: string,
|
|
|
|
|
ImageXMLTmp: string,
|
|
|
|
|
InstanceDistributionId: number,
|
2021-08-18 12:05:27 +01:00
|
|
|
DeadlineType: any,
|
|
|
|
|
Note: string,
|
2021-04-28 11:06:55 +01:00
|
|
|
InstanceID: string,
|
|
|
|
|
InstanceIDNew: string,
|
|
|
|
|
NewSerialNumber: string,
|
2021-05-21 10:05:59 +01:00
|
|
|
ReviewUserComment: string,
|
2021-04-28 11:06:55 +01:00
|
|
|
ReviewUserEmail: string,
|
|
|
|
|
ReviewUserName: string,
|
|
|
|
|
SourceID: number,
|
|
|
|
|
SourceSecFsID: number,
|
|
|
|
|
SourceType: string,
|
|
|
|
|
Subject: string,
|
|
|
|
|
TaskMessage: string,
|
|
|
|
|
UserName: string,
|
|
|
|
|
WorkflowID: string,
|
|
|
|
|
wxUserID: number,
|
2023-07-06 12:20:57 +01:00
|
|
|
DraftIds: string
|
2021-04-28 11:06:55 +01:00
|
|
|
}
|
2021-08-18 17:11:53 +01:00
|
|
|
Documents: any[]
|
2021-04-28 11:06:55 +01:00
|
|
|
workflowInstanceFolio: string
|
|
|
|
|
workflowInstanceID: number
|
|
|
|
|
workflowName: string
|
2024-03-02 12:38:30 +01:00
|
|
|
isDelegated: boolean
|
2021-07-13 14:34:05 +01:00
|
|
|
}
|
2021-08-18 18:31:35 +01:00
|
|
|
|
2023-02-07 16:10:11 +01:00
|
|
|
export const activityInstanceNameArray = [
|
|
|
|
|
'Concluir Despacho',
|
|
|
|
|
'Tarefa de Despacho','Reexecutar Despacho','Concluir Parecer',
|
|
|
|
|
'Concluir Deferimento',
|
|
|
|
|
'Reapreciar Deferimento',
|
|
|
|
|
'Tarefa de Deferimento',
|
|
|
|
|
'Assinar Diploma',
|
|
|
|
|
'Diploma Assinado',
|
|
|
|
|
'Retificar Diploma',
|
|
|
|
|
'Gerar Diploma',
|
|
|
|
|
'Editar Evento',
|
|
|
|
|
'Revisar Diploma',
|
|
|
|
|
'Tarefa de Parecer'
|
|
|
|
|
] as const; // TS3.4 syntax
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type activityInstanceName = typeof activityInstanceNameArray[number];
|
|
|
|
|
|
2021-08-30 10:24:46 +01:00
|
|
|
export interface fullTaskList {
|
|
|
|
|
serialNumber: string;
|
|
|
|
|
taskStartDate: string;
|
|
|
|
|
workflowDisplayName: string;
|
2023-02-07 16:10:11 +01:00
|
|
|
activityInstanceName: activityInstanceName;
|
2021-08-30 10:24:46 +01:00
|
|
|
totalDocuments: number;
|
2023-04-12 09:01:03 +01:00
|
|
|
deadline: string;
|
2023-04-12 14:39:26 +01:00
|
|
|
taskStatus: string;
|
2023-06-11 10:02:51 +01:00
|
|
|
taskReceiveDate?: string;
|
2021-08-30 10:24:46 +01:00
|
|
|
workflowInstanceDataFields: {
|
|
|
|
|
Subject: string;
|
|
|
|
|
Sender: string;
|
|
|
|
|
FolderID: number;
|
|
|
|
|
DispatchDocId: number;
|
|
|
|
|
Status: string;
|
|
|
|
|
// all list
|
|
|
|
|
ViewerRequest?: any
|
|
|
|
|
Remetente?: any
|
|
|
|
|
Agenda?: any // event to approve
|
|
|
|
|
StartDate?: any // event to approve
|
|
|
|
|
EndDate?: any // event to approve
|
|
|
|
|
InstanceId?: string // event to approve
|
|
|
|
|
Location?: string // event to approve
|
|
|
|
|
IsAllDayEvent?: any // event to approve
|
|
|
|
|
// pedidos
|
|
|
|
|
DocIdDiferimento?: any
|
|
|
|
|
// pedidos deferimento // Despacho do Presidente da República
|
|
|
|
|
originator?: any
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2021-08-19 11:32:08 +01:00
|
|
|
export class customFullTask {
|
|
|
|
|
serialNumber: string;
|
|
|
|
|
taskStartDate: string;
|
|
|
|
|
isEvent: true;
|
|
|
|
|
workflowInstanceDataFields: {
|
|
|
|
|
FsId: string,
|
|
|
|
|
FolderID: number,
|
|
|
|
|
DocId: number,
|
|
|
|
|
Subject: string
|
|
|
|
|
}
|
|
|
|
|
}
|
2021-08-18 18:31:35 +01:00
|
|
|
|
2021-08-19 11:32:08 +01:00
|
|
|
export class customTask {
|
2021-08-18 12:05:27 +01:00
|
|
|
SerialNumber: string
|
|
|
|
|
Folio : string
|
|
|
|
|
Senders: string
|
|
|
|
|
CreateDate : string
|
|
|
|
|
DocumentURL : string
|
|
|
|
|
Remetente : string
|
|
|
|
|
DocumentsQty : string
|
|
|
|
|
DocId : number
|
|
|
|
|
FolderID : number
|
|
|
|
|
WorkflowName : string
|
|
|
|
|
activityInstanceName : string
|
|
|
|
|
Status : string
|
2023-04-12 09:01:03 +01:00
|
|
|
Deadline: string
|
|
|
|
|
TaskStartDate: string
|
2023-04-12 14:39:26 +01:00
|
|
|
TaskStatus: string
|
2023-04-18 09:37:41 +01:00
|
|
|
TaskReceiveDate: string
|
2023-04-24 11:47:00 +01:00
|
|
|
Subject: string
|
2023-07-20 16:54:58 +01:00
|
|
|
Note: string
|
|
|
|
|
InstanceID: string
|
2023-07-21 12:58:40 +01:00
|
|
|
DeadlineType: string
|
2021-08-18 12:05:27 +01:00
|
|
|
}
|
2021-08-19 15:40:21 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
export interface expedienteTask {
|
|
|
|
|
SerialNumber: string
|
|
|
|
|
Folio : string
|
|
|
|
|
Senders: string
|
|
|
|
|
CreateDate : string
|
|
|
|
|
DocumentURL : string
|
|
|
|
|
Note: any
|
|
|
|
|
FolderId : number | string
|
|
|
|
|
Remetente : string
|
|
|
|
|
DocId : number
|
|
|
|
|
FsId: any
|
|
|
|
|
WorkflowName : string
|
|
|
|
|
Status : string
|
|
|
|
|
DispatchNumber: any
|
|
|
|
|
AttachmentsProcessLastInstanceID: any
|
2024-01-29 13:43:49 +01:00
|
|
|
InstanceID: any,
|
|
|
|
|
DraftIds: string
|
2024-02-22 11:40:06 +01:00
|
|
|
activityInstanceName: any
|
2021-08-26 13:48:29 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface ExpedienteTask {
|
2023-05-08 10:52:54 +01:00
|
|
|
workflowInstanceDataFields?: any;
|
2023-02-07 16:10:11 +01:00
|
|
|
Folio: string
|
2021-08-26 13:48:29 +01:00
|
|
|
SerialNumber: string
|
|
|
|
|
Senders : string
|
2022-05-04 16:45:38 +01:00
|
|
|
CreateDate : any
|
2021-08-26 13:48:29 +01:00
|
|
|
DocumentsQty : number
|
|
|
|
|
WorkflowName : string
|
|
|
|
|
activityInstanceName : string
|
|
|
|
|
Status : string
|
2023-04-12 09:01:03 +01:00
|
|
|
TaskStartDate: string
|
2021-08-26 13:48:29 +01:00
|
|
|
Subject: string
|
2023-04-12 09:01:03 +01:00
|
|
|
Deadline: string
|
2023-04-12 14:39:26 +01:00
|
|
|
TaskStatus: string
|
2023-04-18 09:37:41 +01:00
|
|
|
TaskReceiveDate: string
|
2023-07-20 16:54:58 +01:00
|
|
|
Note: string
|
|
|
|
|
InstanceID: string
|
2023-02-07 16:10:11 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export interface PedidoDeDeferimento {
|
|
|
|
|
serialNumber: string;
|
|
|
|
|
taskStartDate: Date;
|
|
|
|
|
deadline: Date | null;
|
|
|
|
|
workflowDisplayName: string;
|
|
|
|
|
activityInstanceName: string;
|
|
|
|
|
totalDocuments: number;
|
|
|
|
|
workflowInstanceDataFields: PedidoDeDeferimentoWorkflowInstanceDataFields;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface PedidoDeDeferimentoWorkflowInstanceDataFields {
|
|
|
|
|
Sender: string;
|
|
|
|
|
Subject: string;
|
|
|
|
|
FolderID: number;
|
|
|
|
|
Status: string;
|
|
|
|
|
originator: string;
|
2021-08-19 15:40:21 +01:00
|
|
|
}
|