UNPKG

@arkasuryawan/gp-interfaces

Version:

Geonet Properties Data Interfaces

37 lines (36 loc) 1.08 kB
import { AuditInterface, WhiteLabelInterface, ContactInterface } from "."; import { CurrencyId, ProjectInterface, ProjectLotInterface, ProjectLotVarianceInterface } from "./project.interface"; export declare enum TransactionType { "EOI" = 0, "HOLD" = 1, "CONTRACT" = 2, "DEPOSIT" = 3, "DEPOSIT RETURNED" = 4, "SOLD" = 5 } export interface TransactionInterface extends AuditInterface { id: string; projectId: string; project: ProjectInterface; lotId: string; lot: ProjectLotInterface; lotVarianceId?: string; lotVariance?: ProjectLotVarianceInterface; lastStatus: TransactionType; whiteLabelId?: string; whiteLabel?: WhiteLabelInterface; description?: string; clientId: string; client: ContactInterface; price: number; deposit: number; currency: CurrencyId; } export interface TransactionDetailInterface extends AuditInterface { id: string; transactionID: string; transaction: TransactionInterface; type: TransactionType; description?: string; exporeDate?: string; }