sozsoft-platform/ui/src/proxy/auditLog/audit-log.ts
2026-03-22 03:56:24 +03:00

46 lines
1 KiB
TypeScript

export interface AuditLogActionDto {
serviceName: string
methodName: string
executionTime: string // Date string
executionDuration: number
parameters: string
}
export interface EntityPropertyChangeDto {
propertyName: string
propertyTypeFullName: string
originalValue: string | null
newValue: string | null
}
export interface EntityChangeDto {
changeTime: string // Date string
changeType: number
entityId: string
entityTypeFullName: string
propertyChanges: EntityPropertyChangeDto[]
}
export interface AuditLogDto {
id: string
applicationName: string
userId?: string
userName?: string
tenantId?: string
tenantName?: string
executionTime: string
executionDuration: number
clientIpAddress?: string
clientName?: string
clientId?: string
correlationId?: string
browserInfo?: string
httpMethod?: string
url?: string
exceptions?: string
comments?: string
httpStatusCode?: number
entityChangeCount?: number
entityChanges: EntityChangeDto[]
actions: AuditLogActionDto[]
}