Compare commits

...

8 Commits

Author SHA1 Message Date
058c8cbfc2 3.0.46 2022-01-14 05:17:56 +01:00
9f1b5df136 fix(core): update 2022-01-14 05:17:55 +01:00
1862444da9 3.0.45 2022-01-14 04:54:35 +01:00
c69b595fd1 fix(core): update 2022-01-14 04:54:35 +01:00
c761c7aeae 3.0.44 2022-01-14 04:50:26 +01:00
bd17b4c94f fix(core): update 2022-01-14 04:50:25 +01:00
a71106dcae 3.0.43 2022-01-14 04:45:56 +01:00
32608912b6 fix(core): update 2022-01-14 04:45:56 +01:00
5 changed files with 15 additions and 7 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@tsclass/tsclass",
"version": "3.0.42",
"version": "3.0.46",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@tsclass/tsclass",
"version": "3.0.42",
"version": "3.0.46",
"license": "MIT",
"dependencies": {
"type-fest": "^2.8.0"

View File

@ -1,6 +1,6 @@
{
"name": "@tsclass/tsclass",
"version": "3.0.42",
"version": "3.0.46",
"private": false,
"description": "common classes for TypeScript",
"main": "dist_ts/index.js",

View File

@ -33,5 +33,8 @@ export interface IContact {
// financial
// =========
vatId?: string;
bankAccountNumber?: string;
sepaConnection?: {
iban: string;
bic: string;
};
}

View File

@ -9,9 +9,12 @@ export interface ILetter {
accentColor: string;
subject: string;
text: string[];
invoice?: finance.IInvoice;
contractRef: string;
timesheetRef: string;
invoiceData?: finance.IInvoice;
contractData?: {
id: string;
contractDate: number;
};
timesheetData: string;
pdfAttachments: Uint8Array[];
legalContact: business.IContact;
language: string;

View File

@ -13,6 +13,7 @@ export interface IInvoiceItem {
}
export interface IInvoice {
id: string;
billedBy: business.IContact;
billedTo: business.IContact;
status: TInvoiceStatus;
@ -22,6 +23,7 @@ export interface IInvoice {
to: number;
};
deliveryDate?: number;
dueInDays: number;
printResult?: {
pdfBufferString: string;
totalNet: number;