29 lines
545 B
TypeScript
29 lines
545 B
TypeScript
import { IAddress } from '../index';
|
|
|
|
export type TContactSalutation = 'Mr' | 'Ms' | 'Mrs';
|
|
|
|
export type TContactType = 'person' | 'company';
|
|
|
|
export type TContactTitle = 'Doctor' | 'Professor';
|
|
|
|
export interface IContact {
|
|
// =======
|
|
// general
|
|
// =======
|
|
salutation?: TContactSalutation;
|
|
type: TContactType;
|
|
title: TContactTitle;
|
|
name: string;
|
|
surname?: string;
|
|
legalEntity?: string;
|
|
address: IAddress;
|
|
description: string;
|
|
|
|
|
|
// =========
|
|
// financial
|
|
// =========
|
|
vatId?: string;
|
|
bankAccountNumber?: string;
|
|
}
|