@burdenoff/microfe-housingvista 2026.703.13 → 2026.709.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/global-operations.d.ts +2 -0
- package/dist/generated/global-operations.d.ts.map +1 -0
- package/dist/generated/global-types.d.ts +23527 -0
- package/dist/generated/global-types.d.ts.map +1 -0
- package/dist/generated/wspace-operations.d.ts +267 -0
- package/dist/generated/wspace-operations.d.ts.map +1 -0
- package/dist/generated/wspace-operations.js +67 -0
- package/dist/generated/wspace-operations.js.map +1 -0
- package/dist/generated/wspace-types.d.ts +57868 -0
- package/dist/generated/wspace-types.d.ts.map +1 -0
- package/dist/housingvista/HousingVistaRoot.d.ts +5 -0
- package/dist/housingvista/HousingVistaRoot.d.ts.map +1 -0
- package/dist/housingvista/HousingVistaRoutes.d.ts +7 -0
- package/dist/housingvista/HousingVistaRoutes.d.ts.map +1 -0
- package/dist/housingvista/components/Breadcrumbs.d.ts +13 -0
- package/dist/housingvista/components/Breadcrumbs.d.ts.map +1 -0
- package/dist/housingvista/components/ChartCard.d.ts +12 -0
- package/dist/housingvista/components/ChartCard.d.ts.map +1 -0
- package/dist/housingvista/components/ContactOwnerDialog.d.ts +33 -0
- package/dist/housingvista/components/ContactOwnerDialog.d.ts.map +1 -0
- package/dist/housingvista/components/DataTable.d.ts +42 -0
- package/dist/housingvista/components/DataTable.d.ts.map +1 -0
- package/dist/housingvista/components/EmptyState.d.ts +19 -0
- package/dist/housingvista/components/EmptyState.d.ts.map +1 -0
- package/dist/housingvista/components/ErrorBoundary.d.ts +19 -0
- package/dist/housingvista/components/ErrorBoundary.d.ts.map +1 -0
- package/dist/housingvista/components/FileUploader.d.ts +16 -0
- package/dist/housingvista/components/FileUploader.d.ts.map +1 -0
- package/dist/housingvista/components/FilterBar.d.ts +13 -0
- package/dist/housingvista/components/FilterBar.d.ts.map +1 -0
- package/dist/housingvista/components/LoadingSkeleton.d.ts +10 -0
- package/dist/housingvista/components/LoadingSkeleton.d.ts.map +1 -0
- package/dist/housingvista/components/PageLayout.d.ts +18 -0
- package/dist/housingvista/components/PageLayout.d.ts.map +1 -0
- package/dist/housingvista/components/PropertyCard.d.ts +26 -0
- package/dist/housingvista/components/PropertyCard.d.ts.map +1 -0
- package/dist/housingvista/components/ReviewsSection.d.ts +12 -0
- package/dist/housingvista/components/ReviewsSection.d.ts.map +1 -0
- package/dist/housingvista/components/StatCard.d.ts +18 -0
- package/dist/housingvista/components/StatCard.d.ts.map +1 -0
- package/dist/housingvista/components/StatusBadge.d.ts +12 -0
- package/dist/housingvista/components/StatusBadge.d.ts.map +1 -0
- package/dist/housingvista/components/index.d.ts +17 -0
- package/dist/housingvista/components/index.d.ts.map +1 -0
- package/dist/housingvista/context/HousingVistaContext.d.ts +15 -0
- package/dist/housingvista/context/HousingVistaContext.d.ts.map +1 -0
- package/dist/housingvista/hooks/index.d.ts +804 -0
- package/dist/housingvista/hooks/index.d.ts.map +1 -0
- package/dist/housingvista/hooks/index.js +1 -0
- package/dist/housingvista/hooks/index.js.map +1 -1
- package/dist/housingvista/hooks/messages.d.ts +65 -0
- package/dist/housingvista/hooks/messages.d.ts.map +1 -0
- package/dist/housingvista/hooks/platform.d.ts +140 -0
- package/dist/housingvista/hooks/platform.d.ts.map +1 -0
- package/dist/housingvista/hooks/useHousingVistaAnalytics.d.ts +16 -0
- package/dist/housingvista/hooks/useHousingVistaAnalytics.d.ts.map +1 -0
- package/dist/housingvista/hooks/useHousingVistaAnalytics.js +57 -0
- package/dist/housingvista/hooks/useHousingVistaAnalytics.js.map +1 -0
- package/dist/housingvista/hooks/useServerPagination.d.ts +12 -0
- package/dist/housingvista/hooks/useServerPagination.d.ts.map +1 -0
- package/dist/housingvista/index.d.ts +13 -0
- package/dist/housingvista/index.d.ts.map +1 -0
- package/dist/housingvista/index.js +2 -0
- package/dist/housingvista/lib/toast.d.ts +11 -0
- package/dist/housingvista/lib/toast.d.ts.map +1 -0
- package/dist/housingvista/pages/HomePage.d.ts +7 -0
- package/dist/housingvista/pages/HomePage.d.ts.map +1 -0
- package/dist/housingvista/pages/HomePage.js +135 -132
- package/dist/housingvista/pages/HomePage.js.map +1 -1
- package/dist/housingvista/pages/amc/AMCManagementPage.d.ts +2 -0
- package/dist/housingvista/pages/amc/AMCManagementPage.d.ts.map +1 -0
- package/dist/housingvista/pages/analytics/AnalyticsPage.d.ts +2 -0
- package/dist/housingvista/pages/analytics/AnalyticsPage.d.ts.map +1 -0
- package/dist/housingvista/pages/analytics/AnalyticsPage.js +136 -134
- package/dist/housingvista/pages/analytics/AnalyticsPage.js.map +1 -1
- package/dist/housingvista/pages/assets/AssetDetailPage.d.ts +9 -0
- package/dist/housingvista/pages/assets/AssetDetailPage.d.ts.map +1 -0
- package/dist/housingvista/pages/assets/AssetManagementPage.d.ts +2 -0
- package/dist/housingvista/pages/assets/AssetManagementPage.d.ts.map +1 -0
- package/dist/housingvista/pages/assets/AssetManagementPage.js.map +1 -1
- package/dist/housingvista/pages/chat/ChatPage.d.ts +14 -0
- package/dist/housingvista/pages/chat/ChatPage.d.ts.map +1 -0
- package/dist/housingvista/pages/finance/HomeLoanDetailPage.d.ts +11 -0
- package/dist/housingvista/pages/finance/HomeLoanDetailPage.d.ts.map +1 -0
- package/dist/housingvista/pages/finance/HomeLoansPage.d.ts +2 -0
- package/dist/housingvista/pages/finance/HomeLoansPage.d.ts.map +1 -0
- package/dist/housingvista/pages/investments/InvestmentDetailPage.d.ts +2 -0
- package/dist/housingvista/pages/investments/InvestmentDetailPage.d.ts.map +1 -0
- package/dist/housingvista/pages/investments/InvestmentsPage.d.ts +2 -0
- package/dist/housingvista/pages/investments/InvestmentsPage.d.ts.map +1 -0
- package/dist/housingvista/pages/investments/InvestmentsPage.js.map +1 -1
- package/dist/housingvista/pages/legal/LegalPage.d.ts +2 -0
- package/dist/housingvista/pages/legal/LegalPage.d.ts.map +1 -0
- package/dist/housingvista/pages/legal/LegalServiceDetailPage.d.ts +12 -0
- package/dist/housingvista/pages/legal/LegalServiceDetailPage.d.ts.map +1 -0
- package/dist/housingvista/pages/market/AreaInsightsPage.d.ts +2 -0
- package/dist/housingvista/pages/market/AreaInsightsPage.d.ts.map +1 -0
- package/dist/housingvista/pages/market/MarketAnalyticsPage.d.ts +2 -0
- package/dist/housingvista/pages/market/MarketAnalyticsPage.d.ts.map +1 -0
- package/dist/housingvista/pages/marketplace/MarketplacePage.d.ts +2 -0
- package/dist/housingvista/pages/marketplace/MarketplacePage.d.ts.map +1 -0
- package/dist/housingvista/pages/marketplace/ServiceDetailPage.d.ts +12 -0
- package/dist/housingvista/pages/marketplace/ServiceDetailPage.d.ts.map +1 -0
- package/dist/housingvista/pages/offers/OffersPage.d.ts +10 -0
- package/dist/housingvista/pages/offers/OffersPage.d.ts.map +1 -0
- package/dist/housingvista/pages/properties/AddPropertyPage.d.ts +8 -0
- package/dist/housingvista/pages/properties/AddPropertyPage.d.ts.map +1 -0
- package/dist/housingvista/pages/properties/AddPropertyPage.js +279 -278
- package/dist/housingvista/pages/properties/AddPropertyPage.js.map +1 -1
- package/dist/housingvista/pages/properties/PropertiesPage.d.ts +7 -0
- package/dist/housingvista/pages/properties/PropertiesPage.d.ts.map +1 -0
- package/dist/housingvista/pages/properties/PropertiesPage.js +93 -86
- package/dist/housingvista/pages/properties/PropertiesPage.js.map +1 -1
- package/dist/housingvista/pages/properties/PropertyDetailPage.d.ts +9 -0
- package/dist/housingvista/pages/properties/PropertyDetailPage.d.ts.map +1 -0
- package/dist/housingvista/pages/properties/PropertyDetailPage.js +514 -511
- package/dist/housingvista/pages/properties/PropertyDetailPage.js.map +1 -1
- package/dist/housingvista/pages/rental/RentalManagementPage.d.ts +2 -0
- package/dist/housingvista/pages/rental/RentalManagementPage.d.ts.map +1 -0
- package/dist/housingvista/pages/settings/ProfilePage.d.ts +2 -0
- package/dist/housingvista/pages/settings/ProfilePage.d.ts.map +1 -0
- package/dist/housingvista/pages/settings/SettingsPage.d.ts +2 -0
- package/dist/housingvista/pages/settings/SettingsPage.d.ts.map +1 -0
- package/dist/housingvista/pages/shortlist/ShortlistPage.d.ts +8 -0
- package/dist/housingvista/pages/shortlist/ShortlistPage.d.ts.map +1 -0
- package/dist/housingvista/pages/transactions/TransactionDetailPage.d.ts +8 -0
- package/dist/housingvista/pages/transactions/TransactionDetailPage.d.ts.map +1 -0
- package/dist/housingvista/pages/transactions/TransactionsPage.d.ts +7 -0
- package/dist/housingvista/pages/transactions/TransactionsPage.d.ts.map +1 -0
- package/dist/housingvista/pages/transactions/milestones.d.ts +35 -0
- package/dist/housingvista/pages/transactions/milestones.d.ts.map +1 -0
- package/dist/housingvista/pages/verification/VerificationDetailPage.d.ts +10 -0
- package/dist/housingvista/pages/verification/VerificationDetailPage.d.ts.map +1 -0
- package/dist/housingvista/pages/verification/VerificationPage.d.ts +2 -0
- package/dist/housingvista/pages/verification/VerificationPage.d.ts.map +1 -0
- package/dist/housingvista/pages/viewings/ViewingsPage.d.ts +9 -0
- package/dist/housingvista/pages/viewings/ViewingsPage.d.ts.map +1 -0
- package/dist/housingvista/services/assistantApi.d.ts +90 -0
- package/dist/housingvista/services/assistantApi.d.ts.map +1 -0
- package/dist/housingvista/services/assistantApi.js +222 -0
- package/dist/housingvista/services/assistantApi.js.map +1 -0
- package/dist/housingvista/services/createSandboxAssistantTransport.d.ts +42 -0
- package/dist/housingvista/services/createSandboxAssistantTransport.d.ts.map +1 -0
- package/dist/housingvista/services/createSandboxAssistantTransport.js +120 -0
- package/dist/housingvista/services/createSandboxAssistantTransport.js.map +1 -0
- package/dist/housingvista/store/housingvistaStore.d.ts +72 -0
- package/dist/housingvista/store/housingvistaStore.d.ts.map +1 -0
- package/dist/housingvista/types/assistant.d.ts +16 -0
- package/dist/housingvista/types/assistant.d.ts.map +1 -0
- package/dist/housingvista/types/index.d.ts +1328 -0
- package/dist/housingvista/types/index.d.ts.map +1 -0
- package/dist/housingvista/utils/helpers.d.ts +25 -0
- package/dist/housingvista/utils/helpers.d.ts.map +1 -0
- package/dist/housingvista/utils/index.d.ts +2 -0
- package/dist/housingvista/utils/index.d.ts.map +1 -0
- package/dist/housingvista/utils/pageContext.d.ts +25 -0
- package/dist/housingvista/utils/pageContext.d.ts.map +1 -0
- package/dist/housingvista/utils/pageContext.js +77 -0
- package/dist/housingvista/utils/pageContext.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +5 -3
- package/package.json +6 -2
|
@@ -0,0 +1,804 @@
|
|
|
1
|
+
import { Property, Transaction, Investment, DashboardStats, RecentActivity, RentalUnit, Asset, AMCContract, MarketplaceService, VerificationItem, LegalService, HomeLoan, MarketTrend, AreaInsight, AnalyticsChartData, PropertyType, PropertyStatus } from '../types';
|
|
2
|
+
|
|
3
|
+
export type PaginationInput = {
|
|
4
|
+
limit?: number;
|
|
5
|
+
offset?: number;
|
|
6
|
+
};
|
|
7
|
+
export type PropertyFilterInput = {
|
|
8
|
+
search?: string;
|
|
9
|
+
status?: PropertyStatus;
|
|
10
|
+
type?: PropertyType;
|
|
11
|
+
city?: string;
|
|
12
|
+
};
|
|
13
|
+
export type TransactionFilterInput = {
|
|
14
|
+
search?: string;
|
|
15
|
+
status?: string;
|
|
16
|
+
type?: string;
|
|
17
|
+
propertyId?: string;
|
|
18
|
+
};
|
|
19
|
+
export type InvestmentFilterInput = {
|
|
20
|
+
search?: string;
|
|
21
|
+
status?: string;
|
|
22
|
+
investmentType?: string;
|
|
23
|
+
riskLevel?: string;
|
|
24
|
+
propertyId?: string;
|
|
25
|
+
};
|
|
26
|
+
export type RentalUnitFilterInput = {
|
|
27
|
+
search?: string;
|
|
28
|
+
status?: string;
|
|
29
|
+
paymentStatus?: string;
|
|
30
|
+
propertyId?: string;
|
|
31
|
+
};
|
|
32
|
+
export type AssetFilterInput = {
|
|
33
|
+
search?: string;
|
|
34
|
+
status?: string;
|
|
35
|
+
type?: string;
|
|
36
|
+
category?: string;
|
|
37
|
+
};
|
|
38
|
+
export type AmcContractFilterInput = {
|
|
39
|
+
search?: string;
|
|
40
|
+
status?: string;
|
|
41
|
+
propertyId?: string;
|
|
42
|
+
};
|
|
43
|
+
export type MarketplaceServiceFilterInput = {
|
|
44
|
+
search?: string;
|
|
45
|
+
category?: string;
|
|
46
|
+
verified?: boolean;
|
|
47
|
+
};
|
|
48
|
+
export type LegalServiceFilterInput = {
|
|
49
|
+
search?: string;
|
|
50
|
+
status?: string;
|
|
51
|
+
category?: string;
|
|
52
|
+
};
|
|
53
|
+
export type VerificationItemFilterInput = {
|
|
54
|
+
search?: string;
|
|
55
|
+
status?: string;
|
|
56
|
+
priority?: string;
|
|
57
|
+
entityType?: string;
|
|
58
|
+
};
|
|
59
|
+
export type ViewingFilterInput = {
|
|
60
|
+
search?: string;
|
|
61
|
+
status?: string;
|
|
62
|
+
type?: string;
|
|
63
|
+
propertyId?: string;
|
|
64
|
+
};
|
|
65
|
+
export type OfferFilterInput = {
|
|
66
|
+
status?: string;
|
|
67
|
+
propertyId?: string;
|
|
68
|
+
};
|
|
69
|
+
export type RentalApplicationFilterInput = {
|
|
70
|
+
search?: string;
|
|
71
|
+
status?: string;
|
|
72
|
+
rentalUnitId?: string;
|
|
73
|
+
};
|
|
74
|
+
export type MaintenanceRequestFilterInput = {
|
|
75
|
+
search?: string;
|
|
76
|
+
status?: string;
|
|
77
|
+
priority?: 'low' | 'medium' | 'high';
|
|
78
|
+
category?: string;
|
|
79
|
+
propertyId?: string;
|
|
80
|
+
rentalUnitId?: string;
|
|
81
|
+
};
|
|
82
|
+
/** Options accepted by every server-filtered list hook. */
|
|
83
|
+
export interface ListOptions<TFilter> {
|
|
84
|
+
filter?: TFilter;
|
|
85
|
+
pagination?: PaginationInput;
|
|
86
|
+
}
|
|
87
|
+
interface PropertyRow {
|
|
88
|
+
id: string;
|
|
89
|
+
title: string;
|
|
90
|
+
description: string | null;
|
|
91
|
+
type: Property['type'];
|
|
92
|
+
status: Property['status'];
|
|
93
|
+
category: string;
|
|
94
|
+
verificationStatus: string;
|
|
95
|
+
imageUrl: string | null;
|
|
96
|
+
createdAt: string;
|
|
97
|
+
updatedAt: string;
|
|
98
|
+
price: Property['price'];
|
|
99
|
+
location: Omit<Property['location'], 'coordinates'> & {
|
|
100
|
+
coordinates: {
|
|
101
|
+
latitude: number;
|
|
102
|
+
longitude: number;
|
|
103
|
+
} | null;
|
|
104
|
+
};
|
|
105
|
+
specifications: Property['specifications'];
|
|
106
|
+
amenities: Property['amenities'];
|
|
107
|
+
images: Property['images'];
|
|
108
|
+
}
|
|
109
|
+
interface TransactionRow {
|
|
110
|
+
id: string;
|
|
111
|
+
title: string;
|
|
112
|
+
type: string;
|
|
113
|
+
status: string;
|
|
114
|
+
amount: number;
|
|
115
|
+
currency: string;
|
|
116
|
+
documents: unknown;
|
|
117
|
+
milestones: unknown;
|
|
118
|
+
parties: unknown;
|
|
119
|
+
escrow: unknown;
|
|
120
|
+
createdAt: string;
|
|
121
|
+
updatedAt: string;
|
|
122
|
+
property: PropertyRow | null;
|
|
123
|
+
buyer: TxParty | null;
|
|
124
|
+
seller: TxParty | null;
|
|
125
|
+
tenant: TxParty | null;
|
|
126
|
+
landlord: TxParty | null;
|
|
127
|
+
}
|
|
128
|
+
interface TxParty {
|
|
129
|
+
id: string | null;
|
|
130
|
+
firstName: string | null;
|
|
131
|
+
lastName: string | null;
|
|
132
|
+
avatar: string | null;
|
|
133
|
+
}
|
|
134
|
+
interface InvestmentRow {
|
|
135
|
+
id: string;
|
|
136
|
+
title: string;
|
|
137
|
+
investmentType: string;
|
|
138
|
+
totalValue: number;
|
|
139
|
+
status: string;
|
|
140
|
+
startDate: string;
|
|
141
|
+
maturityDate: string | null;
|
|
142
|
+
riskLevel: string;
|
|
143
|
+
investors: unknown;
|
|
144
|
+
returns: unknown;
|
|
145
|
+
property: PropertyRow | null;
|
|
146
|
+
}
|
|
147
|
+
interface ShortlistRow {
|
|
148
|
+
id: string;
|
|
149
|
+
propertyId: string;
|
|
150
|
+
notes: string | null;
|
|
151
|
+
createdAt: string;
|
|
152
|
+
property: PropertyRow;
|
|
153
|
+
}
|
|
154
|
+
export declare const useDashboardStats: () => {
|
|
155
|
+
data: DashboardStats;
|
|
156
|
+
loading: boolean;
|
|
157
|
+
error: import('@apollo/client').ErrorLike | undefined;
|
|
158
|
+
};
|
|
159
|
+
export declare const useRecentActivities: (pagination?: PaginationInput) => {
|
|
160
|
+
data: RecentActivity[];
|
|
161
|
+
loading: boolean;
|
|
162
|
+
error: import('@apollo/client').ErrorLike | undefined;
|
|
163
|
+
};
|
|
164
|
+
export declare const useProperties: (options?: {
|
|
165
|
+
filter?: PropertyFilterInput;
|
|
166
|
+
pagination?: PaginationInput;
|
|
167
|
+
}) => {
|
|
168
|
+
data: Property[];
|
|
169
|
+
loading: boolean;
|
|
170
|
+
error: import('@apollo/client').ErrorLike | undefined;
|
|
171
|
+
refetch: (variables?: Partial<import('@apollo/client').OperationVariables> | undefined) => Promise<{
|
|
172
|
+
data: {
|
|
173
|
+
housingvistaProperties: PropertyRow[];
|
|
174
|
+
} | undefined;
|
|
175
|
+
error?: import('@apollo/client').ErrorLike;
|
|
176
|
+
}>;
|
|
177
|
+
};
|
|
178
|
+
export declare const useProperty: (id: string | undefined) => {
|
|
179
|
+
data: Property | null;
|
|
180
|
+
loading: boolean;
|
|
181
|
+
error: import('@apollo/client').ErrorLike | undefined;
|
|
182
|
+
};
|
|
183
|
+
export declare const useTransactions: (options?: ListOptions<TransactionFilterInput>) => {
|
|
184
|
+
data: Transaction[];
|
|
185
|
+
loading: boolean;
|
|
186
|
+
error: import('@apollo/client').ErrorLike | undefined;
|
|
187
|
+
refetch: (variables?: Partial<import('@apollo/client').OperationVariables> | undefined) => Promise<{
|
|
188
|
+
data: {
|
|
189
|
+
housingvistaTransactions: TransactionRow[];
|
|
190
|
+
} | undefined;
|
|
191
|
+
error?: import('@apollo/client').ErrorLike;
|
|
192
|
+
}>;
|
|
193
|
+
};
|
|
194
|
+
export declare const useTransaction: (id: string | undefined) => {
|
|
195
|
+
data: Transaction | null;
|
|
196
|
+
loading: boolean;
|
|
197
|
+
error: import('@apollo/client').ErrorLike | undefined;
|
|
198
|
+
};
|
|
199
|
+
export declare const useInvestments: (options?: ListOptions<InvestmentFilterInput>) => {
|
|
200
|
+
data: Investment[];
|
|
201
|
+
loading: boolean;
|
|
202
|
+
error: import('@apollo/client').ErrorLike | undefined;
|
|
203
|
+
refetch: (variables?: Partial<import('@apollo/client').OperationVariables> | undefined) => Promise<{
|
|
204
|
+
data: {
|
|
205
|
+
housingvistaInvestments: InvestmentRow[];
|
|
206
|
+
} | undefined;
|
|
207
|
+
error?: import('@apollo/client').ErrorLike;
|
|
208
|
+
}>;
|
|
209
|
+
};
|
|
210
|
+
export declare const useInvestment: (id: string | undefined) => {
|
|
211
|
+
data: Investment | null;
|
|
212
|
+
loading: boolean;
|
|
213
|
+
error: import('@apollo/client').ErrorLike | undefined;
|
|
214
|
+
};
|
|
215
|
+
export declare const useRentalUnits: (options?: ListOptions<RentalUnitFilterInput>) => {
|
|
216
|
+
data: RentalUnit[];
|
|
217
|
+
loading: boolean;
|
|
218
|
+
error: import('@apollo/client').ErrorLike | undefined;
|
|
219
|
+
refetch: (variables?: Partial<import('@apollo/client').OperationVariables> | undefined) => Promise<{
|
|
220
|
+
data: {
|
|
221
|
+
housingvistaRentalUnits: RentalUnit[];
|
|
222
|
+
} | undefined;
|
|
223
|
+
error?: import('@apollo/client').ErrorLike;
|
|
224
|
+
}>;
|
|
225
|
+
};
|
|
226
|
+
export declare const useAssets: (options?: ListOptions<AssetFilterInput>) => {
|
|
227
|
+
data: Asset[];
|
|
228
|
+
loading: boolean;
|
|
229
|
+
error: import('@apollo/client').ErrorLike | undefined;
|
|
230
|
+
refetch: (variables?: Partial<import('@apollo/client').OperationVariables> | undefined) => Promise<{
|
|
231
|
+
data: {
|
|
232
|
+
housingvistaAssets: Asset[];
|
|
233
|
+
} | undefined;
|
|
234
|
+
error?: import('@apollo/client').ErrorLike;
|
|
235
|
+
}>;
|
|
236
|
+
};
|
|
237
|
+
export declare const useAsset: (id: string | undefined) => {
|
|
238
|
+
data: Asset | null;
|
|
239
|
+
loading: boolean;
|
|
240
|
+
error: import('@apollo/client').ErrorLike | undefined;
|
|
241
|
+
};
|
|
242
|
+
export declare const useAMCContracts: (options?: ListOptions<AmcContractFilterInput>) => {
|
|
243
|
+
data: AMCContract[];
|
|
244
|
+
loading: boolean;
|
|
245
|
+
error: import('@apollo/client').ErrorLike | undefined;
|
|
246
|
+
refetch: (variables?: Partial<import('@apollo/client').OperationVariables> | undefined) => Promise<{
|
|
247
|
+
data: {
|
|
248
|
+
housingvistaAmcContracts: AMCContract[];
|
|
249
|
+
} | undefined;
|
|
250
|
+
error?: import('@apollo/client').ErrorLike;
|
|
251
|
+
}>;
|
|
252
|
+
};
|
|
253
|
+
export declare const useMarketplaceServices: (options?: ListOptions<MarketplaceServiceFilterInput>) => {
|
|
254
|
+
data: MarketplaceService[];
|
|
255
|
+
loading: boolean;
|
|
256
|
+
error: import('@apollo/client').ErrorLike | undefined;
|
|
257
|
+
refetch: (variables?: Partial<import('@apollo/client').OperationVariables> | undefined) => Promise<{
|
|
258
|
+
data: {
|
|
259
|
+
housingvistaMarketplaceServices: MarketplaceService[];
|
|
260
|
+
} | undefined;
|
|
261
|
+
error?: import('@apollo/client').ErrorLike;
|
|
262
|
+
}>;
|
|
263
|
+
};
|
|
264
|
+
export declare const useMarketplaceService: (id: string | undefined) => {
|
|
265
|
+
data: MarketplaceService | null;
|
|
266
|
+
loading: boolean;
|
|
267
|
+
error: import('@apollo/client').ErrorLike | undefined;
|
|
268
|
+
};
|
|
269
|
+
export declare const useVerifications: (options?: ListOptions<VerificationItemFilterInput>) => {
|
|
270
|
+
data: VerificationItem[];
|
|
271
|
+
loading: boolean;
|
|
272
|
+
error: import('@apollo/client').ErrorLike | undefined;
|
|
273
|
+
refetch: (variables?: Partial<import('@apollo/client').OperationVariables> | undefined) => Promise<{
|
|
274
|
+
data: {
|
|
275
|
+
housingvistaVerificationItems: VerificationItem[];
|
|
276
|
+
} | undefined;
|
|
277
|
+
error?: import('@apollo/client').ErrorLike;
|
|
278
|
+
}>;
|
|
279
|
+
};
|
|
280
|
+
/**
|
|
281
|
+
* Single verification item. The detail view needs the audit timestamps
|
|
282
|
+
* (`createdAt`/`updatedAt`) that the list type omits, so the result is typed as
|
|
283
|
+
* `VerificationItem` extended with those ISO-string fields.
|
|
284
|
+
*/
|
|
285
|
+
export type VerificationItemDetail = VerificationItem & {
|
|
286
|
+
createdAt: string;
|
|
287
|
+
updatedAt: string;
|
|
288
|
+
};
|
|
289
|
+
export declare const useVerificationItem: (id: string | undefined) => {
|
|
290
|
+
data: VerificationItemDetail | null;
|
|
291
|
+
loading: boolean;
|
|
292
|
+
error: import('@apollo/client').ErrorLike | undefined;
|
|
293
|
+
refetch: (variables?: Partial<import('@apollo/client').OperationVariables> | undefined) => Promise<{
|
|
294
|
+
data: {
|
|
295
|
+
housingvistaVerificationItem: VerificationItemDetail | null;
|
|
296
|
+
} | undefined;
|
|
297
|
+
error?: import('@apollo/client').ErrorLike;
|
|
298
|
+
}>;
|
|
299
|
+
};
|
|
300
|
+
export declare const useLegalServices: (options?: ListOptions<LegalServiceFilterInput>) => {
|
|
301
|
+
data: LegalService[];
|
|
302
|
+
loading: boolean;
|
|
303
|
+
error: import('@apollo/client').ErrorLike | undefined;
|
|
304
|
+
refetch: (variables?: Partial<import('@apollo/client').OperationVariables> | undefined) => Promise<{
|
|
305
|
+
data: {
|
|
306
|
+
housingvistaLegalServices: LegalService[];
|
|
307
|
+
} | undefined;
|
|
308
|
+
error?: import('@apollo/client').ErrorLike;
|
|
309
|
+
}>;
|
|
310
|
+
};
|
|
311
|
+
export declare const useLegalService: (id: string | undefined) => {
|
|
312
|
+
data: LegalService | null;
|
|
313
|
+
loading: boolean;
|
|
314
|
+
error: import('@apollo/client').ErrorLike | undefined;
|
|
315
|
+
};
|
|
316
|
+
export declare const useHomeLoans: (pagination?: PaginationInput) => {
|
|
317
|
+
data: HomeLoan[];
|
|
318
|
+
loading: boolean;
|
|
319
|
+
error: import('@apollo/client').ErrorLike | undefined;
|
|
320
|
+
};
|
|
321
|
+
export declare const useHomeLoanOffer: (id: string | undefined) => {
|
|
322
|
+
data: HomeLoan | null;
|
|
323
|
+
loading: boolean;
|
|
324
|
+
error: import('@apollo/client').ErrorLike | undefined;
|
|
325
|
+
};
|
|
326
|
+
export declare const useMarketTrends: (pagination?: PaginationInput) => {
|
|
327
|
+
data: MarketTrend[];
|
|
328
|
+
loading: boolean;
|
|
329
|
+
error: import('@apollo/client').ErrorLike | undefined;
|
|
330
|
+
};
|
|
331
|
+
export declare const useAreaInsights: (pagination?: PaginationInput) => {
|
|
332
|
+
data: AreaInsight[];
|
|
333
|
+
loading: boolean;
|
|
334
|
+
error: import('@apollo/client').ErrorLike | undefined;
|
|
335
|
+
};
|
|
336
|
+
export declare const useShortlists: (pagination?: PaginationInput) => {
|
|
337
|
+
data: {
|
|
338
|
+
id: string;
|
|
339
|
+
propertyId: string;
|
|
340
|
+
notes: string | undefined;
|
|
341
|
+
createdAt: string;
|
|
342
|
+
property: Property;
|
|
343
|
+
}[];
|
|
344
|
+
loading: boolean;
|
|
345
|
+
error: import('@apollo/client').ErrorLike | undefined;
|
|
346
|
+
refetch: (variables?: Partial<import('@apollo/client').OperationVariables> | undefined) => Promise<{
|
|
347
|
+
data: {
|
|
348
|
+
housingvistaShortlists: ShortlistRow[];
|
|
349
|
+
} | undefined;
|
|
350
|
+
error?: import('@apollo/client').ErrorLike;
|
|
351
|
+
}>;
|
|
352
|
+
};
|
|
353
|
+
export declare const useAnalyticsData: () => {
|
|
354
|
+
data: AnalyticsChartData | null;
|
|
355
|
+
loading: boolean;
|
|
356
|
+
error: import('@apollo/client').ErrorLike | undefined;
|
|
357
|
+
};
|
|
358
|
+
export interface OfferRow {
|
|
359
|
+
id: string;
|
|
360
|
+
propertyId: string;
|
|
361
|
+
amount: number;
|
|
362
|
+
counterAmount: number | null;
|
|
363
|
+
currency: string;
|
|
364
|
+
status: 'submitted' | 'countered' | 'accepted' | 'rejected' | 'withdrawn';
|
|
365
|
+
notes: string | null;
|
|
366
|
+
respondedAt: string | null;
|
|
367
|
+
createdAt: string;
|
|
368
|
+
updatedAt: string;
|
|
369
|
+
property: {
|
|
370
|
+
id: string;
|
|
371
|
+
title: string;
|
|
372
|
+
location: {
|
|
373
|
+
city: string;
|
|
374
|
+
state: string;
|
|
375
|
+
};
|
|
376
|
+
images: {
|
|
377
|
+
id: string;
|
|
378
|
+
url: string;
|
|
379
|
+
isPrimary: boolean;
|
|
380
|
+
}[];
|
|
381
|
+
price: {
|
|
382
|
+
amount: number;
|
|
383
|
+
currency: string;
|
|
384
|
+
};
|
|
385
|
+
} | null;
|
|
386
|
+
}
|
|
387
|
+
export declare const useOffers: (options?: ListOptions<OfferFilterInput>) => {
|
|
388
|
+
data: OfferRow[];
|
|
389
|
+
loading: boolean;
|
|
390
|
+
error: import('@apollo/client').ErrorLike | undefined;
|
|
391
|
+
refetch: (variables?: Partial<import('@apollo/client').OperationVariables> | undefined) => Promise<{
|
|
392
|
+
data: {
|
|
393
|
+
housingvistaOffers: OfferRow[];
|
|
394
|
+
} | undefined;
|
|
395
|
+
error?: import('@apollo/client').ErrorLike;
|
|
396
|
+
}>;
|
|
397
|
+
};
|
|
398
|
+
export declare const useOffer: (id: string | undefined) => {
|
|
399
|
+
data: OfferRow | null;
|
|
400
|
+
loading: boolean;
|
|
401
|
+
error: import('@apollo/client').ErrorLike | undefined;
|
|
402
|
+
refetch: (variables?: Partial<import('@apollo/client').OperationVariables> | undefined) => Promise<{
|
|
403
|
+
data: {
|
|
404
|
+
housingvistaOffer: OfferRow | null;
|
|
405
|
+
} | undefined;
|
|
406
|
+
error?: import('@apollo/client').ErrorLike;
|
|
407
|
+
}>;
|
|
408
|
+
};
|
|
409
|
+
export interface ViewingRow {
|
|
410
|
+
id: string;
|
|
411
|
+
propertyId: string;
|
|
412
|
+
scheduledAt: string;
|
|
413
|
+
type: 'in_person' | 'virtual';
|
|
414
|
+
status: 'requested' | 'confirmed' | 'completed' | 'cancelled';
|
|
415
|
+
attendeeName: string | null;
|
|
416
|
+
attendeeEmail: string | null;
|
|
417
|
+
notes: string | null;
|
|
418
|
+
createdAt: string;
|
|
419
|
+
updatedAt: string;
|
|
420
|
+
property: {
|
|
421
|
+
id: string;
|
|
422
|
+
title: string;
|
|
423
|
+
location: {
|
|
424
|
+
city: string;
|
|
425
|
+
state: string;
|
|
426
|
+
};
|
|
427
|
+
images: {
|
|
428
|
+
id: string;
|
|
429
|
+
url: string;
|
|
430
|
+
isPrimary: boolean;
|
|
431
|
+
}[];
|
|
432
|
+
} | null;
|
|
433
|
+
}
|
|
434
|
+
export declare const useViewings: (options?: ListOptions<ViewingFilterInput>) => {
|
|
435
|
+
data: ViewingRow[];
|
|
436
|
+
loading: boolean;
|
|
437
|
+
error: import('@apollo/client').ErrorLike | undefined;
|
|
438
|
+
refetch: (variables?: Partial<import('@apollo/client').OperationVariables> | undefined) => Promise<{
|
|
439
|
+
data: {
|
|
440
|
+
housingvistaViewings: ViewingRow[];
|
|
441
|
+
} | undefined;
|
|
442
|
+
error?: import('@apollo/client').ErrorLike;
|
|
443
|
+
}>;
|
|
444
|
+
};
|
|
445
|
+
export declare const useViewing: (id: string | undefined) => {
|
|
446
|
+
data: ViewingRow | null;
|
|
447
|
+
loading: boolean;
|
|
448
|
+
error: import('@apollo/client').ErrorLike | undefined;
|
|
449
|
+
refetch: (variables?: Partial<import('@apollo/client').OperationVariables> | undefined) => Promise<{
|
|
450
|
+
data: {
|
|
451
|
+
housingvistaViewing: ViewingRow | null;
|
|
452
|
+
} | undefined;
|
|
453
|
+
error?: import('@apollo/client').ErrorLike;
|
|
454
|
+
}>;
|
|
455
|
+
};
|
|
456
|
+
export interface RentalApplicationRow {
|
|
457
|
+
id: string;
|
|
458
|
+
rentalUnitId: string;
|
|
459
|
+
applicantName: string;
|
|
460
|
+
applicantEmail: string;
|
|
461
|
+
applicantPhone: string | null;
|
|
462
|
+
monthlyIncome: number | null;
|
|
463
|
+
moveInDate: string | null;
|
|
464
|
+
status: 'submitted' | 'screening' | 'approved' | 'rejected';
|
|
465
|
+
reviewNotes: string | null;
|
|
466
|
+
reviewedAt: string | null;
|
|
467
|
+
createdAt: string;
|
|
468
|
+
updatedAt: string;
|
|
469
|
+
rentalUnit: {
|
|
470
|
+
id: string;
|
|
471
|
+
unitNumber: string;
|
|
472
|
+
propertyTitle: string;
|
|
473
|
+
monthlyRent: number;
|
|
474
|
+
} | null;
|
|
475
|
+
}
|
|
476
|
+
export declare const useRentalApplications: (options?: ListOptions<RentalApplicationFilterInput>) => {
|
|
477
|
+
data: RentalApplicationRow[];
|
|
478
|
+
loading: boolean;
|
|
479
|
+
error: import('@apollo/client').ErrorLike | undefined;
|
|
480
|
+
refetch: (variables?: Partial<import('@apollo/client').OperationVariables> | undefined) => Promise<{
|
|
481
|
+
data: {
|
|
482
|
+
housingvistaRentalApplications: RentalApplicationRow[];
|
|
483
|
+
} | undefined;
|
|
484
|
+
error?: import('@apollo/client').ErrorLike;
|
|
485
|
+
}>;
|
|
486
|
+
};
|
|
487
|
+
export interface MaintenanceRequestRow {
|
|
488
|
+
id: string;
|
|
489
|
+
propertyId: string | null;
|
|
490
|
+
rentalUnitId: string | null;
|
|
491
|
+
title: string;
|
|
492
|
+
description: string | null;
|
|
493
|
+
category: string;
|
|
494
|
+
priority: 'low' | 'medium' | 'high';
|
|
495
|
+
status: 'open' | 'in_progress' | 'resolved';
|
|
496
|
+
resolutionNotes: string | null;
|
|
497
|
+
resolvedAt: string | null;
|
|
498
|
+
createdAt: string;
|
|
499
|
+
updatedAt: string;
|
|
500
|
+
}
|
|
501
|
+
export declare const useMaintenanceRequests: (options?: ListOptions<MaintenanceRequestFilterInput>) => {
|
|
502
|
+
data: MaintenanceRequestRow[];
|
|
503
|
+
loading: boolean;
|
|
504
|
+
error: import('@apollo/client').ErrorLike | undefined;
|
|
505
|
+
refetch: (variables?: Partial<import('@apollo/client').OperationVariables> | undefined) => Promise<{
|
|
506
|
+
data: {
|
|
507
|
+
housingvistaMaintenanceRequests: MaintenanceRequestRow[];
|
|
508
|
+
} | undefined;
|
|
509
|
+
error?: import('@apollo/client').ErrorLike;
|
|
510
|
+
}>;
|
|
511
|
+
};
|
|
512
|
+
export interface CreatePropertyInput {
|
|
513
|
+
title: string;
|
|
514
|
+
description?: string;
|
|
515
|
+
status: PropertyStatus;
|
|
516
|
+
type: PropertyType;
|
|
517
|
+
category: string;
|
|
518
|
+
address?: string;
|
|
519
|
+
city: string;
|
|
520
|
+
state: string;
|
|
521
|
+
country?: string;
|
|
522
|
+
pincode?: string;
|
|
523
|
+
neighborhood?: string;
|
|
524
|
+
landmarks?: string[];
|
|
525
|
+
price: number;
|
|
526
|
+
currency?: string;
|
|
527
|
+
priceType?: string;
|
|
528
|
+
pricePeriod?: string;
|
|
529
|
+
negotiable?: boolean;
|
|
530
|
+
pricePerSqft?: number;
|
|
531
|
+
bedrooms: number;
|
|
532
|
+
bathrooms: number;
|
|
533
|
+
totalArea: number;
|
|
534
|
+
carpetArea?: number;
|
|
535
|
+
builtUpArea?: number;
|
|
536
|
+
floors?: number;
|
|
537
|
+
totalFloors?: number;
|
|
538
|
+
parking?: number;
|
|
539
|
+
balconies?: number;
|
|
540
|
+
furnishingStatus?: string;
|
|
541
|
+
ageOfProperty?: number;
|
|
542
|
+
facing?: string;
|
|
543
|
+
amenities?: {
|
|
544
|
+
name: string;
|
|
545
|
+
category: string;
|
|
546
|
+
available?: boolean;
|
|
547
|
+
}[];
|
|
548
|
+
images?: {
|
|
549
|
+
url: string;
|
|
550
|
+
title?: string;
|
|
551
|
+
type?: string;
|
|
552
|
+
order?: number;
|
|
553
|
+
isPrimary?: boolean;
|
|
554
|
+
}[];
|
|
555
|
+
imageUrl?: string;
|
|
556
|
+
}
|
|
557
|
+
export type UpdatePropertyInput = Partial<CreatePropertyInput>;
|
|
558
|
+
export declare const useCreateProperty: () => {
|
|
559
|
+
createProperty: (input: CreatePropertyInput) => Promise<Property>;
|
|
560
|
+
loading: boolean;
|
|
561
|
+
};
|
|
562
|
+
export declare const useUpdateProperty: () => {
|
|
563
|
+
updateProperty: (id: string, input: UpdatePropertyInput) => Promise<Property>;
|
|
564
|
+
loading: boolean;
|
|
565
|
+
};
|
|
566
|
+
export declare const useDeleteProperty: () => {
|
|
567
|
+
deleteProperty: (id: string) => Promise<boolean>;
|
|
568
|
+
loading: boolean;
|
|
569
|
+
};
|
|
570
|
+
export declare const useSaveShortlist: () => {
|
|
571
|
+
saveShortlist: (propertyId: string, notes?: string) => Promise<void>;
|
|
572
|
+
loading: boolean;
|
|
573
|
+
};
|
|
574
|
+
export declare const useRemoveShortlist: () => {
|
|
575
|
+
removeShortlist: (propertyId: string) => Promise<void>;
|
|
576
|
+
loading: boolean;
|
|
577
|
+
};
|
|
578
|
+
export interface BookViewingInput {
|
|
579
|
+
propertyId: string;
|
|
580
|
+
scheduledAt: string;
|
|
581
|
+
type?: 'in_person' | 'virtual';
|
|
582
|
+
attendeeName?: string;
|
|
583
|
+
attendeeEmail?: string;
|
|
584
|
+
notes?: string;
|
|
585
|
+
}
|
|
586
|
+
export declare const useBookViewing: () => {
|
|
587
|
+
bookViewing: (input: BookViewingInput) => Promise<void>;
|
|
588
|
+
loading: boolean;
|
|
589
|
+
};
|
|
590
|
+
export declare const useCancelViewing: () => {
|
|
591
|
+
cancelViewing: (id: string) => Promise<void>;
|
|
592
|
+
loading: boolean;
|
|
593
|
+
};
|
|
594
|
+
export interface SubmitOfferInput {
|
|
595
|
+
propertyId: string;
|
|
596
|
+
amount: number;
|
|
597
|
+
currency?: string;
|
|
598
|
+
notes?: string;
|
|
599
|
+
}
|
|
600
|
+
export declare const useSubmitOffer: () => {
|
|
601
|
+
submitOffer: (input: SubmitOfferInput) => Promise<void>;
|
|
602
|
+
loading: boolean;
|
|
603
|
+
};
|
|
604
|
+
export declare const useRespondOffer: () => {
|
|
605
|
+
respondOffer: (id: string, input: {
|
|
606
|
+
action: "accept" | "reject" | "counter";
|
|
607
|
+
counterAmount?: number;
|
|
608
|
+
notes?: string;
|
|
609
|
+
}) => Promise<void>;
|
|
610
|
+
loading: boolean;
|
|
611
|
+
};
|
|
612
|
+
export interface CreateTransactionInput {
|
|
613
|
+
propertyId: string;
|
|
614
|
+
title: string;
|
|
615
|
+
type: string;
|
|
616
|
+
status: string;
|
|
617
|
+
amount: number;
|
|
618
|
+
currency?: string;
|
|
619
|
+
}
|
|
620
|
+
export declare const useCreateTransaction: () => {
|
|
621
|
+
createTransaction: (input: CreateTransactionInput) => Promise<void>;
|
|
622
|
+
loading: boolean;
|
|
623
|
+
};
|
|
624
|
+
export interface CreateInvestmentInput {
|
|
625
|
+
propertyId: string;
|
|
626
|
+
title: string;
|
|
627
|
+
status: string;
|
|
628
|
+
investmentType: string;
|
|
629
|
+
riskLevel: string;
|
|
630
|
+
totalValue: number;
|
|
631
|
+
startDate?: string;
|
|
632
|
+
maturityDate?: string;
|
|
633
|
+
}
|
|
634
|
+
export declare const useCreateInvestment: () => {
|
|
635
|
+
createInvestment: (input: CreateInvestmentInput) => Promise<void>;
|
|
636
|
+
loading: boolean;
|
|
637
|
+
};
|
|
638
|
+
export interface CreateRentalUnitInput {
|
|
639
|
+
propertyId?: string;
|
|
640
|
+
propertyTitle: string;
|
|
641
|
+
unitNumber: string;
|
|
642
|
+
tenantName: string;
|
|
643
|
+
tenantEmail: string;
|
|
644
|
+
tenantPhone?: string;
|
|
645
|
+
monthlyRent: number;
|
|
646
|
+
leaseStart: string;
|
|
647
|
+
leaseEnd: string;
|
|
648
|
+
status: string;
|
|
649
|
+
paymentStatus: string;
|
|
650
|
+
securityDeposit?: number;
|
|
651
|
+
}
|
|
652
|
+
export declare const useCreateRentalUnit: () => {
|
|
653
|
+
createRentalUnit: (input: CreateRentalUnitInput) => Promise<void>;
|
|
654
|
+
loading: boolean;
|
|
655
|
+
};
|
|
656
|
+
export interface SubmitRentalApplicationInput {
|
|
657
|
+
rentalUnitId: string;
|
|
658
|
+
applicantName: string;
|
|
659
|
+
applicantEmail: string;
|
|
660
|
+
applicantPhone?: string;
|
|
661
|
+
monthlyIncome?: number;
|
|
662
|
+
moveInDate?: string;
|
|
663
|
+
}
|
|
664
|
+
export declare const useSubmitRentalApplication: () => {
|
|
665
|
+
submitRentalApplication: (input: SubmitRentalApplicationInput) => Promise<void>;
|
|
666
|
+
loading: boolean;
|
|
667
|
+
};
|
|
668
|
+
export interface CreateAmcContractInput {
|
|
669
|
+
propertyId?: string;
|
|
670
|
+
propertyTitle: string;
|
|
671
|
+
packageName: string;
|
|
672
|
+
providerName: string;
|
|
673
|
+
monthlyCost: number;
|
|
674
|
+
startDate: string;
|
|
675
|
+
endDate: string;
|
|
676
|
+
nextServiceDate?: string;
|
|
677
|
+
status: string;
|
|
678
|
+
servicesIncluded?: string[];
|
|
679
|
+
}
|
|
680
|
+
export declare const useCreateAmcContract: () => {
|
|
681
|
+
createAmcContract: (input: CreateAmcContractInput) => Promise<void>;
|
|
682
|
+
loading: boolean;
|
|
683
|
+
};
|
|
684
|
+
export interface CreateMaintenanceRequestInput {
|
|
685
|
+
propertyId?: string;
|
|
686
|
+
rentalUnitId?: string;
|
|
687
|
+
title: string;
|
|
688
|
+
description?: string;
|
|
689
|
+
category: string;
|
|
690
|
+
priority?: 'low' | 'medium' | 'high';
|
|
691
|
+
}
|
|
692
|
+
export declare const useCreateMaintenanceRequest: () => {
|
|
693
|
+
createMaintenanceRequest: (input: CreateMaintenanceRequestInput) => Promise<void>;
|
|
694
|
+
loading: boolean;
|
|
695
|
+
};
|
|
696
|
+
export declare const useApproveVerification: () => {
|
|
697
|
+
approveVerification: (id: string, notes?: string) => Promise<void>;
|
|
698
|
+
loading: boolean;
|
|
699
|
+
};
|
|
700
|
+
export declare const useRejectVerification: () => {
|
|
701
|
+
rejectVerification: (id: string, notes?: string) => Promise<void>;
|
|
702
|
+
loading: boolean;
|
|
703
|
+
};
|
|
704
|
+
export declare const useWithdrawOffer: () => {
|
|
705
|
+
withdrawOffer: (id: string) => Promise<void>;
|
|
706
|
+
loading: boolean;
|
|
707
|
+
};
|
|
708
|
+
export interface UpdateViewingInput {
|
|
709
|
+
scheduledAt?: string;
|
|
710
|
+
status?: 'requested' | 'confirmed' | 'completed' | 'cancelled';
|
|
711
|
+
type?: 'in_person' | 'virtual';
|
|
712
|
+
attendeeName?: string;
|
|
713
|
+
attendeeEmail?: string;
|
|
714
|
+
notes?: string;
|
|
715
|
+
}
|
|
716
|
+
export declare const useUpdateViewing: () => {
|
|
717
|
+
updateViewing: (id: string, input: UpdateViewingInput) => Promise<void>;
|
|
718
|
+
loading: boolean;
|
|
719
|
+
};
|
|
720
|
+
export interface UpdateInvestmentInput {
|
|
721
|
+
title?: string;
|
|
722
|
+
investmentType?: string;
|
|
723
|
+
status?: string;
|
|
724
|
+
riskLevel?: string;
|
|
725
|
+
totalValue?: number;
|
|
726
|
+
startDate?: string;
|
|
727
|
+
maturityDate?: string;
|
|
728
|
+
}
|
|
729
|
+
export declare const useUpdateInvestment: () => {
|
|
730
|
+
updateInvestment: (id: string, input: UpdateInvestmentInput) => Promise<void>;
|
|
731
|
+
loading: boolean;
|
|
732
|
+
};
|
|
733
|
+
export declare const useDeleteInvestment: () => {
|
|
734
|
+
deleteInvestment: (id: string) => Promise<boolean>;
|
|
735
|
+
loading: boolean;
|
|
736
|
+
};
|
|
737
|
+
export interface CreateAssetInput {
|
|
738
|
+
title: string;
|
|
739
|
+
type: string;
|
|
740
|
+
category: string;
|
|
741
|
+
location: string;
|
|
742
|
+
currentValue: number;
|
|
743
|
+
purchasePrice: number;
|
|
744
|
+
purchaseDate?: string;
|
|
745
|
+
appreciationPercent?: number;
|
|
746
|
+
rentalYield?: number;
|
|
747
|
+
status: string;
|
|
748
|
+
imageUrl?: string;
|
|
749
|
+
lastValuationDate?: string;
|
|
750
|
+
}
|
|
751
|
+
export declare const useCreateAsset: () => {
|
|
752
|
+
createAsset: (input: CreateAssetInput) => Promise<void>;
|
|
753
|
+
loading: boolean;
|
|
754
|
+
};
|
|
755
|
+
export type UpdateAssetInput = Partial<CreateAssetInput>;
|
|
756
|
+
export declare const useUpdateAsset: () => {
|
|
757
|
+
updateAsset: (id: string, input: UpdateAssetInput) => Promise<void>;
|
|
758
|
+
loading: boolean;
|
|
759
|
+
};
|
|
760
|
+
export declare const useDeleteAsset: () => {
|
|
761
|
+
deleteAsset: (id: string) => Promise<boolean>;
|
|
762
|
+
loading: boolean;
|
|
763
|
+
};
|
|
764
|
+
export type UpdateAmcContractInput = Partial<CreateAmcContractInput>;
|
|
765
|
+
export declare const useUpdateAmcContract: () => {
|
|
766
|
+
updateAmcContract: (id: string, input: UpdateAmcContractInput) => Promise<void>;
|
|
767
|
+
loading: boolean;
|
|
768
|
+
};
|
|
769
|
+
export declare const useDeleteAmcContract: () => {
|
|
770
|
+
deleteAmcContract: (id: string) => Promise<boolean>;
|
|
771
|
+
loading: boolean;
|
|
772
|
+
};
|
|
773
|
+
export interface UpdateTransactionInput {
|
|
774
|
+
title?: string;
|
|
775
|
+
type?: string;
|
|
776
|
+
status?: string;
|
|
777
|
+
amount?: number;
|
|
778
|
+
currency?: string;
|
|
779
|
+
documents?: unknown;
|
|
780
|
+
}
|
|
781
|
+
export declare const useUpdateTransaction: () => {
|
|
782
|
+
updateTransaction: (id: string, input: UpdateTransactionInput) => Promise<void>;
|
|
783
|
+
loading: boolean;
|
|
784
|
+
};
|
|
785
|
+
export declare const useDeleteTransaction: () => {
|
|
786
|
+
deleteTransaction: (id: string) => Promise<boolean>;
|
|
787
|
+
loading: boolean;
|
|
788
|
+
};
|
|
789
|
+
export declare const useResolveMaintenanceRequest: () => {
|
|
790
|
+
resolveMaintenanceRequest: (id: string, resolutionNotes?: string) => Promise<void>;
|
|
791
|
+
loading: boolean;
|
|
792
|
+
};
|
|
793
|
+
export interface ReviewRentalApplicationInput {
|
|
794
|
+
decision: 'approved' | 'rejected' | 'screening' | 'submitted';
|
|
795
|
+
reviewNotes?: string;
|
|
796
|
+
}
|
|
797
|
+
export declare const useReviewRentalApplication: () => {
|
|
798
|
+
reviewRentalApplication: (id: string, input: ReviewRentalApplicationInput) => Promise<void>;
|
|
799
|
+
loading: boolean;
|
|
800
|
+
};
|
|
801
|
+
export { useContactConversation, useSendMessage, useConversationMessages, useEntityComments, useCreateEntityComment, useFileUpload, } from './platform';
|
|
802
|
+
export type { HvContextTarget, HvConversationMessage, HvEntityComment, HvUploadedFile } from './platform';
|
|
803
|
+
export { useHousingVistaAnalytics } from './useHousingVistaAnalytics';
|
|
804
|
+
//# sourceMappingURL=index.d.ts.map
|