Compare commits
10 Commits
Author | SHA1 | Date | |
---|---|---|---|
c761c7aeae | |||
bd17b4c94f | |||
a71106dcae | |||
32608912b6 | |||
b3fbaff314 | |||
3a334418cc | |||
759a19c731 | |||
0bb5ee7fac | |||
d9327084a0 | |||
14af89dc8b |
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "@tsclass/tsclass",
|
"name": "@tsclass/tsclass",
|
||||||
"version": "3.0.39",
|
"version": "3.0.44",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@tsclass/tsclass",
|
"name": "@tsclass/tsclass",
|
||||||
"version": "3.0.39",
|
"version": "3.0.44",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"type-fest": "^2.8.0"
|
"type-fest": "^2.8.0"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@tsclass/tsclass",
|
"name": "@tsclass/tsclass",
|
||||||
"version": "3.0.39",
|
"version": "3.0.44",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "common classes for TypeScript",
|
"description": "common classes for TypeScript",
|
||||||
"main": "dist_ts/index.js",
|
"main": "dist_ts/index.js",
|
||||||
|
@ -33,5 +33,8 @@ export interface IContact {
|
|||||||
// financial
|
// financial
|
||||||
// =========
|
// =========
|
||||||
vatId?: string;
|
vatId?: string;
|
||||||
bankAccountNumber?: string;
|
sepaConnection?: {
|
||||||
|
iban: string;
|
||||||
|
bic: string;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
@ -2,8 +2,11 @@ import * as business from './';
|
|||||||
import * as finance from '../finance';
|
import * as finance from '../finance';
|
||||||
export interface ILetter {
|
export interface ILetter {
|
||||||
incidenceId: string;
|
incidenceId: string;
|
||||||
|
date: number;
|
||||||
from: business.IAddress;
|
from: business.IAddress;
|
||||||
to: business.IAddress;
|
to: business.IAddress;
|
||||||
|
logoUrl: string;
|
||||||
|
accentColor: string;
|
||||||
subject: string;
|
subject: string;
|
||||||
text: string[];
|
text: string[];
|
||||||
invoice?: finance.IInvoice;
|
invoice?: finance.IInvoice;
|
||||||
@ -12,5 +15,4 @@ export interface ILetter {
|
|||||||
pdfAttachments: Uint8Array[];
|
pdfAttachments: Uint8Array[];
|
||||||
legalContact: business.IContact;
|
legalContact: business.IContact;
|
||||||
language: string;
|
language: string;
|
||||||
|
|
||||||
}
|
}
|
@ -4,6 +4,7 @@ export type TInvoiceStatus = 'draft' | 'invoice' | 'paid' | 'refunded';
|
|||||||
|
|
||||||
export interface IInvoiceItem {
|
export interface IInvoiceItem {
|
||||||
name: string;
|
name: string;
|
||||||
|
articleNumber?: string;
|
||||||
unitType: string;
|
unitType: string;
|
||||||
unitQuantity: number;
|
unitQuantity: number;
|
||||||
unitNetPrice: number;
|
unitNetPrice: number;
|
||||||
@ -12,10 +13,16 @@ export interface IInvoiceItem {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export interface IInvoice {
|
export interface IInvoice {
|
||||||
|
id: string;
|
||||||
billedBy: business.IContact;
|
billedBy: business.IContact;
|
||||||
billedTo: business.IContact;
|
billedTo: business.IContact;
|
||||||
status: TInvoiceStatus;
|
status: TInvoiceStatus;
|
||||||
items: IInvoiceItem[];
|
items: IInvoiceItem[];
|
||||||
|
periodOfPerformance?: {
|
||||||
|
from: number;
|
||||||
|
to: number;
|
||||||
|
};
|
||||||
|
deliveryDate?: number;
|
||||||
printResult?: {
|
printResult?: {
|
||||||
pdfBufferString: string;
|
pdfBufferString: string;
|
||||||
totalNet: number;
|
totalNet: number;
|
||||||
|
Reference in New Issue
Block a user