UNPKG

@alisdigital/types-library

Version:

TypeScript type definitions for Papilet ecosystem with session soft delete and event management features

50 lines (49 loc) 1.23 kB
import { IProperty, IPropertyTenant } from "./property.response"; export interface IDashboardResponse { rentedProperties: number; properties: number; emptyProperties: number; tenants: number; owners: number; balance: number; consultants: number; last10Expenses: ILast10Expense[]; lastMounth: number; serviceExpenses: IServiceExpense[]; propertieCities: IPropertyCity[]; announcements: any[]; } export interface IPropertyCity { city: string; total: string; } export interface IServiceExpense { mounth: string; total: string; } export interface ILast10Expense { id: string; propertyId: string; propertyTenantId: string; institutionId: null; paytoTransfer: boolean | null; typeId: string; amount: string; description: string; paidAt: string; receiptImageId: string; isActive: boolean; createdAt: string; updatedAt: string; Property: IProperty; PropertyTenant: IPropertyTenant; } export interface IMetadata { bManagement: string; bManagementAccountName: null | string; bManagementUserName: string; bManagementPassword: string; electricity: string; water: string; gas: string; }