import { UserMark } from './shared/user-mark.model'; import { ResourceMark } from './shared/resource-mark.model'; export interface Invoice { id: string; title: string; description: string; type: InvoiceType; hasTax: boolean; value: number; taxPercentage: TaxPercentage[]; fileListUris: File[]; tags: string[]; paid: boolean; paymentLimitDate: Date; paymentDate: Date; invoiceType: string; creator: UserMark; updatedBy: UserMark; createdAt: Date; updatedAt: Date; thirdPartyId: string; projectId: string; costCenterId: string; thirdPartyMark: ResourceMark; } export interface TaxPercentage { name: string; tax: number; } export declare enum InvoiceType { INCOMING = 0, OUTGOING = 1 } export interface File { url: string; title: string; description: string; timestamp: string; userMark: UserMark; } export interface FilterDailyAccountingStatisticsDto { beginDate: Date; endDate: Date; costCenterId: string; } export interface AccountingStatisticsResponseDto { content: AccountingStatisticsDto[]; totals: AccountingStatisticsDto; } export interface AccountingStatisticsDto { date: Date; totalValue: number; incomingValue: number; outgoingValue: number; totalUnpaidValue: number; incomingUnpaidValue: number; outgoingUnpaidValue: number; incomingTaxesValueList: AccountingTypeValueDto[]; outgoingTaxesValueList: AccountingTypeValueDto[]; incomingTypeValueList: AccountingTypeValueDto[]; outgoingTypeValueList: AccountingTypeValueDto[]; } export interface AccountingTypeValueDto { type: string; value: number; } export interface CostCenter { id: string; code: string; description: string; system: boolean; syncDefault: boolean; }