2021-08-20 12:02:27 +01:00
|
|
|
export class SearchList {
|
2021-07-29 15:40:24 +01:00
|
|
|
ApplicationType: number | string;
|
2021-01-08 11:02:19 +01:00
|
|
|
Assunto: string;
|
|
|
|
|
Data: string;
|
|
|
|
|
DocTypeDesc: string;
|
|
|
|
|
EntidadeOrganicaId: number;
|
2021-04-30 14:58:50 +01:00
|
|
|
EntidadeOrganicaNome: string;
|
|
|
|
|
Id: string;
|
|
|
|
|
appName?: string;
|
2021-08-20 12:02:27 +01:00
|
|
|
ApplicationName: string;
|
2021-01-08 11:02:19 +01:00
|
|
|
}
|
2021-07-30 22:03:48 +01:00
|
|
|
|
2021-08-13 14:36:45 +01:00
|
|
|
export class Attachments {
|
|
|
|
|
Id?: number
|
2021-09-15 13:38:14 +01:00
|
|
|
ParentId?:any
|
2021-08-13 14:36:45 +01:00
|
|
|
Source: number
|
|
|
|
|
SourceId: any
|
|
|
|
|
SourceName: any
|
|
|
|
|
ApplicationId: number | string
|
|
|
|
|
}
|
|
|
|
|
|
2021-08-19 16:39:26 +01:00
|
|
|
// details
|
2021-08-20 12:02:27 +01:00
|
|
|
export class SearchDocumentDetails {
|
2021-07-30 22:03:48 +01:00
|
|
|
ApplicationId: number
|
|
|
|
|
ApplicationID: number
|
|
|
|
|
Assunto: string
|
|
|
|
|
DocDate: string
|
|
|
|
|
DocId: number
|
|
|
|
|
Sender: string
|
|
|
|
|
SenderId: number
|
|
|
|
|
}
|
|
|
|
|
|
2021-08-20 12:02:27 +01:00
|
|
|
|
|
|
|
|
|
2021-08-19 16:39:26 +01:00
|
|
|
// details
|
2021-08-20 12:02:27 +01:00
|
|
|
export class SearchFolderDetails {
|
2021-07-30 22:03:48 +01:00
|
|
|
ApplicationID: number
|
|
|
|
|
ApplicationId: number
|
|
|
|
|
Assunto:string
|
|
|
|
|
DateDispatch: string
|
|
|
|
|
DispatchNumber: string
|
|
|
|
|
Docs: string
|
2021-08-20 12:02:27 +01:00
|
|
|
Documents: SearchFolderDetailsDocuments[]
|
2021-07-30 22:03:48 +01:00
|
|
|
DocumentsTotal: 2
|
|
|
|
|
IntervenerList: string[]
|
|
|
|
|
Interveners: string
|
|
|
|
|
Nature:string
|
|
|
|
|
Sender: null | string
|
|
|
|
|
SenderId: null | string
|
|
|
|
|
Status: string
|
|
|
|
|
folderId: number
|
2021-08-20 12:02:27 +01:00
|
|
|
}
|
|
|
|
|
export class SearchFolderDetailsDocuments {
|
|
|
|
|
Assunto: string
|
|
|
|
|
DocDate: string
|
|
|
|
|
DocId: number
|
|
|
|
|
DocNumber: string
|
|
|
|
|
Sender: string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface SearchCategory {
|
|
|
|
|
SecFsId?: any;
|
|
|
|
|
Id: number;
|
|
|
|
|
Name: string;
|
|
|
|
|
Qtd: number;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface searchResult {
|
|
|
|
|
Categories: SearchCategory[];
|
|
|
|
|
Documents: SearchList[];
|
|
|
|
|
Total: number;
|
|
|
|
|
}
|