24 lines
462 B
TypeScript
24 lines
462 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
|
|
address: IAddress
|
|
|
|
// =========
|
|
// financial
|
|
// =========
|
|
vatId?: string
|
|
accountNumber?: string
|
|
} |