@justins-home/api-services 1.2.31 → 1.2.32
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/index.d.mts +571 -255
- package/dist/index.d.ts +571 -255
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -9,11 +9,19 @@ declare class ApiError<T = unknown> extends Error {
|
|
|
9
9
|
}
|
|
10
10
|
type OperationId$1 = keyof operations;
|
|
11
11
|
type MultipartPayload$1 = FormData;
|
|
12
|
+
type ParametersOf$1<T extends OperationId$1> = operations[T] extends {
|
|
13
|
+
parameters: infer P;
|
|
14
|
+
} ? P : operations[T] extends {
|
|
15
|
+
parameters?: infer P;
|
|
16
|
+
} ? P : never;
|
|
12
17
|
type RequestContent$1<T extends OperationId$1> = operations[T] extends {
|
|
13
18
|
requestBody: {
|
|
14
19
|
content: infer C;
|
|
15
20
|
};
|
|
16
21
|
} ? C : never;
|
|
22
|
+
type QueryParameters$1<T extends OperationId$1> = ParametersOf$1<T> extends {
|
|
23
|
+
query?: infer Q;
|
|
24
|
+
} ? NonNullable<Q> : never;
|
|
17
25
|
type ApiRequest$1<T extends OperationId$1> = operations[T] extends {
|
|
18
26
|
requestBody: {
|
|
19
27
|
content: {
|
|
@@ -22,11 +30,8 @@ type ApiRequest$1<T extends OperationId$1> = operations[T] extends {
|
|
|
22
30
|
};
|
|
23
31
|
} ? R : RequestContent$1<T> extends {
|
|
24
32
|
'multipart/form-data': infer R;
|
|
25
|
-
} ? R | MultipartPayload$1 :
|
|
26
|
-
|
|
27
|
-
query?: infer Q;
|
|
28
|
-
};
|
|
29
|
-
} ? Q : never;
|
|
33
|
+
} ? R | MultipartPayload$1 : QueryParameters$1<T> extends never ? never : QueryParameters$1<T>;
|
|
34
|
+
type ApiQuery$1<T extends OperationId$1> = QueryParameters$1<T>;
|
|
30
35
|
type ApiResponse$1<T extends OperationId$1> = operations[T] extends {
|
|
31
36
|
responses: {
|
|
32
37
|
200: {
|
|
@@ -38,11 +43,16 @@ type ApiResponse$1<T extends OperationId$1> = operations[T] extends {
|
|
|
38
43
|
} ? R : unknown;
|
|
39
44
|
declare const api: {
|
|
40
45
|
post<T extends OperationId$1>(operation: T, url: string, payload?: ApiRequest$1<T>): Promise<ApiResponse$1<T>>;
|
|
41
|
-
get<T extends OperationId$1>(operation: T, url: string, query?:
|
|
46
|
+
get<T extends OperationId$1>(operation: T, url: string, query?: ApiQuery$1<T>): Promise<ApiResponse$1<T>>;
|
|
42
47
|
};
|
|
43
48
|
|
|
44
49
|
type OperationId = keyof operations;
|
|
45
50
|
type MultipartPayload = FormData;
|
|
51
|
+
type ParametersOf<T extends OperationId> = operations[T] extends {
|
|
52
|
+
parameters: infer P;
|
|
53
|
+
} ? P : operations[T] extends {
|
|
54
|
+
parameters?: infer P;
|
|
55
|
+
} ? P : never;
|
|
46
56
|
type RequestContent<T extends OperationId> = operations[T] extends {
|
|
47
57
|
requestBody: {
|
|
48
58
|
content: infer C;
|
|
@@ -52,6 +62,9 @@ type RequestContent<T extends OperationId> = operations[T] extends {
|
|
|
52
62
|
content: infer C;
|
|
53
63
|
};
|
|
54
64
|
} ? C : never;
|
|
65
|
+
type QueryParameters<T extends OperationId> = ParametersOf<T> extends {
|
|
66
|
+
query?: infer Q;
|
|
67
|
+
} ? NonNullable<Q> : never;
|
|
55
68
|
type ApiRequest<T extends OperationId> = operations[T] extends {
|
|
56
69
|
requestBody: {
|
|
57
70
|
content: {
|
|
@@ -66,11 +79,8 @@ type ApiRequest<T extends OperationId> = operations[T] extends {
|
|
|
66
79
|
};
|
|
67
80
|
} ? R : RequestContent<T> extends {
|
|
68
81
|
'multipart/form-data': infer R;
|
|
69
|
-
} ? R | MultipartPayload :
|
|
70
|
-
|
|
71
|
-
query?: infer Q;
|
|
72
|
-
};
|
|
73
|
-
} ? Q : never;
|
|
82
|
+
} ? R | MultipartPayload : QueryParameters<T> extends never ? never : QueryParameters<T>;
|
|
83
|
+
type ApiQuery<T extends OperationId> = QueryParameters<T>;
|
|
74
84
|
type ApiResponse<T extends OperationId> = operations[T] extends {
|
|
75
85
|
responses: {
|
|
76
86
|
200: {
|
|
@@ -89,8 +99,156 @@ type Expand<T> = {
|
|
|
89
99
|
[K in keyof T]: T[K];
|
|
90
100
|
};
|
|
91
101
|
|
|
102
|
+
type BasicLoginAdminPayload = ApiRequest<'basicLoginAdmin'>;
|
|
103
|
+
type UpdateAdminProfilePayload = ApiRequest<'updateAdminProfile'>;
|
|
104
|
+
type FetchLandlordListAdminQuery = Expand<ApiQuery<'fetchLandlordListAdmin'>>;
|
|
105
|
+
type CreateLandlordListingDraftAdminPathParams = ApiPathParams<'createLandlordListingDraftAdmin'>;
|
|
106
|
+
type CreateLandlordListingDraftAdminPayload = ApiRequest<'createLandlordListingDraftAdmin'>;
|
|
107
|
+
type FetchLandlordListingComplianceSubmissionsAdminPathParams = ApiPathParams<'fetchLandlordListingComplianceSubmissionsAdmin'>;
|
|
108
|
+
type FetchLandlordListingComplianceSubmissionsAdminQuery = Expand<ApiQuery<'fetchLandlordListingComplianceSubmissionsAdmin'>>;
|
|
109
|
+
type FetchTenantListAdminQuery = Expand<ApiQuery<'fetchTenantListAdmin'>>;
|
|
110
|
+
type FetchUserAdminPathParams = ApiPathParams<'fetchUserAdmin'>;
|
|
111
|
+
type FetchUserPlanOverviewAdminPathParams = ApiPathParams<'fetchUserPlanOverviewAdmin'>;
|
|
112
|
+
type FetchUserMaintenanceRequestsAdminPathParams = ApiPathParams<'fetchUserMaintenanceRequestsAdmin'>;
|
|
113
|
+
type FetchUserMaintenanceRequestsAdminQuery = Expand<ApiQuery<'fetchUserMaintenanceRequestsAdmin'>>;
|
|
114
|
+
type FetchUserVerificationDocumentsAdminPathParams = ApiPathParams<'fetchUserVerificationDocumentsAdmin'>;
|
|
115
|
+
type FetchUserVerificationDocumentsAdminQuery = Expand<ApiQuery<'fetchUserVerificationDocumentsAdmin'>>;
|
|
116
|
+
type FetchUserListingComplianceDocumentsAdminPathParams = ApiPathParams<'fetchUserListingComplianceDocumentsAdmin'>;
|
|
117
|
+
type FetchUserListingComplianceDocumentsAdminQuery = Expand<ApiQuery<'fetchUserListingComplianceDocumentsAdmin'>>;
|
|
118
|
+
type FetchUserTenancyComplianceDocumentsAdminPathParams = ApiPathParams<'fetchUserTenancyComplianceDocumentsAdmin'>;
|
|
119
|
+
type FetchUserTenancyComplianceDocumentsAdminQuery = Expand<ApiQuery<'fetchUserTenancyComplianceDocumentsAdmin'>>;
|
|
120
|
+
type FetchTenancyHistoryForUserAdminPathParams = ApiPathParams<'fetchTenancyHistoryForUserAdmin'>;
|
|
121
|
+
type FetchTenancyHistoryForUserAdminQuery = Expand<ApiQuery<'fetchTenancyHistoryForUserAdmin'>>;
|
|
122
|
+
type FetchUserActivityFeedAdminPathParams = ApiPathParams<'fetchUserActivityFeedAdmin'>;
|
|
123
|
+
type FetchUserActivityFeedAdminQuery = Expand<ApiQuery<'fetchUserActivityFeedAdmin'>>;
|
|
124
|
+
type FetchUserAuditLogsAdminPathParams = ApiPathParams<'fetchUserAuditLogsAdmin'>;
|
|
125
|
+
type FetchUserAuditLogsAdminQuery = Expand<ApiQuery<'fetchUserAuditLogsAdmin'>>;
|
|
126
|
+
type FilterUserAuditLogsAdminPathParams = ApiPathParams<'filterUserAuditLogsAdmin'>;
|
|
127
|
+
type FilterUserAuditLogsAdminQuery = Expand<ApiQuery<'filterUserAuditLogsAdmin'>>;
|
|
128
|
+
type FetchUserAuditLogsByActionAdminPathParams = ApiPathParams<'fetchUserAuditLogsByActionAdmin'>;
|
|
129
|
+
type FetchUserAuditLogsByActionAdminQuery = Expand<ApiQuery<'fetchUserAuditLogsByActionAdmin'>>;
|
|
130
|
+
type ForceLogoutUserAdminPathParams = ApiPathParams<'forceLogoutUserAdmin'>;
|
|
131
|
+
type UpdateUserStatusAdminPathParams = ApiPathParams<'updateUserStatusAdmin'>;
|
|
132
|
+
type UpdateUserStatusAdminPayload = ApiRequest<'updateUserStatusAdmin'>;
|
|
133
|
+
type FetchListingListAdminQuery = Expand<ApiQuery<'fetchListingListAdmin'>>;
|
|
134
|
+
type FetchOneListingAdminPathParams = ApiPathParams<'fetchOneListingAdmin'>;
|
|
135
|
+
type UpdateDraftNameAdminPathParams = ApiPathParams<'updateDraftNameAdmin'>;
|
|
136
|
+
type UpdateDraftNameAdminPayload = ApiRequest<'updateDraftNameAdmin'>;
|
|
137
|
+
type SubmitListingAdminPathParams = ApiPathParams<'submitListingAdmin'>;
|
|
138
|
+
type SaveListingDetailsAdminPathParams = ApiPathParams<'saveListingDetailsAdmin'>;
|
|
139
|
+
type SaveListingDetailsAdminPayload = ApiRequest<'saveListingDetailsAdmin'>;
|
|
140
|
+
type SavePropertyBasicsAdminPathParams = ApiPathParams<'savePropertyBasicsAdmin'>;
|
|
141
|
+
type SavePropertyBasicsAdminPayload = ApiRequest<'savePropertyBasicsAdmin'>;
|
|
142
|
+
type SavePricingAdminPathParams = ApiPathParams<'savePricingAdmin'>;
|
|
143
|
+
type SavePricingAdminPayload = ApiRequest<'savePricingAdmin'>;
|
|
144
|
+
type SaveRentalDetailsAdminPathParams = ApiPathParams<'saveRentalDetailsAdmin'>;
|
|
145
|
+
type SaveRentalDetailsAdminPayload = ApiRequest<'saveRentalDetailsAdmin'>;
|
|
146
|
+
type SaveShortLetDetailsAdminPathParams = ApiPathParams<'saveShortLetDetailsAdmin'>;
|
|
147
|
+
type SaveShortLetDetailsAdminPayload = ApiRequest<'saveShortLetDetailsAdmin'>;
|
|
148
|
+
type SaveUsedItemDetailsAdminPathParams = ApiPathParams<'saveUsedItemDetailsAdmin'>;
|
|
149
|
+
type SaveUsedItemDetailsAdminPayload = ApiRequest<'saveUsedItemDetailsAdmin'>;
|
|
150
|
+
type SaveListingFeaturesAdminPathParams = ApiPathParams<'saveListingFeaturesAdmin'>;
|
|
151
|
+
type SaveListingFeaturesAdminPayload = ApiRequest<'saveListingFeaturesAdmin'>;
|
|
152
|
+
type SaveTenantPreferencesAdminPathParams = ApiPathParams<'saveTenantPreferencesAdmin'>;
|
|
153
|
+
type SaveTenantPreferencesAdminPayload = ApiRequest<'saveTenantPreferencesAdmin'>;
|
|
154
|
+
type SaveViewingAvailabilityAdminPathParams = ApiPathParams<'saveViewingAvailabilityAdmin'>;
|
|
155
|
+
type SaveViewingAvailabilityAdminPayload = ApiRequest<'saveViewingAvailabilityAdmin'>;
|
|
156
|
+
type UploadListingMediaAdminPathParams = ApiPathParams<'uploadListingMediaAdmin'>;
|
|
157
|
+
type UploadListingMediaAdminFormData = FormData;
|
|
158
|
+
type ReorderListingMediaAdminPathParams = ApiPathParams<'reorderListingMediaAdmin'>;
|
|
159
|
+
type ReorderListingMediaAdminPayload = ApiRequest<'reorderListingMediaAdmin'>;
|
|
160
|
+
type SetListingCoverMediaAdminPathParams = ApiPathParams<'setListingCoverMediaAdmin'>;
|
|
161
|
+
type DeleteListingMediaAdminPathParams = ApiPathParams<'deleteListingMediaAdmin'>;
|
|
162
|
+
type FetchListingAuditLogsAdminPathParams = ApiPathParams<'fetchListingAuditLogsAdmin'>;
|
|
163
|
+
type FetchListingAuditLogsAdminQuery = Expand<ApiQuery<'fetchListingAuditLogsAdmin'>>;
|
|
164
|
+
type FetchTenancyHistoryForListingAdminPathParams = ApiPathParams<'fetchTenancyHistoryForListingAdmin'>;
|
|
165
|
+
type FetchTenancyHistoryForListingAdminQuery = Expand<ApiQuery<'fetchTenancyHistoryForListingAdmin'>>;
|
|
166
|
+
type FetchListingComplianceDocumentsAdminPathParams = ApiPathParams<'fetchListingComplianceDocumentsAdmin'>;
|
|
167
|
+
type FetchListingComplianceDocumentsAdminQuery = Expand<ApiQuery<'fetchListingComplianceDocumentsAdmin'>>;
|
|
168
|
+
type ApproveListingPathParams = ApiPathParams<'approveListing'>;
|
|
169
|
+
type RejectListingPathParams = ApiPathParams<'rejectListing'>;
|
|
170
|
+
type RejectListingPayload = ApiRequest<'rejectListing'>;
|
|
171
|
+
type UnpublishListingPathParams = ApiPathParams<'unpublishListing'>;
|
|
172
|
+
type RepublishListingPathParams = ApiPathParams<'republishListing'>;
|
|
173
|
+
type GetFeaturesAdminPayload = ApiRequest<'getFeaturesAdmin'>;
|
|
174
|
+
type CreateFeaturePayload = ApiRequest<'createFeature'>;
|
|
175
|
+
type UpdateFeaturePathParams = ApiPathParams<'updateFeature'>;
|
|
176
|
+
type UpdateFeaturePayload = ApiRequest<'updateFeature'>;
|
|
177
|
+
type ToggleFeaturePathParams = ApiPathParams<'toggleFeature'>;
|
|
178
|
+
type CreateFeatureCategoryPayload = ApiRequest<'createFeatureCategory'>;
|
|
179
|
+
type UpdateFeatureCategoryPathParams = ApiPathParams<'updateFeatureCategory'>;
|
|
180
|
+
type UpdateFeatureCategoryPayload = ApiRequest<'updateFeatureCategory'>;
|
|
181
|
+
type ToggleFeatureCategoryPathParams = ApiPathParams<'toggleFeatureCategory'>;
|
|
182
|
+
type CreateVerificationLayerPayload = ApiRequest<'createVerificationLayer'>;
|
|
183
|
+
type UpdateVerificationLayerPathParams = ApiPathParams<'updateVerificationLayer'>;
|
|
184
|
+
type UpdateVerificationLayerPayload = ApiRequest<'updateVerificationLayer'>;
|
|
185
|
+
type CreateVerificationFlowPayload = ApiRequest<'createVerificationFlow'>;
|
|
186
|
+
type ReorderVerificationFlowPayload = ApiRequest<'reorderVerificationFlow'>;
|
|
187
|
+
type GetUserVerificationsQuery = Expand<ApiQuery<'getUserVerifications'>>;
|
|
188
|
+
type GetUserVerificationHistoryPathParams = ApiPathParams<'getUserVerificationHistory'>;
|
|
189
|
+
type ReviewUserVerificationPathParams = ApiPathParams<'reviewUserVerification'>;
|
|
190
|
+
type ReviewUserVerificationPayload = ApiRequest<'reviewUserVerification'>;
|
|
191
|
+
type ResetUserVerificationPathParams = ApiPathParams<'resetUserVerification'>;
|
|
192
|
+
type ResetUserVerificationPayload = ApiRequest<'resetUserVerification'>;
|
|
193
|
+
type ReviewListingComplianceSubmissionPathParams = ApiPathParams<'reviewListingComplianceSubmission'>;
|
|
194
|
+
type ReviewListingComplianceSubmissionPayload = ApiRequest<'reviewListingComplianceSubmission'>;
|
|
195
|
+
type ReviewTenancyComplianceSubmissionPathParams = ApiPathParams<'reviewTenancyComplianceSubmission'>;
|
|
196
|
+
type ReviewTenancyComplianceSubmissionPayload = ApiRequest<'reviewTenancyComplianceSubmission'>;
|
|
197
|
+
type CreatePlanPayload = ApiRequest<'createPlan'>;
|
|
198
|
+
type UpdatePlanPathParams = ApiPathParams<'updatePlan'>;
|
|
199
|
+
type UpdatePlanPayload = ApiRequest<'updatePlan'>;
|
|
200
|
+
type AssignPlanToUserPayload = ApiRequest<'assignPlanToUser'>;
|
|
201
|
+
type DeactivateUserPlanPathParams = ApiPathParams<'deactivateUserPlan'>;
|
|
202
|
+
type DeactivateUserPlanPayload = ApiRequest<'deactivateUserPlan'>;
|
|
203
|
+
type AttachPlanVerificationRequirementsPathParams = ApiPathParams<'attachPlanVerificationRequirements'>;
|
|
204
|
+
type AttachPlanVerificationRequirementsPayload = ApiRequest<'attachPlanVerificationRequirements'>;
|
|
205
|
+
type AttachPlanCapabilitiesPathParams = ApiPathParams<'attachPlanCapabilities'>;
|
|
206
|
+
type AttachPlanCapabilitiesPayload = ApiRequest<'attachPlanCapabilities'>;
|
|
207
|
+
type CreatePlanEntitlementPayload = ApiRequest<'createPlanEntitlement'>;
|
|
208
|
+
type UpdatePlanEntitlementPathParams = ApiPathParams<'updatePlanEntitlement'>;
|
|
209
|
+
type UpdatePlanEntitlementPayload = ApiRequest<'updatePlanEntitlement'>;
|
|
210
|
+
type SyncPlanEntitlementsPathParams = ApiPathParams<'syncPlanEntitlements'>;
|
|
211
|
+
type SyncPlanEntitlementsPayload = ApiRequest<'syncPlanEntitlements'>;
|
|
212
|
+
type ViewDocumentAdminPathParams = ApiPathParams<'viewDocumentAdmin'>;
|
|
213
|
+
type DownloadDocumentAdminPathParams = ApiPathParams<'downloadDocumentAdmin'>;
|
|
214
|
+
type CreateCapabilityPayload = ApiRequest<'createCapability'>;
|
|
215
|
+
type UpdateCapabilityPathParams = ApiPathParams<'updateCapability'>;
|
|
216
|
+
type UpdateCapabilityPayload = ApiRequest<'updateCapability'>;
|
|
217
|
+
type CreateComplianceDefinitionPayload = ApiRequest<'createComplianceDefinition'>;
|
|
218
|
+
type UpdateComplianceDefinitionPathParams = ApiPathParams<'updateComplianceDefinition'>;
|
|
219
|
+
type UpdateComplianceDefinitionPayload = ApiRequest<'updateComplianceDefinition'>;
|
|
220
|
+
type SyncComplianceRequirementsPathParams = ApiPathParams<'syncComplianceRequirements'>;
|
|
221
|
+
type SyncComplianceRequirementsPayload = ApiRequest<'syncComplianceRequirements'>;
|
|
222
|
+
type AssignGlobalCompliancePathParams = ApiPathParams<'assignGlobalCompliance'>;
|
|
223
|
+
type AssignComplianceToCategoryPathParams = ApiPathParams<'assignComplianceToCategory'>;
|
|
224
|
+
type AssignComplianceToListingPathParams = ApiPathParams<'assignComplianceToListing'>;
|
|
225
|
+
type AssignComplianceToTenancyPathParams = ApiPathParams<'assignComplianceToTenancy'>;
|
|
226
|
+
type AssignComplianceToListingVerticalPathParams = ApiPathParams<'assignComplianceToListingVertical'>;
|
|
227
|
+
type AssignComplianceToListingVerticalPayload = ApiRequest<'assignComplianceToListingVertical'>;
|
|
228
|
+
type AssignComplianceToListingTypePathParams = ApiPathParams<'assignComplianceToListingType'>;
|
|
229
|
+
type AssignComplianceToListingTypePayload = ApiRequest<'assignComplianceToListingType'>;
|
|
230
|
+
type ListingHistoryInspectionAdminPathParams = ApiPathParams<'listingHistoryInspectionAdmin'>;
|
|
231
|
+
type ListingHistoryInspectionAdminQuery = Expand<ApiQuery<'listingHistoryInspectionAdmin'>>;
|
|
232
|
+
type ScheduleInspectionPayload = ApiRequest<'scheduleInspection'>;
|
|
233
|
+
type CompleteInspectionPathParams = ApiPathParams<'completeInspection'>;
|
|
234
|
+
type CompleteInspectionPayload = ApiRequest<'completeInspection'>;
|
|
235
|
+
type RescheduleInspectionPathParams = ApiPathParams<'rescheduleInspection'>;
|
|
236
|
+
type RescheduleInspectionPayload = ApiRequest<'rescheduleInspection'>;
|
|
237
|
+
type CancelInspectionPathParams = ApiPathParams<'cancelInspection'>;
|
|
238
|
+
type CancelInspectionPayload = ApiRequest<'cancelInspection'>;
|
|
239
|
+
type AssignMaintenanceTechnicianPathParams = ApiPathParams<'assignMaintenanceTechnician'>;
|
|
240
|
+
type AssignMaintenanceTechnicianPayload = ApiRequest<'assignMaintenanceTechnician'>;
|
|
241
|
+
type StartMaintenanceRepairPathParams = ApiPathParams<'startMaintenanceRepair'>;
|
|
242
|
+
type StartMaintenanceRepairPayload = ApiRequest<'startMaintenanceRepair'>;
|
|
243
|
+
type CompleteMaintenanceRepairPathParams = ApiPathParams<'completeMaintenanceRepair'>;
|
|
244
|
+
type CompleteMaintenanceRepairPayload = ApiRequest<'completeMaintenanceRepair'>;
|
|
245
|
+
type CancelMaintenanceRequestPathParams = ApiPathParams<'cancelMaintenanceRequest'>;
|
|
246
|
+
type CancelMaintenanceRequestPayload = ApiRequest<'cancelMaintenanceRequest'>;
|
|
247
|
+
type FetchTenancyListAdminQuery = Expand<ApiQuery<'fetchTenancyListAdmin'>>;
|
|
248
|
+
type FetchTenancyComplianceDocumentsAdminPathParams = ApiPathParams<'fetchTenancyComplianceDocumentsAdmin'>;
|
|
249
|
+
type FetchTenancyComplianceDocumentsAdminQuery = Expand<ApiQuery<'fetchTenancyComplianceDocumentsAdmin'>>;
|
|
92
250
|
declare const admin: {
|
|
93
|
-
basicLogin: (payload:
|
|
251
|
+
basicLogin: (payload: BasicLoginAdminPayload) => Promise<{
|
|
94
252
|
message?: string;
|
|
95
253
|
event?: string | null;
|
|
96
254
|
data?: {
|
|
@@ -220,7 +378,7 @@ declare const admin: {
|
|
|
220
378
|
role?: string | null;
|
|
221
379
|
};
|
|
222
380
|
}>;
|
|
223
|
-
updateAdminProfile: (payload:
|
|
381
|
+
updateAdminProfile: (payload: UpdateAdminProfilePayload) => Promise<{
|
|
224
382
|
data?: {
|
|
225
383
|
uid?: string;
|
|
226
384
|
username?: string;
|
|
@@ -251,7 +409,7 @@ declare const admin: {
|
|
|
251
409
|
role?: string | null;
|
|
252
410
|
};
|
|
253
411
|
}>;
|
|
254
|
-
fetchLandlordList: (query?:
|
|
412
|
+
fetchLandlordList: (query?: FetchLandlordListAdminQuery) => Promise<{
|
|
255
413
|
message?: string;
|
|
256
414
|
event?: string | null;
|
|
257
415
|
data?: {
|
|
@@ -301,7 +459,7 @@ declare const admin: {
|
|
|
301
459
|
}[];
|
|
302
460
|
};
|
|
303
461
|
}>;
|
|
304
|
-
createLandlordListingDraft: (params:
|
|
462
|
+
createLandlordListingDraft: (params: CreateLandlordListingDraftAdminPathParams, payload: CreateLandlordListingDraftAdminPayload) => Promise<{
|
|
305
463
|
data?: {
|
|
306
464
|
draft_name?: string;
|
|
307
465
|
sku?: string;
|
|
@@ -318,7 +476,7 @@ declare const admin: {
|
|
|
318
476
|
media?: unknown[];
|
|
319
477
|
};
|
|
320
478
|
}>;
|
|
321
|
-
fetchLandlordListingComplianceSubmissions: (params:
|
|
479
|
+
fetchLandlordListingComplianceSubmissions: (params: FetchLandlordListingComplianceSubmissionsAdminPathParams, query?: FetchLandlordListingComplianceSubmissionsAdminQuery) => Promise<{
|
|
322
480
|
message?: string;
|
|
323
481
|
event?: string | null;
|
|
324
482
|
data?: {
|
|
@@ -352,7 +510,7 @@ declare const admin: {
|
|
|
352
510
|
};
|
|
353
511
|
};
|
|
354
512
|
}>;
|
|
355
|
-
fetchTenantList: (query?:
|
|
513
|
+
fetchTenantList: (query?: FetchTenantListAdminQuery) => Promise<{
|
|
356
514
|
message?: string;
|
|
357
515
|
event?: string | null;
|
|
358
516
|
data?: {
|
|
@@ -398,7 +556,7 @@ declare const admin: {
|
|
|
398
556
|
}[];
|
|
399
557
|
};
|
|
400
558
|
}>;
|
|
401
|
-
fetchUser: (params:
|
|
559
|
+
fetchUser: (params: FetchUserAdminPathParams) => Promise<{
|
|
402
560
|
message?: string;
|
|
403
561
|
event?: string | null;
|
|
404
562
|
data?: {
|
|
@@ -449,7 +607,7 @@ declare const admin: {
|
|
|
449
607
|
role?: string | null;
|
|
450
608
|
};
|
|
451
609
|
}>;
|
|
452
|
-
fetchUserPlanOverview: (params:
|
|
610
|
+
fetchUserPlanOverview: (params: FetchUserPlanOverviewAdminPathParams) => Promise<{
|
|
453
611
|
message?: string;
|
|
454
612
|
event?: string | null;
|
|
455
613
|
data?: {
|
|
@@ -473,7 +631,7 @@ declare const admin: {
|
|
|
473
631
|
};
|
|
474
632
|
};
|
|
475
633
|
}>;
|
|
476
|
-
fetchUserMaintenanceRequests: (params:
|
|
634
|
+
fetchUserMaintenanceRequests: (params: FetchUserMaintenanceRequestsAdminPathParams, query?: FetchUserMaintenanceRequestsAdminQuery) => Promise<{
|
|
477
635
|
message?: string;
|
|
478
636
|
event?: string | null;
|
|
479
637
|
data?: {
|
|
@@ -504,7 +662,7 @@ declare const admin: {
|
|
|
504
662
|
};
|
|
505
663
|
};
|
|
506
664
|
}>;
|
|
507
|
-
fetchUserVerificationDocuments: (params:
|
|
665
|
+
fetchUserVerificationDocuments: (params: FetchUserVerificationDocumentsAdminPathParams, query?: FetchUserVerificationDocumentsAdminQuery) => Promise<{
|
|
508
666
|
message?: string;
|
|
509
667
|
event?: string | null;
|
|
510
668
|
data?: {
|
|
@@ -525,7 +683,7 @@ declare const admin: {
|
|
|
525
683
|
}[];
|
|
526
684
|
};
|
|
527
685
|
}>;
|
|
528
|
-
fetchUserListingComplianceDocuments: (params:
|
|
686
|
+
fetchUserListingComplianceDocuments: (params: FetchUserListingComplianceDocumentsAdminPathParams, query?: FetchUserListingComplianceDocumentsAdminQuery) => Promise<{
|
|
529
687
|
message?: string;
|
|
530
688
|
event?: string | null;
|
|
531
689
|
data?: {
|
|
@@ -554,7 +712,7 @@ declare const admin: {
|
|
|
554
712
|
};
|
|
555
713
|
};
|
|
556
714
|
}>;
|
|
557
|
-
fetchUserTenancyComplianceDocuments: (params:
|
|
715
|
+
fetchUserTenancyComplianceDocuments: (params: FetchUserTenancyComplianceDocumentsAdminPathParams, query?: FetchUserTenancyComplianceDocumentsAdminQuery) => Promise<{
|
|
558
716
|
message?: string;
|
|
559
717
|
event?: string | null;
|
|
560
718
|
data?: {
|
|
@@ -583,7 +741,7 @@ declare const admin: {
|
|
|
583
741
|
};
|
|
584
742
|
};
|
|
585
743
|
}>;
|
|
586
|
-
fetchTenancyHistoryForUser: (params:
|
|
744
|
+
fetchTenancyHistoryForUser: (params: FetchTenancyHistoryForUserAdminPathParams, query?: FetchTenancyHistoryForUserAdminQuery) => Promise<{
|
|
587
745
|
message?: string;
|
|
588
746
|
event?: string | null;
|
|
589
747
|
data?: {
|
|
@@ -630,7 +788,7 @@ declare const admin: {
|
|
|
630
788
|
};
|
|
631
789
|
};
|
|
632
790
|
}>;
|
|
633
|
-
fetchUserActivityFeed: (params:
|
|
791
|
+
fetchUserActivityFeed: (params: FetchUserActivityFeedAdminPathParams, query?: FetchUserActivityFeedAdminQuery) => Promise<{
|
|
634
792
|
message?: string;
|
|
635
793
|
event?: string | null;
|
|
636
794
|
data?: {
|
|
@@ -658,7 +816,7 @@ declare const admin: {
|
|
|
658
816
|
};
|
|
659
817
|
};
|
|
660
818
|
}>;
|
|
661
|
-
fetchUserAuditLogs: (params:
|
|
819
|
+
fetchUserAuditLogs: (params: FetchUserAuditLogsAdminPathParams, query?: FetchUserAuditLogsAdminQuery) => Promise<{
|
|
662
820
|
message?: string;
|
|
663
821
|
event?: string | null;
|
|
664
822
|
data?: {
|
|
@@ -683,7 +841,7 @@ declare const admin: {
|
|
|
683
841
|
};
|
|
684
842
|
};
|
|
685
843
|
}>;
|
|
686
|
-
filterUserAuditLogs: (params:
|
|
844
|
+
filterUserAuditLogs: (params: FilterUserAuditLogsAdminPathParams, query?: FilterUserAuditLogsAdminQuery) => Promise<{
|
|
687
845
|
message?: string;
|
|
688
846
|
event?: string | null;
|
|
689
847
|
data?: {
|
|
@@ -708,7 +866,7 @@ declare const admin: {
|
|
|
708
866
|
};
|
|
709
867
|
};
|
|
710
868
|
}>;
|
|
711
|
-
fetchUserAuditLogsByAction: (params:
|
|
869
|
+
fetchUserAuditLogsByAction: (params: FetchUserAuditLogsByActionAdminPathParams, query?: FetchUserAuditLogsByActionAdminQuery) => Promise<{
|
|
712
870
|
message?: string;
|
|
713
871
|
event?: string | null;
|
|
714
872
|
data?: {
|
|
@@ -731,7 +889,7 @@ declare const admin: {
|
|
|
731
889
|
};
|
|
732
890
|
};
|
|
733
891
|
}>;
|
|
734
|
-
forceLogoutUser: (params:
|
|
892
|
+
forceLogoutUser: (params: ForceLogoutUserAdminPathParams) => Promise<{
|
|
735
893
|
message?: string;
|
|
736
894
|
data?: {
|
|
737
895
|
user_uid?: string;
|
|
@@ -739,7 +897,7 @@ declare const admin: {
|
|
|
739
897
|
logged_out?: boolean;
|
|
740
898
|
};
|
|
741
899
|
}>;
|
|
742
|
-
updateUserStatus: (params:
|
|
900
|
+
updateUserStatus: (params: UpdateUserStatusAdminPathParams, payload: UpdateUserStatusAdminPayload) => Promise<{
|
|
743
901
|
data?: {
|
|
744
902
|
uid?: string;
|
|
745
903
|
username?: string;
|
|
@@ -769,7 +927,7 @@ declare const admin: {
|
|
|
769
927
|
};
|
|
770
928
|
};
|
|
771
929
|
}>;
|
|
772
|
-
fetchListingList: (query?:
|
|
930
|
+
fetchListingList: (query?: FetchListingListAdminQuery) => Promise<{
|
|
773
931
|
message?: string;
|
|
774
932
|
event?: string | null;
|
|
775
933
|
data?: {
|
|
@@ -820,7 +978,7 @@ declare const admin: {
|
|
|
820
978
|
};
|
|
821
979
|
};
|
|
822
980
|
}>;
|
|
823
|
-
fetchOneListing: (params:
|
|
981
|
+
fetchOneListing: (params: FetchOneListingAdminPathParams) => Promise<{
|
|
824
982
|
message?: string;
|
|
825
983
|
event?: string | null;
|
|
826
984
|
data?: {
|
|
@@ -897,12 +1055,12 @@ declare const admin: {
|
|
|
897
1055
|
};
|
|
898
1056
|
};
|
|
899
1057
|
}>;
|
|
900
|
-
updateDraftName: (params:
|
|
1058
|
+
updateDraftName: (params: UpdateDraftNameAdminPathParams, payload: UpdateDraftNameAdminPayload) => Promise<{
|
|
901
1059
|
message?: string;
|
|
902
1060
|
event?: string | null;
|
|
903
1061
|
data?: unknown[];
|
|
904
1062
|
}>;
|
|
905
|
-
submitListing: (params:
|
|
1063
|
+
submitListing: (params: SubmitListingAdminPathParams) => Promise<{
|
|
906
1064
|
data?: {
|
|
907
1065
|
draft_name?: string;
|
|
908
1066
|
sku?: string;
|
|
@@ -919,16 +1077,16 @@ declare const admin: {
|
|
|
919
1077
|
media?: unknown[];
|
|
920
1078
|
};
|
|
921
1079
|
}>;
|
|
922
|
-
saveListingDetails: (params:
|
|
923
|
-
savePropertyBasics: (params:
|
|
924
|
-
savePricing: (params:
|
|
925
|
-
saveRentalDetails: (params:
|
|
926
|
-
saveShortLetDetails: (params:
|
|
927
|
-
saveUsedItemDetails: (params:
|
|
928
|
-
saveListingFeatures: (params:
|
|
929
|
-
saveTenantPreferences: (params:
|
|
930
|
-
saveViewingAvailability: (params:
|
|
931
|
-
uploadListingMedia: (params:
|
|
1080
|
+
saveListingDetails: (params: SaveListingDetailsAdminPathParams, payload: SaveListingDetailsAdminPayload) => Promise<unknown>;
|
|
1081
|
+
savePropertyBasics: (params: SavePropertyBasicsAdminPathParams, payload: SavePropertyBasicsAdminPayload) => Promise<unknown>;
|
|
1082
|
+
savePricing: (params: SavePricingAdminPathParams, payload: SavePricingAdminPayload) => Promise<unknown>;
|
|
1083
|
+
saveRentalDetails: (params: SaveRentalDetailsAdminPathParams, payload: SaveRentalDetailsAdminPayload) => Promise<unknown>;
|
|
1084
|
+
saveShortLetDetails: (params: SaveShortLetDetailsAdminPathParams, payload: SaveShortLetDetailsAdminPayload) => Promise<unknown>;
|
|
1085
|
+
saveUsedItemDetails: (params: SaveUsedItemDetailsAdminPathParams, payload: SaveUsedItemDetailsAdminPayload) => Promise<unknown>;
|
|
1086
|
+
saveListingFeatures: (params: SaveListingFeaturesAdminPathParams, payload: SaveListingFeaturesAdminPayload) => Promise<unknown>;
|
|
1087
|
+
saveTenantPreferences: (params: SaveTenantPreferencesAdminPathParams, payload: SaveTenantPreferencesAdminPayload) => Promise<unknown>;
|
|
1088
|
+
saveViewingAvailability: (params: SaveViewingAvailabilityAdminPathParams, payload: SaveViewingAvailabilityAdminPayload) => Promise<unknown>;
|
|
1089
|
+
uploadListingMedia: (params: UploadListingMediaAdminPathParams, formData: UploadListingMediaAdminFormData) => Promise<{
|
|
932
1090
|
data?: {
|
|
933
1091
|
uid?: string;
|
|
934
1092
|
media_type?: string;
|
|
@@ -937,10 +1095,10 @@ declare const admin: {
|
|
|
937
1095
|
is_cover?: boolean;
|
|
938
1096
|
};
|
|
939
1097
|
}>;
|
|
940
|
-
reorderListingMedia: (params:
|
|
941
|
-
setListingCoverMedia: (params:
|
|
942
|
-
deleteListingMedia: (params:
|
|
943
|
-
fetchListingAuditLogs: (params:
|
|
1098
|
+
reorderListingMedia: (params: ReorderListingMediaAdminPathParams, payload: ReorderListingMediaAdminPayload) => Promise<unknown>;
|
|
1099
|
+
setListingCoverMedia: (params: SetListingCoverMediaAdminPathParams) => Promise<unknown>;
|
|
1100
|
+
deleteListingMedia: (params: DeleteListingMediaAdminPathParams) => Promise<unknown>;
|
|
1101
|
+
fetchListingAuditLogs: (params: FetchListingAuditLogsAdminPathParams, query?: FetchListingAuditLogsAdminQuery) => Promise<{
|
|
944
1102
|
message?: string;
|
|
945
1103
|
event?: string | null;
|
|
946
1104
|
data?: {
|
|
@@ -965,7 +1123,7 @@ declare const admin: {
|
|
|
965
1123
|
};
|
|
966
1124
|
};
|
|
967
1125
|
}>;
|
|
968
|
-
fetchTenancyHistoryForListing: (params:
|
|
1126
|
+
fetchTenancyHistoryForListing: (params: FetchTenancyHistoryForListingAdminPathParams, query?: FetchTenancyHistoryForListingAdminQuery) => Promise<{
|
|
969
1127
|
message?: string;
|
|
970
1128
|
event?: string | null;
|
|
971
1129
|
data?: {
|
|
@@ -1050,7 +1208,7 @@ declare const admin: {
|
|
|
1050
1208
|
total?: number;
|
|
1051
1209
|
};
|
|
1052
1210
|
}>;
|
|
1053
|
-
fetchListingComplianceDocuments: (params:
|
|
1211
|
+
fetchListingComplianceDocuments: (params: FetchListingComplianceDocumentsAdminPathParams, query?: FetchListingComplianceDocumentsAdminQuery) => Promise<{
|
|
1054
1212
|
message?: string;
|
|
1055
1213
|
event?: string | null;
|
|
1056
1214
|
data?: {
|
|
@@ -1071,7 +1229,7 @@ declare const admin: {
|
|
|
1071
1229
|
}[];
|
|
1072
1230
|
};
|
|
1073
1231
|
}>;
|
|
1074
|
-
approveListing: (params:
|
|
1232
|
+
approveListing: (params: ApproveListingPathParams) => Promise<{
|
|
1075
1233
|
data?: {
|
|
1076
1234
|
draft_name?: string;
|
|
1077
1235
|
sku?: string;
|
|
@@ -1088,7 +1246,7 @@ declare const admin: {
|
|
|
1088
1246
|
media?: unknown[];
|
|
1089
1247
|
};
|
|
1090
1248
|
}>;
|
|
1091
|
-
rejectListing: (params:
|
|
1249
|
+
rejectListing: (params: RejectListingPathParams, payload: RejectListingPayload) => Promise<{
|
|
1092
1250
|
data?: {
|
|
1093
1251
|
draft_name?: string;
|
|
1094
1252
|
sku?: string;
|
|
@@ -1105,7 +1263,7 @@ declare const admin: {
|
|
|
1105
1263
|
media?: unknown[];
|
|
1106
1264
|
};
|
|
1107
1265
|
}>;
|
|
1108
|
-
unpublishListing: (params:
|
|
1266
|
+
unpublishListing: (params: UnpublishListingPathParams) => Promise<{
|
|
1109
1267
|
data?: {
|
|
1110
1268
|
draft_name?: string;
|
|
1111
1269
|
sku?: string;
|
|
@@ -1122,7 +1280,7 @@ declare const admin: {
|
|
|
1122
1280
|
media?: unknown[];
|
|
1123
1281
|
};
|
|
1124
1282
|
}>;
|
|
1125
|
-
republishListing: (params:
|
|
1283
|
+
republishListing: (params: RepublishListingPathParams) => Promise<{
|
|
1126
1284
|
data?: {
|
|
1127
1285
|
draft_name?: string;
|
|
1128
1286
|
sku?: string;
|
|
@@ -1139,7 +1297,7 @@ declare const admin: {
|
|
|
1139
1297
|
media?: unknown[];
|
|
1140
1298
|
};
|
|
1141
1299
|
}>;
|
|
1142
|
-
getFeatures: (payload:
|
|
1300
|
+
getFeatures: (payload: GetFeaturesAdminPayload) => Promise<{
|
|
1143
1301
|
message?: string;
|
|
1144
1302
|
event?: string | null;
|
|
1145
1303
|
data?: {
|
|
@@ -1161,7 +1319,7 @@ declare const admin: {
|
|
|
1161
1319
|
}[];
|
|
1162
1320
|
}[];
|
|
1163
1321
|
}>;
|
|
1164
|
-
createFeature: (payload:
|
|
1322
|
+
createFeature: (payload: CreateFeaturePayload) => Promise<{
|
|
1165
1323
|
data?: {
|
|
1166
1324
|
id?: number;
|
|
1167
1325
|
category_id?: number;
|
|
@@ -1172,7 +1330,7 @@ declare const admin: {
|
|
|
1172
1330
|
is_filterable?: boolean;
|
|
1173
1331
|
};
|
|
1174
1332
|
}>;
|
|
1175
|
-
updateFeature: (params:
|
|
1333
|
+
updateFeature: (params: UpdateFeaturePathParams, payload: UpdateFeaturePayload) => Promise<{
|
|
1176
1334
|
data?: {
|
|
1177
1335
|
id?: number;
|
|
1178
1336
|
category_id?: number;
|
|
@@ -1183,7 +1341,7 @@ declare const admin: {
|
|
|
1183
1341
|
is_filterable?: boolean;
|
|
1184
1342
|
};
|
|
1185
1343
|
}>;
|
|
1186
|
-
toggleFeature: (params:
|
|
1344
|
+
toggleFeature: (params: ToggleFeaturePathParams) => Promise<{
|
|
1187
1345
|
data?: {
|
|
1188
1346
|
id?: number;
|
|
1189
1347
|
category_id?: number;
|
|
@@ -1203,7 +1361,7 @@ declare const admin: {
|
|
|
1203
1361
|
is_active?: boolean;
|
|
1204
1362
|
}[];
|
|
1205
1363
|
}>;
|
|
1206
|
-
createFeatureCategory: (payload:
|
|
1364
|
+
createFeatureCategory: (payload: CreateFeatureCategoryPayload) => Promise<{
|
|
1207
1365
|
data?: {
|
|
1208
1366
|
id?: number;
|
|
1209
1367
|
name?: string;
|
|
@@ -1212,7 +1370,7 @@ declare const admin: {
|
|
|
1212
1370
|
is_active?: boolean;
|
|
1213
1371
|
};
|
|
1214
1372
|
}>;
|
|
1215
|
-
updateFeatureCategory: (params:
|
|
1373
|
+
updateFeatureCategory: (params: UpdateFeatureCategoryPathParams, payload: UpdateFeatureCategoryPayload) => Promise<{
|
|
1216
1374
|
data?: {
|
|
1217
1375
|
id?: number;
|
|
1218
1376
|
name?: string;
|
|
@@ -1221,7 +1379,7 @@ declare const admin: {
|
|
|
1221
1379
|
is_active?: boolean;
|
|
1222
1380
|
};
|
|
1223
1381
|
}>;
|
|
1224
|
-
toggleFeatureCategory: (params:
|
|
1382
|
+
toggleFeatureCategory: (params: ToggleFeatureCategoryPathParams) => Promise<{
|
|
1225
1383
|
data?: {
|
|
1226
1384
|
id?: number;
|
|
1227
1385
|
name?: string;
|
|
@@ -1243,7 +1401,7 @@ declare const admin: {
|
|
|
1243
1401
|
updated_at?: string;
|
|
1244
1402
|
}[];
|
|
1245
1403
|
}>;
|
|
1246
|
-
createVerificationLayer: (payload:
|
|
1404
|
+
createVerificationLayer: (payload: CreateVerificationLayerPayload) => Promise<{
|
|
1247
1405
|
data?: {
|
|
1248
1406
|
id?: number;
|
|
1249
1407
|
key?: string;
|
|
@@ -1256,7 +1414,7 @@ declare const admin: {
|
|
|
1256
1414
|
updated_at?: string;
|
|
1257
1415
|
};
|
|
1258
1416
|
}>;
|
|
1259
|
-
updateVerificationLayer: (params:
|
|
1417
|
+
updateVerificationLayer: (params: UpdateVerificationLayerPathParams, payload: UpdateVerificationLayerPayload) => Promise<{
|
|
1260
1418
|
data?: {
|
|
1261
1419
|
id?: number;
|
|
1262
1420
|
key?: string;
|
|
@@ -1279,18 +1437,18 @@ declare const admin: {
|
|
|
1279
1437
|
}[];
|
|
1280
1438
|
}[];
|
|
1281
1439
|
}>;
|
|
1282
|
-
createVerificationFlow: (payload:
|
|
1440
|
+
createVerificationFlow: (payload: CreateVerificationFlowPayload) => Promise<{
|
|
1283
1441
|
data?: {
|
|
1284
1442
|
order?: number;
|
|
1285
1443
|
is_required?: boolean;
|
|
1286
1444
|
};
|
|
1287
1445
|
}>;
|
|
1288
|
-
reorderVerificationFlow: (payload:
|
|
1446
|
+
reorderVerificationFlow: (payload: ReorderVerificationFlowPayload) => Promise<{
|
|
1289
1447
|
message?: string;
|
|
1290
1448
|
event?: string | null;
|
|
1291
1449
|
data?: string | null;
|
|
1292
1450
|
}>;
|
|
1293
|
-
getUserVerifications: (query?:
|
|
1451
|
+
getUserVerifications: (query?: GetUserVerificationsQuery) => Promise<{
|
|
1294
1452
|
data?: {
|
|
1295
1453
|
id?: number;
|
|
1296
1454
|
status?: string;
|
|
@@ -1323,7 +1481,7 @@ declare const admin: {
|
|
|
1323
1481
|
total?: number;
|
|
1324
1482
|
};
|
|
1325
1483
|
}>;
|
|
1326
|
-
getUserVerificationHistory: (params:
|
|
1484
|
+
getUserVerificationHistory: (params: GetUserVerificationHistoryPathParams) => Promise<{
|
|
1327
1485
|
data?: {
|
|
1328
1486
|
id?: number;
|
|
1329
1487
|
status?: string;
|
|
@@ -1335,8 +1493,8 @@ declare const admin: {
|
|
|
1335
1493
|
updated_at?: string;
|
|
1336
1494
|
}[];
|
|
1337
1495
|
}>;
|
|
1338
|
-
reviewUserVerification: (params:
|
|
1339
|
-
resetUserVerification: (params:
|
|
1496
|
+
reviewUserVerification: (params: ReviewUserVerificationPathParams, payload: ReviewUserVerificationPayload) => Promise<unknown>;
|
|
1497
|
+
resetUserVerification: (params: ResetUserVerificationPathParams, payload: ResetUserVerificationPayload) => Promise<unknown>;
|
|
1340
1498
|
getListingComplianceSubmissions: () => Promise<{
|
|
1341
1499
|
data?: {
|
|
1342
1500
|
id?: number;
|
|
@@ -1413,8 +1571,8 @@ declare const admin: {
|
|
|
1413
1571
|
total?: number;
|
|
1414
1572
|
};
|
|
1415
1573
|
}>;
|
|
1416
|
-
reviewListingComplianceSubmission: (params:
|
|
1417
|
-
reviewTenancyComplianceSubmission: (params:
|
|
1574
|
+
reviewListingComplianceSubmission: (params: ReviewListingComplianceSubmissionPathParams, payload: ReviewListingComplianceSubmissionPayload) => Promise<unknown>;
|
|
1575
|
+
reviewTenancyComplianceSubmission: (params: ReviewTenancyComplianceSubmissionPathParams, payload: ReviewTenancyComplianceSubmissionPayload) => Promise<unknown>;
|
|
1418
1576
|
getPlans: () => Promise<{
|
|
1419
1577
|
data?: {
|
|
1420
1578
|
key?: string;
|
|
@@ -1423,7 +1581,7 @@ declare const admin: {
|
|
|
1423
1581
|
is_active?: boolean;
|
|
1424
1582
|
}[];
|
|
1425
1583
|
}>;
|
|
1426
|
-
createPlan: (payload:
|
|
1584
|
+
createPlan: (payload: CreatePlanPayload) => Promise<{
|
|
1427
1585
|
data?: {
|
|
1428
1586
|
key?: string;
|
|
1429
1587
|
name?: string;
|
|
@@ -1431,7 +1589,7 @@ declare const admin: {
|
|
|
1431
1589
|
is_active?: boolean;
|
|
1432
1590
|
};
|
|
1433
1591
|
}>;
|
|
1434
|
-
updatePlan: (params:
|
|
1592
|
+
updatePlan: (params: UpdatePlanPathParams, payload: UpdatePlanPayload) => Promise<{
|
|
1435
1593
|
data?: {
|
|
1436
1594
|
key?: string;
|
|
1437
1595
|
name?: string;
|
|
@@ -1439,10 +1597,10 @@ declare const admin: {
|
|
|
1439
1597
|
is_active?: boolean;
|
|
1440
1598
|
};
|
|
1441
1599
|
}>;
|
|
1442
|
-
assignPlanToUser: (payload:
|
|
1443
|
-
deactivateUserPlan: (params:
|
|
1444
|
-
attachPlanVerificationRequirements: (params:
|
|
1445
|
-
attachPlanCapabilities: (params:
|
|
1600
|
+
assignPlanToUser: (payload: AssignPlanToUserPayload) => Promise<unknown>;
|
|
1601
|
+
deactivateUserPlan: (params: DeactivateUserPlanPathParams, payload: DeactivateUserPlanPayload) => Promise<unknown>;
|
|
1602
|
+
attachPlanVerificationRequirements: (params: AttachPlanVerificationRequirementsPathParams, payload: AttachPlanVerificationRequirementsPayload) => Promise<unknown>;
|
|
1603
|
+
attachPlanCapabilities: (params: AttachPlanCapabilitiesPathParams, payload: AttachPlanCapabilitiesPayload) => Promise<unknown>;
|
|
1446
1604
|
getPlanEntitlements: () => Promise<{
|
|
1447
1605
|
data?: {
|
|
1448
1606
|
key?: string;
|
|
@@ -1451,7 +1609,7 @@ declare const admin: {
|
|
|
1451
1609
|
value_type?: string;
|
|
1452
1610
|
}[];
|
|
1453
1611
|
}>;
|
|
1454
|
-
createPlanEntitlement: (payload:
|
|
1612
|
+
createPlanEntitlement: (payload: CreatePlanEntitlementPayload) => Promise<{
|
|
1455
1613
|
data?: {
|
|
1456
1614
|
key?: string;
|
|
1457
1615
|
name?: string;
|
|
@@ -1459,7 +1617,7 @@ declare const admin: {
|
|
|
1459
1617
|
value_type?: string;
|
|
1460
1618
|
};
|
|
1461
1619
|
}>;
|
|
1462
|
-
updatePlanEntitlement: (params:
|
|
1620
|
+
updatePlanEntitlement: (params: UpdatePlanEntitlementPathParams, payload: UpdatePlanEntitlementPayload) => Promise<{
|
|
1463
1621
|
data?: {
|
|
1464
1622
|
key?: string;
|
|
1465
1623
|
name?: string;
|
|
@@ -1467,9 +1625,9 @@ declare const admin: {
|
|
|
1467
1625
|
value_type?: string;
|
|
1468
1626
|
};
|
|
1469
1627
|
}>;
|
|
1470
|
-
syncPlanEntitlements: (params:
|
|
1471
|
-
viewDocument: (params:
|
|
1472
|
-
downloadDocument: (params:
|
|
1628
|
+
syncPlanEntitlements: (params: SyncPlanEntitlementsPathParams, payload: SyncPlanEntitlementsPayload) => Promise<unknown>;
|
|
1629
|
+
viewDocument: (params: ViewDocumentAdminPathParams) => Promise<unknown>;
|
|
1630
|
+
downloadDocument: (params: DownloadDocumentAdminPathParams) => Promise<unknown>;
|
|
1473
1631
|
getCapabilities: () => Promise<{
|
|
1474
1632
|
data?: {
|
|
1475
1633
|
key?: string;
|
|
@@ -1477,14 +1635,14 @@ declare const admin: {
|
|
|
1477
1635
|
description?: string;
|
|
1478
1636
|
}[];
|
|
1479
1637
|
}>;
|
|
1480
|
-
createCapability: (payload:
|
|
1638
|
+
createCapability: (payload: CreateCapabilityPayload) => Promise<{
|
|
1481
1639
|
data?: {
|
|
1482
1640
|
key?: string;
|
|
1483
1641
|
name?: string;
|
|
1484
1642
|
description?: string;
|
|
1485
1643
|
};
|
|
1486
1644
|
}>;
|
|
1487
|
-
updateCapability: (params:
|
|
1645
|
+
updateCapability: (params: UpdateCapabilityPathParams, payload: UpdateCapabilityPayload) => Promise<{
|
|
1488
1646
|
data?: {
|
|
1489
1647
|
key?: string;
|
|
1490
1648
|
name?: string;
|
|
@@ -1504,7 +1662,7 @@ declare const admin: {
|
|
|
1504
1662
|
status?: string;
|
|
1505
1663
|
}[];
|
|
1506
1664
|
}>;
|
|
1507
|
-
createComplianceDefinition: (payload:
|
|
1665
|
+
createComplianceDefinition: (payload: CreateComplianceDefinitionPayload) => Promise<{
|
|
1508
1666
|
data?: {
|
|
1509
1667
|
id?: string | null;
|
|
1510
1668
|
compliance_key?: string;
|
|
@@ -1516,7 +1674,7 @@ declare const admin: {
|
|
|
1516
1674
|
status?: string;
|
|
1517
1675
|
};
|
|
1518
1676
|
}>;
|
|
1519
|
-
updateComplianceDefinition: (params:
|
|
1677
|
+
updateComplianceDefinition: (params: UpdateComplianceDefinitionPathParams, payload: UpdateComplianceDefinitionPayload) => Promise<{
|
|
1520
1678
|
data?: {
|
|
1521
1679
|
id?: string | null;
|
|
1522
1680
|
compliance_key?: string;
|
|
@@ -1528,14 +1686,14 @@ declare const admin: {
|
|
|
1528
1686
|
status?: string;
|
|
1529
1687
|
};
|
|
1530
1688
|
}>;
|
|
1531
|
-
syncComplianceRequirements: (params:
|
|
1532
|
-
assignGlobalCompliance: (params:
|
|
1533
|
-
assignComplianceToCategory: (params:
|
|
1534
|
-
assignComplianceToListing: (params:
|
|
1535
|
-
assignComplianceToTenancy: (params:
|
|
1536
|
-
assignComplianceToListingVertical: (params:
|
|
1537
|
-
assignComplianceToListingType: (params:
|
|
1538
|
-
listingHistoryInspection: (params:
|
|
1689
|
+
syncComplianceRequirements: (params: SyncComplianceRequirementsPathParams, payload: SyncComplianceRequirementsPayload) => Promise<unknown>;
|
|
1690
|
+
assignGlobalCompliance: (params: AssignGlobalCompliancePathParams) => Promise<unknown>;
|
|
1691
|
+
assignComplianceToCategory: (params: AssignComplianceToCategoryPathParams) => Promise<unknown>;
|
|
1692
|
+
assignComplianceToListing: (params: AssignComplianceToListingPathParams) => Promise<unknown>;
|
|
1693
|
+
assignComplianceToTenancy: (params: AssignComplianceToTenancyPathParams) => Promise<unknown>;
|
|
1694
|
+
assignComplianceToListingVertical: (params: AssignComplianceToListingVerticalPathParams, payload: AssignComplianceToListingVerticalPayload) => Promise<unknown>;
|
|
1695
|
+
assignComplianceToListingType: (params: AssignComplianceToListingTypePathParams, payload: AssignComplianceToListingTypePayload) => Promise<unknown>;
|
|
1696
|
+
listingHistoryInspection: (params: ListingHistoryInspectionAdminPathParams, query?: ListingHistoryInspectionAdminQuery) => Promise<{
|
|
1539
1697
|
message?: string;
|
|
1540
1698
|
event?: string | null;
|
|
1541
1699
|
data?: {
|
|
@@ -1566,7 +1724,7 @@ declare const admin: {
|
|
|
1566
1724
|
};
|
|
1567
1725
|
};
|
|
1568
1726
|
}>;
|
|
1569
|
-
scheduleInspection: (payload:
|
|
1727
|
+
scheduleInspection: (payload: ScheduleInspectionPayload) => Promise<{
|
|
1570
1728
|
data?: {
|
|
1571
1729
|
uid?: string;
|
|
1572
1730
|
inspection_type?: string;
|
|
@@ -1580,7 +1738,7 @@ declare const admin: {
|
|
|
1580
1738
|
updated_at?: string;
|
|
1581
1739
|
};
|
|
1582
1740
|
}>;
|
|
1583
|
-
completeInspection: (params:
|
|
1741
|
+
completeInspection: (params: CompleteInspectionPathParams, payload: CompleteInspectionPayload) => Promise<{
|
|
1584
1742
|
data?: {
|
|
1585
1743
|
uid?: string;
|
|
1586
1744
|
inspection_type?: string;
|
|
@@ -1594,7 +1752,7 @@ declare const admin: {
|
|
|
1594
1752
|
updated_at?: string;
|
|
1595
1753
|
};
|
|
1596
1754
|
}>;
|
|
1597
|
-
rescheduleInspection: (params:
|
|
1755
|
+
rescheduleInspection: (params: RescheduleInspectionPathParams, payload: RescheduleInspectionPayload) => Promise<{
|
|
1598
1756
|
data?: {
|
|
1599
1757
|
uid?: string;
|
|
1600
1758
|
inspection_type?: string;
|
|
@@ -1608,7 +1766,7 @@ declare const admin: {
|
|
|
1608
1766
|
updated_at?: string;
|
|
1609
1767
|
};
|
|
1610
1768
|
}>;
|
|
1611
|
-
cancelInspection: (params:
|
|
1769
|
+
cancelInspection: (params: CancelInspectionPathParams, payload: CancelInspectionPayload) => Promise<{
|
|
1612
1770
|
data?: {
|
|
1613
1771
|
uid?: string;
|
|
1614
1772
|
inspection_type?: string;
|
|
@@ -1622,7 +1780,7 @@ declare const admin: {
|
|
|
1622
1780
|
updated_at?: string;
|
|
1623
1781
|
};
|
|
1624
1782
|
}>;
|
|
1625
|
-
assignMaintenanceTechnician: (params:
|
|
1783
|
+
assignMaintenanceTechnician: (params: AssignMaintenanceTechnicianPathParams, payload: AssignMaintenanceTechnicianPayload) => Promise<{
|
|
1626
1784
|
data?: {
|
|
1627
1785
|
uid?: string;
|
|
1628
1786
|
title?: string;
|
|
@@ -1637,7 +1795,7 @@ declare const admin: {
|
|
|
1637
1795
|
updated_at?: string;
|
|
1638
1796
|
};
|
|
1639
1797
|
}>;
|
|
1640
|
-
startMaintenanceRepair: (params:
|
|
1798
|
+
startMaintenanceRepair: (params: StartMaintenanceRepairPathParams, payload: StartMaintenanceRepairPayload) => Promise<{
|
|
1641
1799
|
data?: {
|
|
1642
1800
|
uid?: string;
|
|
1643
1801
|
title?: string;
|
|
@@ -1652,7 +1810,7 @@ declare const admin: {
|
|
|
1652
1810
|
updated_at?: string;
|
|
1653
1811
|
};
|
|
1654
1812
|
}>;
|
|
1655
|
-
completeMaintenanceRepair: (params:
|
|
1813
|
+
completeMaintenanceRepair: (params: CompleteMaintenanceRepairPathParams, payload: CompleteMaintenanceRepairPayload) => Promise<{
|
|
1656
1814
|
data?: {
|
|
1657
1815
|
uid?: string;
|
|
1658
1816
|
title?: string;
|
|
@@ -1667,7 +1825,7 @@ declare const admin: {
|
|
|
1667
1825
|
updated_at?: string;
|
|
1668
1826
|
};
|
|
1669
1827
|
}>;
|
|
1670
|
-
cancelMaintenanceRequest: (params:
|
|
1828
|
+
cancelMaintenanceRequest: (params: CancelMaintenanceRequestPathParams, payload: CancelMaintenanceRequestPayload) => Promise<{
|
|
1671
1829
|
data?: {
|
|
1672
1830
|
uid?: string;
|
|
1673
1831
|
title?: string;
|
|
@@ -1682,7 +1840,7 @@ declare const admin: {
|
|
|
1682
1840
|
updated_at?: string;
|
|
1683
1841
|
};
|
|
1684
1842
|
}>;
|
|
1685
|
-
fetchTenancyList: (query?:
|
|
1843
|
+
fetchTenancyList: (query?: FetchTenancyListAdminQuery) => Promise<{
|
|
1686
1844
|
message?: string;
|
|
1687
1845
|
event?: string | null;
|
|
1688
1846
|
data?: {
|
|
@@ -1727,7 +1885,7 @@ declare const admin: {
|
|
|
1727
1885
|
};
|
|
1728
1886
|
};
|
|
1729
1887
|
}>;
|
|
1730
|
-
fetchTenancyComplianceDocuments: (params:
|
|
1888
|
+
fetchTenancyComplianceDocuments: (params: FetchTenancyComplianceDocumentsAdminPathParams, query?: FetchTenancyComplianceDocumentsAdminQuery) => Promise<{
|
|
1731
1889
|
message?: string;
|
|
1732
1890
|
event?: string | null;
|
|
1733
1891
|
data?: {
|
|
@@ -1750,8 +1908,14 @@ declare const admin: {
|
|
|
1750
1908
|
}>;
|
|
1751
1909
|
};
|
|
1752
1910
|
|
|
1911
|
+
type CreateAppointmentPayload = ApiRequest<'createAppointment'>;
|
|
1912
|
+
type FetchOneAppointmentPathParams = ApiPathParams<'fetchOneAppointment'>;
|
|
1913
|
+
type RescheduleAppointmentPathParams = ApiPathParams<'rescheduleAppointment'>;
|
|
1914
|
+
type RescheduleAppointmentPayload = ApiRequest<'rescheduleAppointment'>;
|
|
1915
|
+
type CancelAppointmentPathParams = ApiPathParams<'cancelAppointment'>;
|
|
1916
|
+
type ConfirmAppointmentPathParams = ApiPathParams<'confirmAppointment'>;
|
|
1753
1917
|
declare const appointment: {
|
|
1754
|
-
create: (payload:
|
|
1918
|
+
create: (payload: CreateAppointmentPayload) => Promise<{
|
|
1755
1919
|
data?: {
|
|
1756
1920
|
id?: number;
|
|
1757
1921
|
listing_id?: number;
|
|
@@ -1763,7 +1927,7 @@ declare const appointment: {
|
|
|
1763
1927
|
created_at?: string;
|
|
1764
1928
|
};
|
|
1765
1929
|
}>;
|
|
1766
|
-
fetchOne: (params:
|
|
1930
|
+
fetchOne: (params: FetchOneAppointmentPathParams) => Promise<{
|
|
1767
1931
|
data?: {
|
|
1768
1932
|
id?: number;
|
|
1769
1933
|
listing_id?: number;
|
|
@@ -1808,7 +1972,7 @@ declare const appointment: {
|
|
|
1808
1972
|
total?: number;
|
|
1809
1973
|
};
|
|
1810
1974
|
}>;
|
|
1811
|
-
reschedule: (params:
|
|
1975
|
+
reschedule: (params: RescheduleAppointmentPathParams, payload: RescheduleAppointmentPayload) => Promise<{
|
|
1812
1976
|
data?: {
|
|
1813
1977
|
id?: number;
|
|
1814
1978
|
listing_id?: number;
|
|
@@ -1820,7 +1984,7 @@ declare const appointment: {
|
|
|
1820
1984
|
created_at?: string;
|
|
1821
1985
|
};
|
|
1822
1986
|
}>;
|
|
1823
|
-
cancel: (params:
|
|
1987
|
+
cancel: (params: CancelAppointmentPathParams) => Promise<{
|
|
1824
1988
|
data?: {
|
|
1825
1989
|
id?: number;
|
|
1826
1990
|
listing_id?: number;
|
|
@@ -1832,7 +1996,7 @@ declare const appointment: {
|
|
|
1832
1996
|
created_at?: string;
|
|
1833
1997
|
};
|
|
1834
1998
|
}>;
|
|
1835
|
-
confirm: (params:
|
|
1999
|
+
confirm: (params: ConfirmAppointmentPathParams) => Promise<{
|
|
1836
2000
|
data?: {
|
|
1837
2001
|
id?: number;
|
|
1838
2002
|
listing_id?: number;
|
|
@@ -1846,8 +2010,14 @@ declare const appointment: {
|
|
|
1846
2010
|
}>;
|
|
1847
2011
|
};
|
|
1848
2012
|
|
|
2013
|
+
type LoginUserPayload = ApiRequest<'loginUser'>;
|
|
2014
|
+
type SendResetPasswordOTPPayload = ApiRequest<'sendResetPasswordOTP'>;
|
|
2015
|
+
type VerifyPasswordResetOTPPayload = ApiRequest<'verifyPasswordResetOTP'>;
|
|
2016
|
+
type ResetPasswordPayload = ApiRequest<'resetPassword'>;
|
|
2017
|
+
type GenerateOTPPayload = ApiRequest<'generateOTP'>;
|
|
2018
|
+
type VerifyOTPPayload = ApiRequest<'verifyOTP'>;
|
|
1849
2019
|
declare const auth: {
|
|
1850
|
-
loginUser: (payload:
|
|
2020
|
+
loginUser: (payload: LoginUserPayload) => Promise<{
|
|
1851
2021
|
message?: string;
|
|
1852
2022
|
event?: string | null;
|
|
1853
2023
|
data?: {
|
|
@@ -1861,29 +2031,29 @@ declare const auth: {
|
|
|
1861
2031
|
event?: string | null;
|
|
1862
2032
|
data?: string | null;
|
|
1863
2033
|
}>;
|
|
1864
|
-
sendResetPasswordOTP: (payload:
|
|
2034
|
+
sendResetPasswordOTP: (payload: SendResetPasswordOTPPayload) => Promise<{
|
|
1865
2035
|
message?: string;
|
|
1866
2036
|
event?: string | null;
|
|
1867
2037
|
data?: string | null;
|
|
1868
2038
|
}>;
|
|
1869
|
-
verifyPasswordResetOTP: (payload:
|
|
2039
|
+
verifyPasswordResetOTP: (payload: VerifyPasswordResetOTPPayload) => Promise<{
|
|
1870
2040
|
message?: string;
|
|
1871
2041
|
event?: string | null;
|
|
1872
2042
|
data?: {
|
|
1873
2043
|
reset_token?: string;
|
|
1874
2044
|
};
|
|
1875
2045
|
}>;
|
|
1876
|
-
resetPassword: (payload:
|
|
2046
|
+
resetPassword: (payload: ResetPasswordPayload) => Promise<{
|
|
1877
2047
|
message?: string;
|
|
1878
2048
|
event?: string | null;
|
|
1879
2049
|
data?: string | null;
|
|
1880
2050
|
}>;
|
|
1881
|
-
generateOTP: (payload:
|
|
2051
|
+
generateOTP: (payload: GenerateOTPPayload) => Promise<{
|
|
1882
2052
|
message?: string;
|
|
1883
2053
|
event?: string | null;
|
|
1884
2054
|
data?: string | null;
|
|
1885
2055
|
}>;
|
|
1886
|
-
verifyOTP: (payload:
|
|
2056
|
+
verifyOTP: (payload: VerifyOTPPayload) => Promise<{
|
|
1887
2057
|
message?: string;
|
|
1888
2058
|
event?: string | null;
|
|
1889
2059
|
data?: string | null;
|
|
@@ -1897,8 +2067,12 @@ declare const auth: {
|
|
|
1897
2067
|
}>;
|
|
1898
2068
|
};
|
|
1899
2069
|
|
|
2070
|
+
type CreateBookingPayload = ApiRequest<'createBooking'>;
|
|
2071
|
+
type ConfirmBookingPathParams = ApiPathParams<'confirmBooking'>;
|
|
2072
|
+
type CancelBookingPathParams = ApiPathParams<'cancelBooking'>;
|
|
2073
|
+
type GetBookingPathParams = ApiPathParams<'getBooking'>;
|
|
1900
2074
|
declare const booking: {
|
|
1901
|
-
create: (payload:
|
|
2075
|
+
create: (payload: CreateBookingPayload) => Promise<{
|
|
1902
2076
|
message?: string;
|
|
1903
2077
|
event?: string | null;
|
|
1904
2078
|
data?: {
|
|
@@ -1914,7 +2088,7 @@ declare const booking: {
|
|
|
1914
2088
|
created_at?: string | null;
|
|
1915
2089
|
};
|
|
1916
2090
|
}>;
|
|
1917
|
-
confirm: (params:
|
|
2091
|
+
confirm: (params: ConfirmBookingPathParams) => Promise<{
|
|
1918
2092
|
message?: string;
|
|
1919
2093
|
event?: string | null;
|
|
1920
2094
|
data?: {
|
|
@@ -1930,7 +2104,7 @@ declare const booking: {
|
|
|
1930
2104
|
created_at?: string | null;
|
|
1931
2105
|
};
|
|
1932
2106
|
}>;
|
|
1933
|
-
cancel: (params:
|
|
2107
|
+
cancel: (params: CancelBookingPathParams) => Promise<{
|
|
1934
2108
|
message?: string;
|
|
1935
2109
|
event?: string | null;
|
|
1936
2110
|
data?: {
|
|
@@ -1946,7 +2120,7 @@ declare const booking: {
|
|
|
1946
2120
|
created_at?: string | null;
|
|
1947
2121
|
};
|
|
1948
2122
|
}>;
|
|
1949
|
-
get: (params:
|
|
2123
|
+
get: (params: GetBookingPathParams) => Promise<{
|
|
1950
2124
|
message?: string;
|
|
1951
2125
|
event?: string | null;
|
|
1952
2126
|
data?: {
|
|
@@ -1964,14 +2138,17 @@ declare const booking: {
|
|
|
1964
2138
|
}>;
|
|
1965
2139
|
};
|
|
1966
2140
|
|
|
2141
|
+
type PostApiV1PortalTenantCreatePayload = ApiRequest<'postApiV1PortalTenantCreate'>;
|
|
2142
|
+
type PostApiV1PortalTenantVerifyOtpPayload = ApiRequest<'postApiV1PortalTenantVerifyOtp'>;
|
|
2143
|
+
type UpdateTenantProfilePayload = ApiRequest<'updateTenantProfile'>;
|
|
1967
2144
|
declare const tenant: {
|
|
1968
2145
|
getApiV1PortalTenantTest: () => Promise<{
|
|
1969
2146
|
message?: string;
|
|
1970
2147
|
}>;
|
|
1971
|
-
postApiV1PortalTenantCreate: (payload:
|
|
2148
|
+
postApiV1PortalTenantCreate: (payload: PostApiV1PortalTenantCreatePayload) => Promise<unknown>;
|
|
1972
2149
|
postApiV1PortalTenantCreateWithGithub: () => Promise<unknown>;
|
|
1973
2150
|
postApiV1PortalTenantSendOtp: () => Promise<unknown>;
|
|
1974
|
-
postApiV1PortalTenantVerifyOtp: (payload:
|
|
2151
|
+
postApiV1PortalTenantVerifyOtp: (payload: PostApiV1PortalTenantVerifyOtpPayload) => Promise<unknown>;
|
|
1975
2152
|
fetchTenantProfile: () => Promise<{
|
|
1976
2153
|
message?: string;
|
|
1977
2154
|
event?: string | null;
|
|
@@ -1999,7 +2176,7 @@ declare const tenant: {
|
|
|
1999
2176
|
};
|
|
2000
2177
|
};
|
|
2001
2178
|
}>;
|
|
2002
|
-
updateTenantProfile: (payload:
|
|
2179
|
+
updateTenantProfile: (payload: UpdateTenantProfilePayload) => Promise<{
|
|
2003
2180
|
data?: {
|
|
2004
2181
|
uid?: string;
|
|
2005
2182
|
username?: string;
|
|
@@ -2031,14 +2208,16 @@ declare const tenant: {
|
|
|
2031
2208
|
}>;
|
|
2032
2209
|
};
|
|
2033
2210
|
|
|
2211
|
+
type PostApiV1PortalCustomerCreatePayload = ApiRequest<'postApiV1PortalCustomerCreate'>;
|
|
2212
|
+
type PostApiV1PortalCustomerVerifyOtpPayload = ApiRequest<'postApiV1PortalCustomerVerifyOtp'>;
|
|
2034
2213
|
declare const customer: {
|
|
2035
2214
|
getApiV1PortalCustomerTest: () => Promise<{
|
|
2036
2215
|
message?: string;
|
|
2037
2216
|
}>;
|
|
2038
|
-
postApiV1PortalCustomerCreate: (payload:
|
|
2217
|
+
postApiV1PortalCustomerCreate: (payload: PostApiV1PortalCustomerCreatePayload) => Promise<unknown>;
|
|
2039
2218
|
postApiV1PortalCustomerCreateWithGithub: () => Promise<unknown>;
|
|
2040
2219
|
postApiV1PortalCustomerSendOtp: () => Promise<unknown>;
|
|
2041
|
-
postApiV1PortalCustomerVerifyOtp: (payload:
|
|
2220
|
+
postApiV1PortalCustomerVerifyOtp: (payload: PostApiV1PortalCustomerVerifyOtpPayload) => Promise<unknown>;
|
|
2042
2221
|
};
|
|
2043
2222
|
|
|
2044
2223
|
declare const google: {
|
|
@@ -2051,8 +2230,9 @@ declare const github: {
|
|
|
2051
2230
|
getApiV1SocialAuthGithubCallback: () => Promise<unknown>;
|
|
2052
2231
|
};
|
|
2053
2232
|
|
|
2233
|
+
type GetFeatureQuery = Expand<ApiQuery<'getFeature'>>;
|
|
2054
2234
|
declare const feature: {
|
|
2055
|
-
get: (query?:
|
|
2235
|
+
get: (query?: GetFeatureQuery) => Promise<{
|
|
2056
2236
|
message?: string;
|
|
2057
2237
|
event?: string | null;
|
|
2058
2238
|
data?: {
|
|
@@ -2076,8 +2256,10 @@ declare const feature: {
|
|
|
2076
2256
|
}>;
|
|
2077
2257
|
};
|
|
2078
2258
|
|
|
2259
|
+
type ListingHistoryInspectionPathParams = ApiPathParams<'listingHistoryInspection'>;
|
|
2260
|
+
type ListingHistoryInspectionQuery = Expand<ApiQuery<'listingHistoryInspection'>>;
|
|
2079
2261
|
declare const inspection: {
|
|
2080
|
-
listingHistory: (params:
|
|
2262
|
+
listingHistory: (params: ListingHistoryInspectionPathParams, query?: ListingHistoryInspectionQuery) => Promise<{
|
|
2081
2263
|
message?: string;
|
|
2082
2264
|
event?: string | null;
|
|
2083
2265
|
data?: {
|
|
@@ -2110,8 +2292,48 @@ declare const inspection: {
|
|
|
2110
2292
|
}>;
|
|
2111
2293
|
};
|
|
2112
2294
|
|
|
2295
|
+
type NewLandlordPayload = ApiRequest<'newLandlord'>;
|
|
2296
|
+
type BasicLoginLandlordPayload = ApiRequest<'basicLoginLandlord'>;
|
|
2297
|
+
type UpdateProfilePayload = ApiRequest<'updateProfile'>;
|
|
2298
|
+
type CreateListingDraftPayload = ApiRequest<'createListingDraft'>;
|
|
2299
|
+
type UpdateDraftNamePathParams = ApiPathParams<'updateDraftName'>;
|
|
2300
|
+
type UpdateDraftNamePayload = ApiRequest<'updateDraftName'>;
|
|
2301
|
+
type GetOwnerListingPathParams = ApiPathParams<'getOwnerListing'>;
|
|
2302
|
+
type SaveListingDetailsPathParams = ApiPathParams<'saveListingDetails'>;
|
|
2303
|
+
type SaveListingDetailsPayload = ApiRequest<'saveListingDetails'>;
|
|
2304
|
+
type SavePropertyBasicsPathParams = ApiPathParams<'savePropertyBasics'>;
|
|
2305
|
+
type SavePropertyBasicsPayload = ApiRequest<'savePropertyBasics'>;
|
|
2306
|
+
type SavePricingPathParams = ApiPathParams<'savePricing'>;
|
|
2307
|
+
type SavePricingPayload = ApiRequest<'savePricing'>;
|
|
2308
|
+
type SaveRentalDetailsPathParams = ApiPathParams<'saveRentalDetails'>;
|
|
2309
|
+
type SaveRentalDetailsPayload = ApiRequest<'saveRentalDetails'>;
|
|
2310
|
+
type SaveShortLetDetailsPathParams = ApiPathParams<'saveShortLetDetails'>;
|
|
2311
|
+
type SaveShortLetDetailsPayload = ApiRequest<'saveShortLetDetails'>;
|
|
2312
|
+
type SaveUsedItemDetailsPathParams = ApiPathParams<'saveUsedItemDetails'>;
|
|
2313
|
+
type SaveUsedItemDetailsPayload = ApiRequest<'saveUsedItemDetails'>;
|
|
2314
|
+
type SaveListingFeaturesPathParams = ApiPathParams<'saveListingFeatures'>;
|
|
2315
|
+
type SaveListingFeaturesPayload = ApiRequest<'saveListingFeatures'>;
|
|
2316
|
+
type SaveTenantPreferencesPathParams = ApiPathParams<'saveTenantPreferences'>;
|
|
2317
|
+
type SaveTenantPreferencesPayload = ApiRequest<'saveTenantPreferences'>;
|
|
2318
|
+
type SaveViewingAvailabilityPathParams = ApiPathParams<'saveViewingAvailability'>;
|
|
2319
|
+
type SaveViewingAvailabilityPayload = ApiRequest<'saveViewingAvailability'>;
|
|
2320
|
+
type UploadListingMediaPathParams = ApiPathParams<'uploadListingMedia'>;
|
|
2321
|
+
type UploadListingMediaFormData = FormData;
|
|
2322
|
+
type ReorderListingMediaPathParams = ApiPathParams<'reorderListingMedia'>;
|
|
2323
|
+
type ReorderListingMediaPayload = ApiRequest<'reorderListingMedia'>;
|
|
2324
|
+
type SetListingCoverMediaPathParams = ApiPathParams<'setListingCoverMedia'>;
|
|
2325
|
+
type DeleteListingMediaPathParams = ApiPathParams<'deleteListingMedia'>;
|
|
2326
|
+
type SubmitListingPathParams = ApiPathParams<'submitListing'>;
|
|
2327
|
+
type GetListingCompliancePathParams = ApiPathParams<'getListingCompliance'>;
|
|
2328
|
+
type SubmitListingCompliancePathParams = ApiPathParams<'submitListingCompliance'>;
|
|
2329
|
+
type SubmitListingCompliancePayload = ApiRequest<'submitListingCompliance'>;
|
|
2330
|
+
type ResolveListingCompliancePathParams = ApiPathParams<'resolveListingCompliance'>;
|
|
2331
|
+
type GetLandlordListingTenanciesPathParams = ApiPathParams<'getLandlordListingTenancies'>;
|
|
2332
|
+
type SubmitTenancyCompliancePathParams = ApiPathParams<'submitTenancyCompliance'>;
|
|
2333
|
+
type SubmitTenancyCompliancePayload = ApiRequest<'submitTenancyCompliance'>;
|
|
2334
|
+
type ResolveTenancyCompliancePathParams = ApiPathParams<'resolveTenancyCompliance'>;
|
|
2113
2335
|
declare const landlord: {
|
|
2114
|
-
new: (payload:
|
|
2336
|
+
new: (payload: NewLandlordPayload) => Promise<{
|
|
2115
2337
|
data?: {
|
|
2116
2338
|
uid?: string;
|
|
2117
2339
|
username?: string;
|
|
@@ -2159,7 +2381,7 @@ declare const landlord: {
|
|
|
2159
2381
|
prefers_sms_contact?: string | null;
|
|
2160
2382
|
};
|
|
2161
2383
|
}>;
|
|
2162
|
-
basicLogin: (payload:
|
|
2384
|
+
basicLogin: (payload: BasicLoginLandlordPayload) => Promise<{
|
|
2163
2385
|
message?: string;
|
|
2164
2386
|
event?: string | null;
|
|
2165
2387
|
data?: {
|
|
@@ -2263,7 +2485,7 @@ declare const landlord: {
|
|
|
2263
2485
|
prefers_sms_contact?: string | null;
|
|
2264
2486
|
};
|
|
2265
2487
|
}>;
|
|
2266
|
-
updateProfile: (payload:
|
|
2488
|
+
updateProfile: (payload: UpdateProfilePayload) => Promise<{
|
|
2267
2489
|
data?: {
|
|
2268
2490
|
uid?: string;
|
|
2269
2491
|
username?: string;
|
|
@@ -2311,7 +2533,7 @@ declare const landlord: {
|
|
|
2311
2533
|
prefers_sms_contact?: string | null;
|
|
2312
2534
|
};
|
|
2313
2535
|
}>;
|
|
2314
|
-
createListingDraft: (payload:
|
|
2536
|
+
createListingDraft: (payload: CreateListingDraftPayload) => Promise<{
|
|
2315
2537
|
data?: {
|
|
2316
2538
|
draft_name?: string;
|
|
2317
2539
|
sku?: string;
|
|
@@ -2328,7 +2550,7 @@ declare const landlord: {
|
|
|
2328
2550
|
media?: unknown[];
|
|
2329
2551
|
};
|
|
2330
2552
|
}>;
|
|
2331
|
-
updateDraftName: (params:
|
|
2553
|
+
updateDraftName: (params: UpdateDraftNamePathParams, payload: UpdateDraftNamePayload) => Promise<{
|
|
2332
2554
|
message?: string;
|
|
2333
2555
|
event?: string | null;
|
|
2334
2556
|
data?: unknown[];
|
|
@@ -2447,7 +2669,7 @@ declare const landlord: {
|
|
|
2447
2669
|
total?: number;
|
|
2448
2670
|
};
|
|
2449
2671
|
}>;
|
|
2450
|
-
getOwnerListing: (params:
|
|
2672
|
+
getOwnerListing: (params: GetOwnerListingPathParams) => Promise<{
|
|
2451
2673
|
data?: {
|
|
2452
2674
|
draft_name?: string;
|
|
2453
2675
|
sku?: string;
|
|
@@ -2469,52 +2691,52 @@ declare const landlord: {
|
|
|
2469
2691
|
};
|
|
2470
2692
|
};
|
|
2471
2693
|
}>;
|
|
2472
|
-
saveListingDetails: (params:
|
|
2694
|
+
saveListingDetails: (params: SaveListingDetailsPathParams, payload: SaveListingDetailsPayload) => Promise<{
|
|
2473
2695
|
message?: string;
|
|
2474
2696
|
event?: string;
|
|
2475
2697
|
data?: unknown[];
|
|
2476
2698
|
}>;
|
|
2477
|
-
savePropertyBasics: (params:
|
|
2699
|
+
savePropertyBasics: (params: SavePropertyBasicsPathParams, payload: SavePropertyBasicsPayload) => Promise<{
|
|
2478
2700
|
message?: string;
|
|
2479
2701
|
event?: string;
|
|
2480
2702
|
data?: unknown[];
|
|
2481
2703
|
}>;
|
|
2482
|
-
savePricing: (params:
|
|
2704
|
+
savePricing: (params: SavePricingPathParams, payload: SavePricingPayload) => Promise<{
|
|
2483
2705
|
message?: string;
|
|
2484
2706
|
event?: string;
|
|
2485
2707
|
data?: unknown[];
|
|
2486
2708
|
}>;
|
|
2487
|
-
saveRentalDetails: (params:
|
|
2709
|
+
saveRentalDetails: (params: SaveRentalDetailsPathParams, payload: SaveRentalDetailsPayload) => Promise<{
|
|
2488
2710
|
message?: string;
|
|
2489
2711
|
event?: string;
|
|
2490
2712
|
data?: unknown[];
|
|
2491
2713
|
}>;
|
|
2492
|
-
saveShortLetDetails: (params:
|
|
2714
|
+
saveShortLetDetails: (params: SaveShortLetDetailsPathParams, payload: SaveShortLetDetailsPayload) => Promise<{
|
|
2493
2715
|
message?: string;
|
|
2494
2716
|
event?: string;
|
|
2495
2717
|
data?: unknown[];
|
|
2496
2718
|
}>;
|
|
2497
|
-
saveUsedItemDetails: (params:
|
|
2719
|
+
saveUsedItemDetails: (params: SaveUsedItemDetailsPathParams, payload: SaveUsedItemDetailsPayload) => Promise<{
|
|
2498
2720
|
message?: string;
|
|
2499
2721
|
event?: string;
|
|
2500
2722
|
data?: unknown[];
|
|
2501
2723
|
}>;
|
|
2502
|
-
saveListingFeatures: (params:
|
|
2724
|
+
saveListingFeatures: (params: SaveListingFeaturesPathParams, payload: SaveListingFeaturesPayload) => Promise<{
|
|
2503
2725
|
message?: string;
|
|
2504
2726
|
event?: string;
|
|
2505
2727
|
data?: unknown[];
|
|
2506
2728
|
}>;
|
|
2507
|
-
saveTenantPreferences: (params:
|
|
2729
|
+
saveTenantPreferences: (params: SaveTenantPreferencesPathParams, payload: SaveTenantPreferencesPayload) => Promise<{
|
|
2508
2730
|
message?: string;
|
|
2509
2731
|
event?: string;
|
|
2510
2732
|
data?: unknown[];
|
|
2511
2733
|
}>;
|
|
2512
|
-
saveViewingAvailability: (params:
|
|
2734
|
+
saveViewingAvailability: (params: SaveViewingAvailabilityPathParams, payload: SaveViewingAvailabilityPayload) => Promise<{
|
|
2513
2735
|
message?: string;
|
|
2514
2736
|
event?: string;
|
|
2515
2737
|
data?: unknown[];
|
|
2516
2738
|
}>;
|
|
2517
|
-
uploadListingMedia: (params:
|
|
2739
|
+
uploadListingMedia: (params: UploadListingMediaPathParams, formData: UploadListingMediaFormData) => Promise<{
|
|
2518
2740
|
data?: {
|
|
2519
2741
|
uid?: string;
|
|
2520
2742
|
media_type?: string;
|
|
@@ -2531,21 +2753,21 @@ declare const landlord: {
|
|
|
2531
2753
|
url?: string;
|
|
2532
2754
|
};
|
|
2533
2755
|
}>;
|
|
2534
|
-
reorderListingMedia: (params:
|
|
2756
|
+
reorderListingMedia: (params: ReorderListingMediaPathParams, payload: ReorderListingMediaPayload) => Promise<{
|
|
2535
2757
|
message?: string;
|
|
2536
2758
|
event?: string;
|
|
2537
2759
|
data?: unknown[];
|
|
2538
2760
|
}>;
|
|
2539
|
-
setListingCoverMedia: (params:
|
|
2761
|
+
setListingCoverMedia: (params: SetListingCoverMediaPathParams) => Promise<{
|
|
2540
2762
|
message?: string;
|
|
2541
2763
|
event?: string;
|
|
2542
2764
|
data?: unknown[];
|
|
2543
2765
|
}>;
|
|
2544
|
-
deleteListingMedia: (params:
|
|
2766
|
+
deleteListingMedia: (params: DeleteListingMediaPathParams) => Promise<{
|
|
2545
2767
|
message?: string;
|
|
2546
2768
|
data?: unknown[];
|
|
2547
2769
|
}>;
|
|
2548
|
-
submitListing: (params:
|
|
2770
|
+
submitListing: (params: SubmitListingPathParams) => Promise<{
|
|
2549
2771
|
data?: {
|
|
2550
2772
|
draft_name?: string;
|
|
2551
2773
|
sku?: string;
|
|
@@ -2596,13 +2818,13 @@ declare const landlord: {
|
|
|
2596
2818
|
};
|
|
2597
2819
|
}[];
|
|
2598
2820
|
}>;
|
|
2599
|
-
getListingCompliance: (params:
|
|
2821
|
+
getListingCompliance: (params: GetListingCompliancePathParams) => Promise<{
|
|
2600
2822
|
data?: {
|
|
2601
2823
|
uid?: string;
|
|
2602
2824
|
compliances?: string | null;
|
|
2603
2825
|
};
|
|
2604
2826
|
}>;
|
|
2605
|
-
submitListingCompliance: (params:
|
|
2827
|
+
submitListingCompliance: (params: SubmitListingCompliancePathParams, payload: SubmitListingCompliancePayload) => Promise<{
|
|
2606
2828
|
data?: {
|
|
2607
2829
|
id?: number;
|
|
2608
2830
|
compliance?: {
|
|
@@ -2619,7 +2841,7 @@ declare const landlord: {
|
|
|
2619
2841
|
created_at?: string;
|
|
2620
2842
|
};
|
|
2621
2843
|
}>;
|
|
2622
|
-
resolveListingCompliance: (params:
|
|
2844
|
+
resolveListingCompliance: (params: ResolveListingCompliancePathParams) => Promise<{
|
|
2623
2845
|
data?: {
|
|
2624
2846
|
uid?: string | null;
|
|
2625
2847
|
compliances?: string | null;
|
|
@@ -2661,7 +2883,7 @@ declare const landlord: {
|
|
|
2661
2883
|
total?: number;
|
|
2662
2884
|
};
|
|
2663
2885
|
}>;
|
|
2664
|
-
getLandlordListingTenancies: (params:
|
|
2886
|
+
getLandlordListingTenancies: (params: GetLandlordListingTenanciesPathParams) => Promise<{
|
|
2665
2887
|
data?: {
|
|
2666
2888
|
uid?: string;
|
|
2667
2889
|
listing_id?: number;
|
|
@@ -2697,7 +2919,7 @@ declare const landlord: {
|
|
|
2697
2919
|
total?: number;
|
|
2698
2920
|
};
|
|
2699
2921
|
}>;
|
|
2700
|
-
submitTenancyCompliance: (params:
|
|
2922
|
+
submitTenancyCompliance: (params: SubmitTenancyCompliancePathParams, payload: SubmitTenancyCompliancePayload) => Promise<{
|
|
2701
2923
|
data?: {
|
|
2702
2924
|
id?: number;
|
|
2703
2925
|
compliance?: {
|
|
@@ -2714,7 +2936,7 @@ declare const landlord: {
|
|
|
2714
2936
|
created_at?: string;
|
|
2715
2937
|
};
|
|
2716
2938
|
}>;
|
|
2717
|
-
resolveTenancyCompliance: (params:
|
|
2939
|
+
resolveTenancyCompliance: (params: ResolveTenancyCompliancePathParams) => Promise<{
|
|
2718
2940
|
data?: {
|
|
2719
2941
|
id?: number;
|
|
2720
2942
|
compliance?: {
|
|
@@ -2733,82 +2955,132 @@ declare const landlord: {
|
|
|
2733
2955
|
}>;
|
|
2734
2956
|
};
|
|
2735
2957
|
|
|
2958
|
+
type SearchListingsQuery = Expand<ApiQuery<'searchListings'>>;
|
|
2959
|
+
type DiscoverListingsQuery = Expand<ApiQuery<'discoverListings'>>;
|
|
2960
|
+
type FetchOnePathParams = ApiPathParams<'fetchOne'>;
|
|
2961
|
+
type FetchListingMediaPublicPathParams = ApiPathParams<'fetchListingMediaPublic'>;
|
|
2736
2962
|
declare const listings: {
|
|
2737
|
-
search: (query?:
|
|
2963
|
+
search: (query?: SearchListingsQuery) => Promise<{
|
|
2964
|
+
message?: string;
|
|
2965
|
+
event?: string | null;
|
|
2738
2966
|
data?: {
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2967
|
+
items?: {
|
|
2968
|
+
draft_name?: string | null;
|
|
2969
|
+
sku?: string;
|
|
2970
|
+
uid?: string;
|
|
2971
|
+
details?: {
|
|
2972
|
+
title?: string;
|
|
2973
|
+
description?: string;
|
|
2974
|
+
city?: string;
|
|
2975
|
+
address?: string;
|
|
2976
|
+
postcode?: string;
|
|
2977
|
+
longitude?: string;
|
|
2978
|
+
latitude?: string;
|
|
2979
|
+
country?: string;
|
|
2980
|
+
};
|
|
2981
|
+
listing_type?: string;
|
|
2982
|
+
vertical?: string;
|
|
2983
|
+
price?: {
|
|
2984
|
+
amount?: string;
|
|
2985
|
+
currency?: string;
|
|
2986
|
+
period?: string;
|
|
2987
|
+
};
|
|
2988
|
+
state?: string;
|
|
2989
|
+
is_visible?: boolean;
|
|
2990
|
+
summary?: {
|
|
2991
|
+
property_type?: string;
|
|
2992
|
+
bedrooms?: number;
|
|
2993
|
+
bathrooms?: number;
|
|
2994
|
+
size?: string;
|
|
2995
|
+
availability?: string | null;
|
|
2996
|
+
};
|
|
2997
|
+
workflow?: {
|
|
2998
|
+
current_step?: string | null;
|
|
2999
|
+
can_submit?: boolean;
|
|
3000
|
+
missing_requirements?: unknown[];
|
|
3001
|
+
next_step?: string | null;
|
|
3002
|
+
progress?: {
|
|
3003
|
+
completed?: number;
|
|
3004
|
+
total?: number;
|
|
3005
|
+
percentage?: number;
|
|
3006
|
+
};
|
|
3007
|
+
};
|
|
3008
|
+
media?: {
|
|
3009
|
+
cover?: string;
|
|
3010
|
+
count?: number;
|
|
3011
|
+
};
|
|
2768
3012
|
}[];
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
3013
|
+
pagination?: {
|
|
3014
|
+
current_page?: number;
|
|
3015
|
+
per_page?: number;
|
|
3016
|
+
total?: number;
|
|
3017
|
+
last_page?: number;
|
|
3018
|
+
from?: number;
|
|
3019
|
+
to?: number;
|
|
3020
|
+
};
|
|
2773
3021
|
};
|
|
2774
3022
|
}>;
|
|
2775
|
-
discover: (query?:
|
|
3023
|
+
discover: (query?: DiscoverListingsQuery) => Promise<{
|
|
3024
|
+
message?: string;
|
|
3025
|
+
event?: string | null;
|
|
2776
3026
|
data?: {
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
3027
|
+
items?: {
|
|
3028
|
+
draft_name?: string | null;
|
|
3029
|
+
sku?: string;
|
|
3030
|
+
uid?: string;
|
|
3031
|
+
details?: {
|
|
3032
|
+
title?: string;
|
|
3033
|
+
description?: string;
|
|
3034
|
+
city?: string;
|
|
3035
|
+
address?: string;
|
|
3036
|
+
postcode?: string;
|
|
3037
|
+
longitude?: string;
|
|
3038
|
+
latitude?: string;
|
|
3039
|
+
country?: string;
|
|
3040
|
+
};
|
|
3041
|
+
listing_type?: string;
|
|
3042
|
+
vertical?: string;
|
|
3043
|
+
price?: {
|
|
3044
|
+
amount?: string;
|
|
3045
|
+
currency?: string;
|
|
3046
|
+
period?: string;
|
|
3047
|
+
};
|
|
3048
|
+
state?: string;
|
|
3049
|
+
is_visible?: boolean;
|
|
3050
|
+
summary?: {
|
|
3051
|
+
property_type?: string;
|
|
3052
|
+
bedrooms?: number;
|
|
3053
|
+
bathrooms?: number;
|
|
3054
|
+
size?: string;
|
|
3055
|
+
availability?: string | null;
|
|
3056
|
+
};
|
|
3057
|
+
workflow?: {
|
|
3058
|
+
current_step?: string | null;
|
|
3059
|
+
can_submit?: boolean;
|
|
3060
|
+
missing_requirements?: unknown[];
|
|
3061
|
+
next_step?: string | null;
|
|
3062
|
+
progress?: {
|
|
3063
|
+
completed?: number;
|
|
3064
|
+
total?: number;
|
|
3065
|
+
percentage?: number;
|
|
3066
|
+
};
|
|
3067
|
+
};
|
|
3068
|
+
media?: {
|
|
3069
|
+
cover?: string;
|
|
3070
|
+
count?: number;
|
|
3071
|
+
};
|
|
2804
3072
|
}[];
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
3073
|
+
pagination?: {
|
|
3074
|
+
current_page?: number;
|
|
3075
|
+
per_page?: number;
|
|
3076
|
+
total?: number;
|
|
3077
|
+
last_page?: number;
|
|
3078
|
+
from?: number;
|
|
3079
|
+
to?: number;
|
|
3080
|
+
};
|
|
2809
3081
|
};
|
|
2810
3082
|
}>;
|
|
2811
|
-
fetchOne: (params:
|
|
3083
|
+
fetchOne: (params: FetchOnePathParams) => Promise<{
|
|
2812
3084
|
message?: string;
|
|
2813
3085
|
event?: string | null;
|
|
2814
3086
|
data?: {
|
|
@@ -2829,7 +3101,7 @@ declare const listings: {
|
|
|
2829
3101
|
};
|
|
2830
3102
|
};
|
|
2831
3103
|
}>;
|
|
2832
|
-
fetchListingMediaPublic: (params:
|
|
3104
|
+
fetchListingMediaPublic: (params: FetchListingMediaPublicPathParams) => Promise<{
|
|
2833
3105
|
message?: string;
|
|
2834
3106
|
event?: string | null;
|
|
2835
3107
|
data?: {
|
|
@@ -2843,8 +3115,13 @@ declare const listings: {
|
|
|
2843
3115
|
}>;
|
|
2844
3116
|
};
|
|
2845
3117
|
|
|
3118
|
+
type ListingHistoryMaintenancePathParams = ApiPathParams<'listingHistoryMaintenance'>;
|
|
3119
|
+
type ListingHistoryMaintenanceQuery = Expand<ApiQuery<'listingHistoryMaintenance'>>;
|
|
3120
|
+
type ReportMaintenancePayload = ApiRequest<'reportMaintenance'>;
|
|
3121
|
+
type UploadAttachmentMaintenancePathParams = ApiPathParams<'uploadAttachmentMaintenance'>;
|
|
3122
|
+
type UploadAttachmentMaintenanceFormData = FormData;
|
|
2846
3123
|
declare const maintenance: {
|
|
2847
|
-
listingHistory: (params:
|
|
3124
|
+
listingHistory: (params: ListingHistoryMaintenancePathParams, query?: ListingHistoryMaintenanceQuery) => Promise<{
|
|
2848
3125
|
message?: string;
|
|
2849
3126
|
event?: string | null;
|
|
2850
3127
|
data?: {
|
|
@@ -2882,7 +3159,7 @@ declare const maintenance: {
|
|
|
2882
3159
|
};
|
|
2883
3160
|
};
|
|
2884
3161
|
}>;
|
|
2885
|
-
report: (payload:
|
|
3162
|
+
report: (payload: ReportMaintenancePayload) => Promise<{
|
|
2886
3163
|
data?: {
|
|
2887
3164
|
uid?: string;
|
|
2888
3165
|
title?: string;
|
|
@@ -2918,7 +3195,7 @@ declare const maintenance: {
|
|
|
2918
3195
|
total?: number;
|
|
2919
3196
|
};
|
|
2920
3197
|
}>;
|
|
2921
|
-
uploadAttachment: (params:
|
|
3198
|
+
uploadAttachment: (params: UploadAttachmentMaintenancePathParams, formData: UploadAttachmentMaintenanceFormData) => Promise<{
|
|
2922
3199
|
data?: {
|
|
2923
3200
|
uid?: string;
|
|
2924
3201
|
file_type?: string;
|
|
@@ -2928,8 +3205,12 @@ declare const maintenance: {
|
|
|
2928
3205
|
}>;
|
|
2929
3206
|
};
|
|
2930
3207
|
|
|
3208
|
+
type CreateConversationPayload = ApiRequest<'createConversation'>;
|
|
3209
|
+
type ListConversationMessagesPathParams = ApiPathParams<'listConversationMessages'>;
|
|
3210
|
+
type SendConversationMessagePayload = ApiRequest<'sendConversationMessage'>;
|
|
3211
|
+
type MarkConversationAsReadPathParams = ApiPathParams<'markConversationAsRead'>;
|
|
2931
3212
|
declare const conversations: {
|
|
2932
|
-
createConversation: (payload:
|
|
3213
|
+
createConversation: (payload: CreateConversationPayload) => Promise<{
|
|
2933
3214
|
data?: {
|
|
2934
3215
|
id?: number;
|
|
2935
3216
|
type?: string;
|
|
@@ -2968,7 +3249,7 @@ declare const conversations: {
|
|
|
2968
3249
|
total?: number;
|
|
2969
3250
|
};
|
|
2970
3251
|
}>;
|
|
2971
|
-
listConversationMessages: (params:
|
|
3252
|
+
listConversationMessages: (params: ListConversationMessagesPathParams) => Promise<{
|
|
2972
3253
|
data?: {
|
|
2973
3254
|
id?: string | null;
|
|
2974
3255
|
conversation_id?: string | null;
|
|
@@ -3001,7 +3282,7 @@ declare const conversations: {
|
|
|
3001
3282
|
total?: number;
|
|
3002
3283
|
};
|
|
3003
3284
|
}>;
|
|
3004
|
-
sendConversationMessage: (payload:
|
|
3285
|
+
sendConversationMessage: (payload: SendConversationMessagePayload) => Promise<{
|
|
3005
3286
|
message?: string;
|
|
3006
3287
|
event?: string | null;
|
|
3007
3288
|
data?: {
|
|
@@ -3015,7 +3296,7 @@ declare const conversations: {
|
|
|
3015
3296
|
created_at?: string | null;
|
|
3016
3297
|
};
|
|
3017
3298
|
}>;
|
|
3018
|
-
markConversationAsRead: (params:
|
|
3299
|
+
markConversationAsRead: (params: MarkConversationAsReadPathParams) => Promise<{
|
|
3019
3300
|
message?: string;
|
|
3020
3301
|
event?: string | null;
|
|
3021
3302
|
data?: {
|
|
@@ -3024,6 +3305,10 @@ declare const conversations: {
|
|
|
3024
3305
|
}>;
|
|
3025
3306
|
};
|
|
3026
3307
|
|
|
3308
|
+
type ReadNotificationPathParams = ApiPathParams<'readNotification'>;
|
|
3309
|
+
type UpdateNotificationPreferencePathParams = ApiPathParams<'updateNotificationPreference'>;
|
|
3310
|
+
type UpdateNotificationPreferencePayload = ApiRequest<'updateNotificationPreference'>;
|
|
3311
|
+
type UpdateBulkPreferencesPayload = ApiRequest<'updateBulkPreferences'>;
|
|
3027
3312
|
declare const notification: {
|
|
3028
3313
|
fetch: () => Promise<{
|
|
3029
3314
|
data?: {
|
|
@@ -3057,7 +3342,7 @@ declare const notification: {
|
|
|
3057
3342
|
total?: number;
|
|
3058
3343
|
};
|
|
3059
3344
|
}>;
|
|
3060
|
-
read: (params:
|
|
3345
|
+
read: (params: ReadNotificationPathParams) => Promise<{
|
|
3061
3346
|
id?: string;
|
|
3062
3347
|
type?: string;
|
|
3063
3348
|
title?: string;
|
|
@@ -3097,18 +3382,19 @@ declare const notification: {
|
|
|
3097
3382
|
};
|
|
3098
3383
|
}[];
|
|
3099
3384
|
}>;
|
|
3100
|
-
updateNotificationPreference: (params:
|
|
3385
|
+
updateNotificationPreference: (params: UpdateNotificationPreferencePathParams, payload: UpdateNotificationPreferencePayload) => Promise<{
|
|
3101
3386
|
message?: string;
|
|
3102
3387
|
event?: string | null;
|
|
3103
3388
|
data?: unknown[];
|
|
3104
3389
|
}>;
|
|
3105
|
-
updateBulkPreferences: (payload:
|
|
3390
|
+
updateBulkPreferences: (payload: UpdateBulkPreferencesPayload) => Promise<{
|
|
3106
3391
|
message?: string;
|
|
3107
3392
|
event?: string | null;
|
|
3108
3393
|
data?: unknown[];
|
|
3109
3394
|
}>;
|
|
3110
3395
|
};
|
|
3111
3396
|
|
|
3397
|
+
type CheckCapabilityPlanPathParams = ApiPathParams<'checkCapabilityPlan'>;
|
|
3112
3398
|
declare const plan: {
|
|
3113
3399
|
user: () => Promise<{
|
|
3114
3400
|
data?: {
|
|
@@ -3138,7 +3424,7 @@ declare const plan: {
|
|
|
3138
3424
|
};
|
|
3139
3425
|
};
|
|
3140
3426
|
}>;
|
|
3141
|
-
checkCapability: (params:
|
|
3427
|
+
checkCapability: (params: CheckCapabilityPlanPathParams) => Promise<{
|
|
3142
3428
|
message?: string;
|
|
3143
3429
|
event?: string | null;
|
|
3144
3430
|
data?: {
|
|
@@ -3148,6 +3434,11 @@ declare const plan: {
|
|
|
3148
3434
|
}>;
|
|
3149
3435
|
};
|
|
3150
3436
|
|
|
3437
|
+
type CreateListingReviewPayload = ApiRequest<'createListingReview'>;
|
|
3438
|
+
type CreateUserReviewPayload = ApiRequest<'createUserReview'>;
|
|
3439
|
+
type UpdateReviewPathParams = ApiPathParams<'updateReview'>;
|
|
3440
|
+
type UpdateReviewPayload = ApiRequest<'updateReview'>;
|
|
3441
|
+
type DeleteReviewPathParams = ApiPathParams<'deleteReview'>;
|
|
3151
3442
|
declare const review: {
|
|
3152
3443
|
fetchAll: () => Promise<{
|
|
3153
3444
|
data?: {
|
|
@@ -3191,7 +3482,7 @@ declare const review: {
|
|
|
3191
3482
|
reviews_count?: number;
|
|
3192
3483
|
};
|
|
3193
3484
|
}>;
|
|
3194
|
-
createListing: (payload:
|
|
3485
|
+
createListing: (payload: CreateListingReviewPayload) => Promise<{
|
|
3195
3486
|
data?: {
|
|
3196
3487
|
id?: number;
|
|
3197
3488
|
rating?: number;
|
|
@@ -3204,7 +3495,7 @@ declare const review: {
|
|
|
3204
3495
|
updated_at?: string;
|
|
3205
3496
|
};
|
|
3206
3497
|
}>;
|
|
3207
|
-
createUser: (payload:
|
|
3498
|
+
createUser: (payload: CreateUserReviewPayload) => Promise<{
|
|
3208
3499
|
data?: {
|
|
3209
3500
|
id?: number;
|
|
3210
3501
|
rating?: number;
|
|
@@ -3217,7 +3508,7 @@ declare const review: {
|
|
|
3217
3508
|
updated_at?: string;
|
|
3218
3509
|
};
|
|
3219
3510
|
}>;
|
|
3220
|
-
update: (params:
|
|
3511
|
+
update: (params: UpdateReviewPathParams, payload: UpdateReviewPayload) => Promise<{
|
|
3221
3512
|
data?: {
|
|
3222
3513
|
id?: number;
|
|
3223
3514
|
rating?: number;
|
|
@@ -3230,7 +3521,7 @@ declare const review: {
|
|
|
3230
3521
|
updated_at?: string;
|
|
3231
3522
|
};
|
|
3232
3523
|
}>;
|
|
3233
|
-
delete: (params:
|
|
3524
|
+
delete: (params: DeleteReviewPathParams) => Promise<{
|
|
3234
3525
|
data?: {
|
|
3235
3526
|
id?: number;
|
|
3236
3527
|
rating?: number;
|
|
@@ -3245,8 +3536,23 @@ declare const review: {
|
|
|
3245
3536
|
}>;
|
|
3246
3537
|
};
|
|
3247
3538
|
|
|
3539
|
+
type FetchOneTenancyPathParams = ApiPathParams<'fetchOneTenancy'>;
|
|
3540
|
+
type CreateTenancyPayload = ApiRequest<'createTenancy'>;
|
|
3541
|
+
type TransitionTenancyPathParams = ApiPathParams<'transitionTenancy'>;
|
|
3542
|
+
type TransitionTenancyPayload = ApiRequest<'transitionTenancy'>;
|
|
3543
|
+
type ComplianceStatusTenancyPathParams = ApiPathParams<'complianceStatusTenancy'>;
|
|
3544
|
+
type RenewTenancyPathParams = ApiPathParams<'renewTenancy'>;
|
|
3545
|
+
type ConvertTenancyPathParams = ApiPathParams<'convertTenancy'>;
|
|
3546
|
+
type ServeNoticeTenancyPathParams = ApiPathParams<'serveNoticeTenancy'>;
|
|
3547
|
+
type ServeNoticeTenancyPayload = ApiRequest<'serveNoticeTenancy'>;
|
|
3548
|
+
type TerminateTenancyPathParams = ApiPathParams<'terminateTenancy'>;
|
|
3549
|
+
type TerminateTenancyPayload = ApiRequest<'terminateTenancy'>;
|
|
3550
|
+
type FetchTransitionsTenancyPathParams = ApiPathParams<'fetchTransitionsTenancy'>;
|
|
3551
|
+
type UploadDocumentTenancyPathParams = ApiPathParams<'uploadDocumentTenancy'>;
|
|
3552
|
+
type UploadDocumentTenancyFormData = FormData;
|
|
3553
|
+
type DownloadDocumentTenancyPathParams = ApiPathParams<'downloadDocumentTenancy'>;
|
|
3248
3554
|
declare const tenancy: {
|
|
3249
|
-
fetchOne: (params:
|
|
3555
|
+
fetchOne: (params: FetchOneTenancyPathParams) => Promise<{
|
|
3250
3556
|
data?: {
|
|
3251
3557
|
uid?: string;
|
|
3252
3558
|
listing_id?: number;
|
|
@@ -3266,7 +3572,7 @@ declare const tenancy: {
|
|
|
3266
3572
|
};
|
|
3267
3573
|
};
|
|
3268
3574
|
}>;
|
|
3269
|
-
create: (payload:
|
|
3575
|
+
create: (payload: CreateTenancyPayload) => Promise<{
|
|
3270
3576
|
data?: {
|
|
3271
3577
|
uid?: string;
|
|
3272
3578
|
listing_id?: number;
|
|
@@ -3281,7 +3587,7 @@ declare const tenancy: {
|
|
|
3281
3587
|
created_at?: string;
|
|
3282
3588
|
};
|
|
3283
3589
|
}>;
|
|
3284
|
-
transition: (params:
|
|
3590
|
+
transition: (params: TransitionTenancyPathParams, payload: TransitionTenancyPayload) => Promise<{
|
|
3285
3591
|
message?: string;
|
|
3286
3592
|
event?: string | null;
|
|
3287
3593
|
data?: {
|
|
@@ -3289,7 +3595,7 @@ declare const tenancy: {
|
|
|
3289
3595
|
new_state?: string;
|
|
3290
3596
|
};
|
|
3291
3597
|
}>;
|
|
3292
|
-
complianceStatus: (params:
|
|
3598
|
+
complianceStatus: (params: ComplianceStatusTenancyPathParams) => Promise<{
|
|
3293
3599
|
message?: string;
|
|
3294
3600
|
event?: string | null;
|
|
3295
3601
|
data?: {
|
|
@@ -3300,35 +3606,35 @@ declare const tenancy: {
|
|
|
3300
3606
|
}[];
|
|
3301
3607
|
};
|
|
3302
3608
|
}>;
|
|
3303
|
-
renew: (params:
|
|
3609
|
+
renew: (params: RenewTenancyPathParams) => Promise<{
|
|
3304
3610
|
message?: string;
|
|
3305
3611
|
event?: string | null;
|
|
3306
3612
|
data?: {
|
|
3307
3613
|
state?: string;
|
|
3308
3614
|
};
|
|
3309
3615
|
}>;
|
|
3310
|
-
convert: (params:
|
|
3616
|
+
convert: (params: ConvertTenancyPathParams) => Promise<{
|
|
3311
3617
|
message?: string;
|
|
3312
3618
|
event?: string | null;
|
|
3313
3619
|
data?: {
|
|
3314
3620
|
state?: string;
|
|
3315
3621
|
};
|
|
3316
3622
|
}>;
|
|
3317
|
-
serveNotice: (params:
|
|
3623
|
+
serveNotice: (params: ServeNoticeTenancyPathParams, payload: ServeNoticeTenancyPayload) => Promise<{
|
|
3318
3624
|
message?: string;
|
|
3319
3625
|
event?: string | null;
|
|
3320
3626
|
data?: {
|
|
3321
3627
|
state?: string;
|
|
3322
3628
|
};
|
|
3323
3629
|
}>;
|
|
3324
|
-
terminate: (params:
|
|
3630
|
+
terminate: (params: TerminateTenancyPathParams, payload: TerminateTenancyPayload) => Promise<{
|
|
3325
3631
|
message?: string;
|
|
3326
3632
|
event?: string | null;
|
|
3327
3633
|
data?: {
|
|
3328
3634
|
state?: string;
|
|
3329
3635
|
};
|
|
3330
3636
|
}>;
|
|
3331
|
-
fetchTransitions: (params:
|
|
3637
|
+
fetchTransitions: (params: FetchTransitionsTenancyPathParams) => Promise<{
|
|
3332
3638
|
data?: {
|
|
3333
3639
|
from_state?: string;
|
|
3334
3640
|
to_state?: string;
|
|
@@ -3338,7 +3644,7 @@ declare const tenancy: {
|
|
|
3338
3644
|
created_at?: string;
|
|
3339
3645
|
}[];
|
|
3340
3646
|
}>;
|
|
3341
|
-
uploadDocument: (params:
|
|
3647
|
+
uploadDocument: (params: UploadDocumentTenancyPathParams, formData: UploadDocumentTenancyFormData) => Promise<{
|
|
3342
3648
|
message?: string;
|
|
3343
3649
|
event?: string | null;
|
|
3344
3650
|
data?: {
|
|
@@ -3346,18 +3652,20 @@ declare const tenancy: {
|
|
|
3346
3652
|
version?: number;
|
|
3347
3653
|
};
|
|
3348
3654
|
}>;
|
|
3349
|
-
downloadDocument: (params:
|
|
3655
|
+
downloadDocument: (params: DownloadDocumentTenancyPathParams) => Promise<{
|
|
3350
3656
|
"Content-Type"?: string;
|
|
3351
3657
|
}>;
|
|
3352
3658
|
};
|
|
3353
3659
|
|
|
3660
|
+
type ToggleTwoFactorPayload = ApiRequest<'toggleTwoFactor'>;
|
|
3661
|
+
type UpdateAvatarFormData = FormData;
|
|
3354
3662
|
declare const user: {
|
|
3355
3663
|
sendTwoFactorToggleOtp: () => Promise<{
|
|
3356
3664
|
message?: string;
|
|
3357
3665
|
event?: string | null;
|
|
3358
3666
|
data?: string | null;
|
|
3359
3667
|
}>;
|
|
3360
|
-
toggleTwoFactor: (payload:
|
|
3668
|
+
toggleTwoFactor: (payload: ToggleTwoFactorPayload) => Promise<{
|
|
3361
3669
|
data?: {
|
|
3362
3670
|
uid?: string;
|
|
3363
3671
|
username?: string;
|
|
@@ -3387,7 +3695,7 @@ declare const user: {
|
|
|
3387
3695
|
};
|
|
3388
3696
|
};
|
|
3389
3697
|
}>;
|
|
3390
|
-
updateAvatar: (formData:
|
|
3698
|
+
updateAvatar: (formData: UpdateAvatarFormData) => Promise<{
|
|
3391
3699
|
data?: {
|
|
3392
3700
|
uid?: string;
|
|
3393
3701
|
username?: string;
|
|
@@ -3419,6 +3727,11 @@ declare const user: {
|
|
|
3419
3727
|
}>;
|
|
3420
3728
|
};
|
|
3421
3729
|
|
|
3730
|
+
type SubmitUserVerificationPathParams = ApiPathParams<'submitUserVerification'>;
|
|
3731
|
+
type SubmitUserVerificationPayload = ApiRequest<'submitUserVerification'>;
|
|
3732
|
+
type CheckLayerStatusPathParams = ApiPathParams<'checkLayerStatus'>;
|
|
3733
|
+
type ResubmitUserVerificationPathParams = ApiPathParams<'resubmitUserVerification'>;
|
|
3734
|
+
type ResubmitUserVerificationPayload = ApiRequest<'resubmitUserVerification'>;
|
|
3422
3735
|
declare const userverification: {
|
|
3423
3736
|
overview: () => Promise<{
|
|
3424
3737
|
data?: {
|
|
@@ -3428,7 +3741,7 @@ declare const userverification: {
|
|
|
3428
3741
|
last_calculated_at?: string;
|
|
3429
3742
|
};
|
|
3430
3743
|
}>;
|
|
3431
|
-
submit: (params:
|
|
3744
|
+
submit: (params: SubmitUserVerificationPathParams, payload: SubmitUserVerificationPayload) => Promise<{
|
|
3432
3745
|
data?: {
|
|
3433
3746
|
current_level?: number;
|
|
3434
3747
|
completed_layers?: number;
|
|
@@ -3479,7 +3792,7 @@ declare const userverification: {
|
|
|
3479
3792
|
};
|
|
3480
3793
|
};
|
|
3481
3794
|
}>;
|
|
3482
|
-
checkLayerStatus: (params:
|
|
3795
|
+
checkLayerStatus: (params: CheckLayerStatusPathParams) => Promise<{
|
|
3483
3796
|
message?: string;
|
|
3484
3797
|
event?: string | null;
|
|
3485
3798
|
data?: {
|
|
@@ -3487,7 +3800,7 @@ declare const userverification: {
|
|
|
3487
3800
|
status?: number;
|
|
3488
3801
|
};
|
|
3489
3802
|
}>;
|
|
3490
|
-
resubmit: (params:
|
|
3803
|
+
resubmit: (params: ResubmitUserVerificationPathParams, payload: ResubmitUserVerificationPayload) => Promise<{
|
|
3491
3804
|
data?: {
|
|
3492
3805
|
current_level?: number;
|
|
3493
3806
|
completed_layers?: number;
|
|
@@ -3497,8 +3810,11 @@ declare const userverification: {
|
|
|
3497
3810
|
}>;
|
|
3498
3811
|
};
|
|
3499
3812
|
|
|
3813
|
+
type CreateWishlistPayload = ApiRequest<'createWishlist'>;
|
|
3814
|
+
type RemoveWishlistPathParams = ApiPathParams<'removeWishlist'>;
|
|
3815
|
+
type GetWishlistQuery = Expand<ApiQuery<'getWishlist'>>;
|
|
3500
3816
|
declare const wishlist: {
|
|
3501
|
-
create: (payload:
|
|
3817
|
+
create: (payload: CreateWishlistPayload) => Promise<{
|
|
3502
3818
|
data?: {
|
|
3503
3819
|
wishlist_uid?: string;
|
|
3504
3820
|
listing?: {
|
|
@@ -3516,12 +3832,12 @@ declare const wishlist: {
|
|
|
3516
3832
|
};
|
|
3517
3833
|
};
|
|
3518
3834
|
}>;
|
|
3519
|
-
remove: (params:
|
|
3835
|
+
remove: (params: RemoveWishlistPathParams) => Promise<{
|
|
3520
3836
|
message?: string;
|
|
3521
3837
|
event?: string | null;
|
|
3522
3838
|
data?: string | null;
|
|
3523
3839
|
}>;
|
|
3524
|
-
get: (query?:
|
|
3840
|
+
get: (query?: GetWishlistQuery) => Promise<{
|
|
3525
3841
|
data?: {
|
|
3526
3842
|
wishlist_uid?: string;
|
|
3527
3843
|
}[];
|
|
@@ -3549,4 +3865,4 @@ declare const wishlist: {
|
|
|
3549
3865
|
}>;
|
|
3550
3866
|
};
|
|
3551
3867
|
|
|
3552
|
-
export { ApiError, type ApiPathParams, type ApiRequest, type ApiResponse, type Expand, type MultipartPayload, type OperationId, admin, api, appointment, auth, booking, conversations, customer, feature, github, google, inspection, landlord, listings, maintenance, notification, plan, review, tenancy, tenant, user, userverification, wishlist };
|
|
3868
|
+
export { ApiError, type ApiPathParams, type ApiQuery, type ApiRequest, type ApiResponse, type ApproveListingPathParams, type AssignComplianceToCategoryPathParams, type AssignComplianceToListingPathParams, type AssignComplianceToListingTypePathParams, type AssignComplianceToListingTypePayload, type AssignComplianceToListingVerticalPathParams, type AssignComplianceToListingVerticalPayload, type AssignComplianceToTenancyPathParams, type AssignGlobalCompliancePathParams, type AssignMaintenanceTechnicianPathParams, type AssignMaintenanceTechnicianPayload, type AssignPlanToUserPayload, type AttachPlanCapabilitiesPathParams, type AttachPlanCapabilitiesPayload, type AttachPlanVerificationRequirementsPathParams, type AttachPlanVerificationRequirementsPayload, type BasicLoginAdminPayload, type BasicLoginLandlordPayload, type CancelAppointmentPathParams, type CancelBookingPathParams, type CancelInspectionPathParams, type CancelInspectionPayload, type CancelMaintenanceRequestPathParams, type CancelMaintenanceRequestPayload, type CheckCapabilityPlanPathParams, type CheckLayerStatusPathParams, type CompleteInspectionPathParams, type CompleteInspectionPayload, type CompleteMaintenanceRepairPathParams, type CompleteMaintenanceRepairPayload, type ComplianceStatusTenancyPathParams, type ConfirmAppointmentPathParams, type ConfirmBookingPathParams, type ConvertTenancyPathParams, type CreateAppointmentPayload, type CreateBookingPayload, type CreateCapabilityPayload, type CreateComplianceDefinitionPayload, type CreateConversationPayload, type CreateFeatureCategoryPayload, type CreateFeaturePayload, type CreateLandlordListingDraftAdminPathParams, type CreateLandlordListingDraftAdminPayload, type CreateListingDraftPayload, type CreateListingReviewPayload, type CreatePlanEntitlementPayload, type CreatePlanPayload, type CreateTenancyPayload, type CreateUserReviewPayload, type CreateVerificationFlowPayload, type CreateVerificationLayerPayload, type CreateWishlistPayload, type DeactivateUserPlanPathParams, type DeactivateUserPlanPayload, type DeleteListingMediaAdminPathParams, type DeleteListingMediaPathParams, type DeleteReviewPathParams, type DiscoverListingsQuery, type DownloadDocumentAdminPathParams, type DownloadDocumentTenancyPathParams, type Expand, type FetchLandlordListAdminQuery, type FetchLandlordListingComplianceSubmissionsAdminPathParams, type FetchLandlordListingComplianceSubmissionsAdminQuery, type FetchListingAuditLogsAdminPathParams, type FetchListingAuditLogsAdminQuery, type FetchListingComplianceDocumentsAdminPathParams, type FetchListingComplianceDocumentsAdminQuery, type FetchListingListAdminQuery, type FetchListingMediaPublicPathParams, type FetchOneAppointmentPathParams, type FetchOneListingAdminPathParams, type FetchOnePathParams, type FetchOneTenancyPathParams, type FetchTenancyComplianceDocumentsAdminPathParams, type FetchTenancyComplianceDocumentsAdminQuery, type FetchTenancyHistoryForListingAdminPathParams, type FetchTenancyHistoryForListingAdminQuery, type FetchTenancyHistoryForUserAdminPathParams, type FetchTenancyHistoryForUserAdminQuery, type FetchTenancyListAdminQuery, type FetchTenantListAdminQuery, type FetchTransitionsTenancyPathParams, type FetchUserActivityFeedAdminPathParams, type FetchUserActivityFeedAdminQuery, type FetchUserAdminPathParams, type FetchUserAuditLogsAdminPathParams, type FetchUserAuditLogsAdminQuery, type FetchUserAuditLogsByActionAdminPathParams, type FetchUserAuditLogsByActionAdminQuery, type FetchUserListingComplianceDocumentsAdminPathParams, type FetchUserListingComplianceDocumentsAdminQuery, type FetchUserMaintenanceRequestsAdminPathParams, type FetchUserMaintenanceRequestsAdminQuery, type FetchUserPlanOverviewAdminPathParams, type FetchUserTenancyComplianceDocumentsAdminPathParams, type FetchUserTenancyComplianceDocumentsAdminQuery, type FetchUserVerificationDocumentsAdminPathParams, type FetchUserVerificationDocumentsAdminQuery, type FilterUserAuditLogsAdminPathParams, type FilterUserAuditLogsAdminQuery, type ForceLogoutUserAdminPathParams, type GenerateOTPPayload, type GetBookingPathParams, type GetFeatureQuery, type GetFeaturesAdminPayload, type GetLandlordListingTenanciesPathParams, type GetListingCompliancePathParams, type GetOwnerListingPathParams, type GetUserVerificationHistoryPathParams, type GetUserVerificationsQuery, type GetWishlistQuery, type ListConversationMessagesPathParams, type ListingHistoryInspectionAdminPathParams, type ListingHistoryInspectionAdminQuery, type ListingHistoryInspectionPathParams, type ListingHistoryInspectionQuery, type ListingHistoryMaintenancePathParams, type ListingHistoryMaintenanceQuery, type LoginUserPayload, type MarkConversationAsReadPathParams, type MultipartPayload, type NewLandlordPayload, type OperationId, type PostApiV1PortalCustomerCreatePayload, type PostApiV1PortalCustomerVerifyOtpPayload, type PostApiV1PortalTenantCreatePayload, type PostApiV1PortalTenantVerifyOtpPayload, type ReadNotificationPathParams, type RejectListingPathParams, type RejectListingPayload, type RemoveWishlistPathParams, type RenewTenancyPathParams, type ReorderListingMediaAdminPathParams, type ReorderListingMediaAdminPayload, type ReorderListingMediaPathParams, type ReorderListingMediaPayload, type ReorderVerificationFlowPayload, type ReportMaintenancePayload, type RepublishListingPathParams, type RescheduleAppointmentPathParams, type RescheduleAppointmentPayload, type RescheduleInspectionPathParams, type RescheduleInspectionPayload, type ResetPasswordPayload, type ResetUserVerificationPathParams, type ResetUserVerificationPayload, type ResolveListingCompliancePathParams, type ResolveTenancyCompliancePathParams, type ResubmitUserVerificationPathParams, type ResubmitUserVerificationPayload, type ReviewListingComplianceSubmissionPathParams, type ReviewListingComplianceSubmissionPayload, type ReviewTenancyComplianceSubmissionPathParams, type ReviewTenancyComplianceSubmissionPayload, type ReviewUserVerificationPathParams, type ReviewUserVerificationPayload, type SaveListingDetailsAdminPathParams, type SaveListingDetailsAdminPayload, type SaveListingDetailsPathParams, type SaveListingDetailsPayload, type SaveListingFeaturesAdminPathParams, type SaveListingFeaturesAdminPayload, type SaveListingFeaturesPathParams, type SaveListingFeaturesPayload, type SavePricingAdminPathParams, type SavePricingAdminPayload, type SavePricingPathParams, type SavePricingPayload, type SavePropertyBasicsAdminPathParams, type SavePropertyBasicsAdminPayload, type SavePropertyBasicsPathParams, type SavePropertyBasicsPayload, type SaveRentalDetailsAdminPathParams, type SaveRentalDetailsAdminPayload, type SaveRentalDetailsPathParams, type SaveRentalDetailsPayload, type SaveShortLetDetailsAdminPathParams, type SaveShortLetDetailsAdminPayload, type SaveShortLetDetailsPathParams, type SaveShortLetDetailsPayload, type SaveTenantPreferencesAdminPathParams, type SaveTenantPreferencesAdminPayload, type SaveTenantPreferencesPathParams, type SaveTenantPreferencesPayload, type SaveUsedItemDetailsAdminPathParams, type SaveUsedItemDetailsAdminPayload, type SaveUsedItemDetailsPathParams, type SaveUsedItemDetailsPayload, type SaveViewingAvailabilityAdminPathParams, type SaveViewingAvailabilityAdminPayload, type SaveViewingAvailabilityPathParams, type SaveViewingAvailabilityPayload, type ScheduleInspectionPayload, type SearchListingsQuery, type SendConversationMessagePayload, type SendResetPasswordOTPPayload, type ServeNoticeTenancyPathParams, type ServeNoticeTenancyPayload, type SetListingCoverMediaAdminPathParams, type SetListingCoverMediaPathParams, type StartMaintenanceRepairPathParams, type StartMaintenanceRepairPayload, type SubmitListingAdminPathParams, type SubmitListingCompliancePathParams, type SubmitListingCompliancePayload, type SubmitListingPathParams, type SubmitTenancyCompliancePathParams, type SubmitTenancyCompliancePayload, type SubmitUserVerificationPathParams, type SubmitUserVerificationPayload, type SyncComplianceRequirementsPathParams, type SyncComplianceRequirementsPayload, type SyncPlanEntitlementsPathParams, type SyncPlanEntitlementsPayload, type TerminateTenancyPathParams, type TerminateTenancyPayload, type ToggleFeatureCategoryPathParams, type ToggleFeaturePathParams, type ToggleTwoFactorPayload, type TransitionTenancyPathParams, type TransitionTenancyPayload, type UnpublishListingPathParams, type UpdateAdminProfilePayload, type UpdateAvatarFormData, type UpdateBulkPreferencesPayload, type UpdateCapabilityPathParams, type UpdateCapabilityPayload, type UpdateComplianceDefinitionPathParams, type UpdateComplianceDefinitionPayload, type UpdateDraftNameAdminPathParams, type UpdateDraftNameAdminPayload, type UpdateDraftNamePathParams, type UpdateDraftNamePayload, type UpdateFeatureCategoryPathParams, type UpdateFeatureCategoryPayload, type UpdateFeaturePathParams, type UpdateFeaturePayload, type UpdateNotificationPreferencePathParams, type UpdateNotificationPreferencePayload, type UpdatePlanEntitlementPathParams, type UpdatePlanEntitlementPayload, type UpdatePlanPathParams, type UpdatePlanPayload, type UpdateProfilePayload, type UpdateReviewPathParams, type UpdateReviewPayload, type UpdateTenantProfilePayload, type UpdateUserStatusAdminPathParams, type UpdateUserStatusAdminPayload, type UpdateVerificationLayerPathParams, type UpdateVerificationLayerPayload, type UploadAttachmentMaintenanceFormData, type UploadAttachmentMaintenancePathParams, type UploadDocumentTenancyFormData, type UploadDocumentTenancyPathParams, type UploadListingMediaAdminFormData, type UploadListingMediaAdminPathParams, type UploadListingMediaFormData, type UploadListingMediaPathParams, type VerifyOTPPayload, type VerifyPasswordResetOTPPayload, type ViewDocumentAdminPathParams, admin, api, appointment, auth, booking, conversations, customer, feature, github, google, inspection, landlord, listings, maintenance, notification, plan, review, tenancy, tenant, user, userverification, wishlist };
|