Files
tsclass/ts/business/letter.ts
2022-06-15 22:37:40 +02:00

27 lines
692 B
TypeScript

import * as business from './index.js';
import * as finance from '../finance/index.js';
import * as database from '../database/index.js';
import type { TypedArray } from 'type-fest';
export interface ILetter {
incidenceId: string;
date: number;
from: business.IContact;
to: business.IContact;
legalContact: business.IContact;
logoUrl: string;
subject: string;
text: string[];
accentColor?: string;
needsCoverSheet: boolean;
invoiceData?: finance.IInvoice;
contractData?: {
id: string;
contractDate: number;
};
timesheetData: string;
pdf?: business.IPdf;
pdfAttachments: business.IPdf[];
language: string;
objectActions: database.IObjectAction[];
}