38 lines
716 B
TypeScript
38 lines
716 B
TypeScript
import { business } from '..';
|
|
|
|
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: business.IAddress;
|
|
description: string;
|
|
customerNumber?: string;
|
|
email?: string;
|
|
|
|
logoUrl?: string;
|
|
website?: string;
|
|
facebookUrl?: string;
|
|
twitterUrl?: string;
|
|
|
|
phone?: string;
|
|
fax?: string;
|
|
|
|
// =========
|
|
// financial
|
|
// =========
|
|
vatId?: string;
|
|
bankAccountNumber?: string;
|
|
}
|