@justins-home/api-services 1.2.30 → 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.
Files changed (3) hide show
  1. package/dist/index.d.mts +571 -253
  2. package/dist/index.d.ts +571 -253
  3. 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 : operations[T] extends {
26
- parameters: {
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?: ApiRequest$1<T>): Promise<ApiResponse$1<T>>;
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 : operations[T] extends {
70
- parameters: {
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: ApiRequest<"basicLoginAdmin">) => Promise<{
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: ApiRequest<"updateAdminProfile">) => Promise<{
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?: Expand<ApiRequest<"fetchLandlordListAdmin">>) => Promise<{
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: ApiPathParams<"createLandlordListingDraftAdmin">, payload: ApiRequest<"createLandlordListingDraftAdmin">) => Promise<{
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: ApiPathParams<"fetchLandlordListingComplianceSubmissionsAdmin">, query?: Expand<ApiRequest<"fetchLandlordListingComplianceSubmissionsAdmin">>) => Promise<{
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?: Expand<ApiRequest<"fetchTenantListAdmin">>) => Promise<{
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: ApiPathParams<"fetchUserAdmin">) => Promise<{
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: ApiPathParams<"fetchUserPlanOverviewAdmin">) => Promise<{
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: ApiPathParams<"fetchUserMaintenanceRequestsAdmin">, query?: Expand<ApiRequest<"fetchUserMaintenanceRequestsAdmin">>) => Promise<{
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: ApiPathParams<"fetchUserVerificationDocumentsAdmin">, query?: Expand<ApiRequest<"fetchUserVerificationDocumentsAdmin">>) => Promise<{
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: ApiPathParams<"fetchUserListingComplianceDocumentsAdmin">, query?: Expand<ApiRequest<"fetchUserListingComplianceDocumentsAdmin">>) => Promise<{
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: ApiPathParams<"fetchUserTenancyComplianceDocumentsAdmin">, query?: Expand<ApiRequest<"fetchUserTenancyComplianceDocumentsAdmin">>) => Promise<{
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: ApiPathParams<"fetchTenancyHistoryForUserAdmin">, query?: Expand<ApiRequest<"fetchTenancyHistoryForUserAdmin">>) => Promise<{
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: ApiPathParams<"fetchUserActivityFeedAdmin">, query?: Expand<ApiRequest<"fetchUserActivityFeedAdmin">>) => Promise<{
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: ApiPathParams<"fetchUserAuditLogsAdmin">, query?: Expand<ApiRequest<"fetchUserAuditLogsAdmin">>) => Promise<{
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: ApiPathParams<"filterUserAuditLogsAdmin">, query?: Expand<ApiRequest<"filterUserAuditLogsAdmin">>) => Promise<{
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: ApiPathParams<"fetchUserAuditLogsByActionAdmin">, query?: Expand<ApiRequest<"fetchUserAuditLogsByActionAdmin">>) => Promise<{
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: ApiPathParams<"forceLogoutUserAdmin">) => Promise<{
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: ApiPathParams<"updateUserStatusAdmin">, payload: ApiRequest<"updateUserStatusAdmin">) => Promise<{
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?: Expand<ApiRequest<"fetchListingListAdmin">>) => Promise<{
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: ApiPathParams<"fetchOneListingAdmin">) => Promise<{
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: ApiPathParams<"updateDraftNameAdmin">, payload: ApiRequest<"updateDraftNameAdmin">) => Promise<{
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: ApiPathParams<"submitListingAdmin">) => Promise<{
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: ApiPathParams<"saveListingDetailsAdmin">, payload: ApiRequest<"saveListingDetailsAdmin">) => Promise<unknown>;
923
- savePropertyBasics: (params: ApiPathParams<"savePropertyBasicsAdmin">, payload: ApiRequest<"savePropertyBasicsAdmin">) => Promise<unknown>;
924
- savePricing: (params: ApiPathParams<"savePricingAdmin">, payload: ApiRequest<"savePricingAdmin">) => Promise<unknown>;
925
- saveRentalDetails: (params: ApiPathParams<"saveRentalDetailsAdmin">, payload: ApiRequest<"saveRentalDetailsAdmin">) => Promise<unknown>;
926
- saveShortLetDetails: (params: ApiPathParams<"saveShortLetDetailsAdmin">, payload: ApiRequest<"saveShortLetDetailsAdmin">) => Promise<unknown>;
927
- saveUsedItemDetails: (params: ApiPathParams<"saveUsedItemDetailsAdmin">, payload: ApiRequest<"saveUsedItemDetailsAdmin">) => Promise<unknown>;
928
- saveListingFeatures: (params: ApiPathParams<"saveListingFeaturesAdmin">, payload: ApiRequest<"saveListingFeaturesAdmin">) => Promise<unknown>;
929
- saveTenantPreferences: (params: ApiPathParams<"saveTenantPreferencesAdmin">, payload: ApiRequest<"saveTenantPreferencesAdmin">) => Promise<unknown>;
930
- saveViewingAvailability: (params: ApiPathParams<"saveViewingAvailabilityAdmin">, payload: ApiRequest<"saveViewingAvailabilityAdmin">) => Promise<unknown>;
931
- uploadListingMedia: (params: ApiPathParams<"uploadListingMediaAdmin">, formData: FormData) => Promise<{
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: ApiPathParams<"reorderListingMediaAdmin">, payload: ApiRequest<"reorderListingMediaAdmin">) => Promise<unknown>;
941
- setListingCoverMedia: (params: ApiPathParams<"setListingCoverMediaAdmin">) => Promise<unknown>;
942
- deleteListingMedia: (params: ApiPathParams<"deleteListingMediaAdmin">) => Promise<unknown>;
943
- fetchListingAuditLogs: (params: ApiPathParams<"fetchListingAuditLogsAdmin">, query?: Expand<ApiRequest<"fetchListingAuditLogsAdmin">>) => Promise<{
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: ApiPathParams<"fetchTenancyHistoryForListingAdmin">, query?: Expand<ApiRequest<"fetchTenancyHistoryForListingAdmin">>) => Promise<{
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: ApiPathParams<"fetchListingComplianceDocumentsAdmin">, query?: Expand<ApiRequest<"fetchListingComplianceDocumentsAdmin">>) => Promise<{
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: ApiPathParams<"approveListing">) => Promise<{
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: ApiPathParams<"rejectListing">, payload: ApiRequest<"rejectListing">) => Promise<{
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: ApiPathParams<"unpublishListing">) => Promise<{
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: ApiPathParams<"republishListing">) => Promise<{
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: ApiRequest<"getFeaturesAdmin">) => Promise<{
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: ApiRequest<"createFeature">) => Promise<{
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: ApiPathParams<"updateFeature">, payload: ApiRequest<"updateFeature">) => Promise<{
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: ApiPathParams<"toggleFeature">) => Promise<{
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: ApiRequest<"createFeatureCategory">) => Promise<{
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: ApiPathParams<"updateFeatureCategory">, payload: ApiRequest<"updateFeatureCategory">) => Promise<{
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: ApiPathParams<"toggleFeatureCategory">) => Promise<{
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: ApiRequest<"createVerificationLayer">) => Promise<{
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: ApiPathParams<"updateVerificationLayer">, payload: ApiRequest<"updateVerificationLayer">) => Promise<{
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: ApiRequest<"createVerificationFlow">) => Promise<{
1440
+ createVerificationFlow: (payload: CreateVerificationFlowPayload) => Promise<{
1283
1441
  data?: {
1284
1442
  order?: number;
1285
1443
  is_required?: boolean;
1286
1444
  };
1287
1445
  }>;
1288
- reorderVerificationFlow: (payload: ApiRequest<"reorderVerificationFlow">) => Promise<{
1446
+ reorderVerificationFlow: (payload: ReorderVerificationFlowPayload) => Promise<{
1289
1447
  message?: string;
1290
1448
  event?: string | null;
1291
1449
  data?: string | null;
1292
1450
  }>;
1293
- getUserVerifications: (query?: Expand<ApiRequest<"getUserVerifications">>) => Promise<{
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: ApiPathParams<"getUserVerificationHistory">) => Promise<{
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: ApiPathParams<"reviewUserVerification">, payload: ApiRequest<"reviewUserVerification">) => Promise<unknown>;
1339
- resetUserVerification: (params: ApiPathParams<"resetUserVerification">, payload: ApiRequest<"resetUserVerification">) => Promise<unknown>;
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: ApiPathParams<"reviewListingComplianceSubmission">, payload: ApiRequest<"reviewListingComplianceSubmission">) => Promise<unknown>;
1417
- reviewTenancyComplianceSubmission: (params: ApiPathParams<"reviewTenancyComplianceSubmission">, payload: ApiRequest<"reviewTenancyComplianceSubmission">) => Promise<unknown>;
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: ApiRequest<"createPlan">) => Promise<{
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: ApiPathParams<"updatePlan">, payload: ApiRequest<"updatePlan">) => Promise<{
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: ApiRequest<"assignPlanToUser">) => Promise<unknown>;
1443
- deactivateUserPlan: (params: ApiPathParams<"deactivateUserPlan">, payload: ApiRequest<"deactivateUserPlan">) => Promise<unknown>;
1444
- attachPlanVerificationRequirements: (params: ApiPathParams<"attachPlanVerificationRequirements">, payload: ApiRequest<"attachPlanVerificationRequirements">) => Promise<unknown>;
1445
- attachPlanCapabilities: (params: ApiPathParams<"attachPlanCapabilities">, payload: ApiRequest<"attachPlanCapabilities">) => Promise<unknown>;
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: ApiRequest<"createPlanEntitlement">) => Promise<{
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: ApiPathParams<"updatePlanEntitlement">, payload: ApiRequest<"updatePlanEntitlement">) => Promise<{
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: ApiPathParams<"syncPlanEntitlements">, payload: ApiRequest<"syncPlanEntitlements">) => Promise<unknown>;
1471
- viewDocument: (params: ApiPathParams<"viewDocumentAdmin">) => Promise<unknown>;
1472
- downloadDocument: (params: ApiPathParams<"downloadDocumentAdmin">) => Promise<unknown>;
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: ApiRequest<"createCapability">) => Promise<{
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: ApiPathParams<"updateCapability">, payload: ApiRequest<"updateCapability">) => Promise<{
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: ApiRequest<"createComplianceDefinition">) => Promise<{
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: ApiPathParams<"updateComplianceDefinition">, payload: ApiRequest<"updateComplianceDefinition">) => Promise<{
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: ApiPathParams<"syncComplianceRequirements">, payload: ApiRequest<"syncComplianceRequirements">) => Promise<unknown>;
1532
- assignGlobalCompliance: (params: ApiPathParams<"assignGlobalCompliance">) => Promise<unknown>;
1533
- assignComplianceToCategory: (params: ApiPathParams<"assignComplianceToCategory">) => Promise<unknown>;
1534
- assignComplianceToListing: (params: ApiPathParams<"assignComplianceToListing">) => Promise<unknown>;
1535
- assignComplianceToTenancy: (params: ApiPathParams<"assignComplianceToTenancy">) => Promise<unknown>;
1536
- assignComplianceToListingVertical: (params: ApiPathParams<"assignComplianceToListingVertical">, payload: ApiRequest<"assignComplianceToListingVertical">) => Promise<unknown>;
1537
- assignComplianceToListingType: (params: ApiPathParams<"assignComplianceToListingType">, payload: ApiRequest<"assignComplianceToListingType">) => Promise<unknown>;
1538
- listingHistoryInspection: (params: ApiPathParams<"listingHistoryInspectionAdmin">, query?: Expand<ApiRequest<"listingHistoryInspectionAdmin">>) => Promise<{
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: ApiRequest<"scheduleInspection">) => Promise<{
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: ApiPathParams<"completeInspection">, payload: ApiRequest<"completeInspection">) => Promise<{
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: ApiPathParams<"rescheduleInspection">, payload: ApiRequest<"rescheduleInspection">) => Promise<{
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: ApiPathParams<"cancelInspection">, payload: ApiRequest<"cancelInspection">) => Promise<{
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: ApiPathParams<"assignMaintenanceTechnician">, payload: ApiRequest<"assignMaintenanceTechnician">) => Promise<{
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: ApiPathParams<"startMaintenanceRepair">, payload: ApiRequest<"startMaintenanceRepair">) => Promise<{
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: ApiPathParams<"completeMaintenanceRepair">, payload: ApiRequest<"completeMaintenanceRepair">) => Promise<{
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: ApiPathParams<"cancelMaintenanceRequest">, payload: ApiRequest<"cancelMaintenanceRequest">) => Promise<{
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?: Expand<ApiRequest<"fetchTenancyListAdmin">>) => Promise<{
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: ApiPathParams<"fetchTenancyComplianceDocumentsAdmin">, query?: Expand<ApiRequest<"fetchTenancyComplianceDocumentsAdmin">>) => Promise<{
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: ApiRequest<"createAppointment">) => Promise<{
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: ApiPathParams<"fetchOneAppointment">) => Promise<{
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: ApiPathParams<"rescheduleAppointment">, payload: ApiRequest<"rescheduleAppointment">) => Promise<{
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: ApiPathParams<"cancelAppointment">) => Promise<{
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: ApiPathParams<"confirmAppointment">) => Promise<{
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: ApiRequest<"loginUser">) => Promise<{
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: ApiRequest<"sendResetPasswordOTP">) => Promise<{
2034
+ sendResetPasswordOTP: (payload: SendResetPasswordOTPPayload) => Promise<{
1865
2035
  message?: string;
1866
2036
  event?: string | null;
1867
2037
  data?: string | null;
1868
2038
  }>;
1869
- verifyPasswordResetOTP: (payload: ApiRequest<"verifyPasswordResetOTP">) => Promise<{
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: ApiRequest<"resetPassword">) => Promise<{
2046
+ resetPassword: (payload: ResetPasswordPayload) => Promise<{
1877
2047
  message?: string;
1878
2048
  event?: string | null;
1879
2049
  data?: string | null;
1880
2050
  }>;
1881
- generateOTP: (payload: ApiRequest<"generateOTP">) => Promise<{
2051
+ generateOTP: (payload: GenerateOTPPayload) => Promise<{
1882
2052
  message?: string;
1883
2053
  event?: string | null;
1884
2054
  data?: string | null;
1885
2055
  }>;
1886
- verifyOTP: (payload: ApiRequest<"verifyOTP">) => Promise<{
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: ApiRequest<"createBooking">) => Promise<{
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: ApiPathParams<"confirmBooking">) => Promise<{
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: ApiPathParams<"cancelBooking">) => Promise<{
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: ApiPathParams<"getBooking">) => Promise<{
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: ApiRequest<"postApiV1PortalTenantCreate">) => Promise<unknown>;
2148
+ postApiV1PortalTenantCreate: (payload: PostApiV1PortalTenantCreatePayload) => Promise<unknown>;
1972
2149
  postApiV1PortalTenantCreateWithGithub: () => Promise<unknown>;
1973
2150
  postApiV1PortalTenantSendOtp: () => Promise<unknown>;
1974
- postApiV1PortalTenantVerifyOtp: (payload: ApiRequest<"postApiV1PortalTenantVerifyOtp">) => Promise<unknown>;
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: ApiRequest<"updateTenantProfile">) => Promise<{
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: ApiRequest<"postApiV1PortalCustomerCreate">) => Promise<unknown>;
2217
+ postApiV1PortalCustomerCreate: (payload: PostApiV1PortalCustomerCreatePayload) => Promise<unknown>;
2039
2218
  postApiV1PortalCustomerCreateWithGithub: () => Promise<unknown>;
2040
2219
  postApiV1PortalCustomerSendOtp: () => Promise<unknown>;
2041
- postApiV1PortalCustomerVerifyOtp: (payload: ApiRequest<"postApiV1PortalCustomerVerifyOtp">) => Promise<unknown>;
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?: Expand<ApiRequest<"getFeature">>) => Promise<{
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: ApiPathParams<"listingHistoryInspection">, query?: Expand<ApiRequest<"listingHistoryInspection">>) => Promise<{
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: ApiRequest<"newLandlord">) => Promise<{
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: ApiRequest<"basicLoginLandlord">) => Promise<{
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: ApiRequest<"updateProfile">) => Promise<{
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: ApiRequest<"createListingDraft">) => Promise<{
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: ApiPathParams<"updateDraftName">, payload: ApiRequest<"updateDraftName">) => Promise<{
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: ApiPathParams<"getOwnerListing">) => Promise<{
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: ApiPathParams<"saveListingDetails">, payload: ApiRequest<"saveListingDetails">) => Promise<{
2694
+ saveListingDetails: (params: SaveListingDetailsPathParams, payload: SaveListingDetailsPayload) => Promise<{
2473
2695
  message?: string;
2474
2696
  event?: string;
2475
2697
  data?: unknown[];
2476
2698
  }>;
2477
- savePropertyBasics: (params: ApiPathParams<"savePropertyBasics">, payload: ApiRequest<"savePropertyBasics">) => Promise<{
2699
+ savePropertyBasics: (params: SavePropertyBasicsPathParams, payload: SavePropertyBasicsPayload) => Promise<{
2478
2700
  message?: string;
2479
2701
  event?: string;
2480
2702
  data?: unknown[];
2481
2703
  }>;
2482
- savePricing: (params: ApiPathParams<"savePricing">, payload: ApiRequest<"savePricing">) => Promise<{
2704
+ savePricing: (params: SavePricingPathParams, payload: SavePricingPayload) => Promise<{
2483
2705
  message?: string;
2484
2706
  event?: string;
2485
2707
  data?: unknown[];
2486
2708
  }>;
2487
- saveRentalDetails: (params: ApiPathParams<"saveRentalDetails">, payload: ApiRequest<"saveRentalDetails">) => Promise<{
2709
+ saveRentalDetails: (params: SaveRentalDetailsPathParams, payload: SaveRentalDetailsPayload) => Promise<{
2488
2710
  message?: string;
2489
2711
  event?: string;
2490
2712
  data?: unknown[];
2491
2713
  }>;
2492
- saveShortLetDetails: (params: ApiPathParams<"saveShortLetDetails">, payload: ApiRequest<"saveShortLetDetails">) => Promise<{
2714
+ saveShortLetDetails: (params: SaveShortLetDetailsPathParams, payload: SaveShortLetDetailsPayload) => Promise<{
2493
2715
  message?: string;
2494
2716
  event?: string;
2495
2717
  data?: unknown[];
2496
2718
  }>;
2497
- saveUsedItemDetails: (params: ApiPathParams<"saveUsedItemDetails">, payload: ApiRequest<"saveUsedItemDetails">) => Promise<{
2719
+ saveUsedItemDetails: (params: SaveUsedItemDetailsPathParams, payload: SaveUsedItemDetailsPayload) => Promise<{
2498
2720
  message?: string;
2499
2721
  event?: string;
2500
2722
  data?: unknown[];
2501
2723
  }>;
2502
- saveListingFeatures: (params: ApiPathParams<"saveListingFeatures">, payload: ApiRequest<"saveListingFeatures">) => Promise<{
2724
+ saveListingFeatures: (params: SaveListingFeaturesPathParams, payload: SaveListingFeaturesPayload) => Promise<{
2503
2725
  message?: string;
2504
2726
  event?: string;
2505
2727
  data?: unknown[];
2506
2728
  }>;
2507
- saveTenantPreferences: (params: ApiPathParams<"saveTenantPreferences">, payload: ApiRequest<"saveTenantPreferences">) => Promise<{
2729
+ saveTenantPreferences: (params: SaveTenantPreferencesPathParams, payload: SaveTenantPreferencesPayload) => Promise<{
2508
2730
  message?: string;
2509
2731
  event?: string;
2510
2732
  data?: unknown[];
2511
2733
  }>;
2512
- saveViewingAvailability: (params: ApiPathParams<"saveViewingAvailability">, payload: ApiRequest<"saveViewingAvailability">) => Promise<{
2734
+ saveViewingAvailability: (params: SaveViewingAvailabilityPathParams, payload: SaveViewingAvailabilityPayload) => Promise<{
2513
2735
  message?: string;
2514
2736
  event?: string;
2515
2737
  data?: unknown[];
2516
2738
  }>;
2517
- uploadListingMedia: (params: ApiPathParams<"uploadListingMedia">, formData: FormData) => Promise<{
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: ApiPathParams<"reorderListingMedia">, payload: ApiRequest<"reorderListingMedia">) => Promise<{
2756
+ reorderListingMedia: (params: ReorderListingMediaPathParams, payload: ReorderListingMediaPayload) => Promise<{
2535
2757
  message?: string;
2536
2758
  event?: string;
2537
2759
  data?: unknown[];
2538
2760
  }>;
2539
- setListingCoverMedia: (params: ApiPathParams<"setListingCoverMedia">) => Promise<{
2761
+ setListingCoverMedia: (params: SetListingCoverMediaPathParams) => Promise<{
2540
2762
  message?: string;
2541
2763
  event?: string;
2542
2764
  data?: unknown[];
2543
2765
  }>;
2544
- deleteListingMedia: (params: ApiPathParams<"deleteListingMedia">) => Promise<{
2766
+ deleteListingMedia: (params: DeleteListingMediaPathParams) => Promise<{
2545
2767
  message?: string;
2546
2768
  data?: unknown[];
2547
2769
  }>;
2548
- submitListing: (params: ApiPathParams<"submitListing">) => Promise<{
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: ApiPathParams<"getListingCompliance">) => Promise<{
2821
+ getListingCompliance: (params: GetListingCompliancePathParams) => Promise<{
2600
2822
  data?: {
2601
2823
  uid?: string;
2602
2824
  compliances?: string | null;
2603
2825
  };
2604
2826
  }>;
2605
- submitListingCompliance: (params: ApiPathParams<"submitListingCompliance">, payload: ApiRequest<"submitListingCompliance">) => Promise<{
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: ApiPathParams<"resolveListingCompliance">) => Promise<{
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: ApiPathParams<"getLandlordListingTenancies">) => Promise<{
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: ApiPathParams<"submitTenancyCompliance">, payload: ApiRequest<"submitTenancyCompliance">) => Promise<{
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: ApiPathParams<"resolveTenancyCompliance">) => Promise<{
2939
+ resolveTenancyCompliance: (params: ResolveTenancyCompliancePathParams) => Promise<{
2718
2940
  data?: {
2719
2941
  id?: number;
2720
2942
  compliance?: {
@@ -2733,80 +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?: Expand<ApiRequest<"searchListings">>) => Promise<{
2963
+ search: (query?: SearchListingsQuery) => Promise<{
2964
+ message?: string;
2965
+ event?: string | null;
2738
2966
  data?: {
2739
- draft_name?: string;
2740
- sku?: string;
2741
- uid?: string;
2742
- listing_type?: string;
2743
- vertical?: string;
2744
- price?: string | null;
2745
- state?: string;
2746
- is_visible?: boolean;
2747
- summary?: unknown[];
2748
- workflow?: unknown[];
2749
- media?: unknown[];
2750
- }[];
2751
- links?: {
2752
- first?: string;
2753
- last?: string;
2754
- prev?: string | null;
2755
- next?: string | null;
2756
- };
2757
- meta?: {
2758
- current_page?: number;
2759
- from?: number;
2760
- last_page?: number;
2761
- links?: {
2762
- url?: string | null;
2763
- label?: string;
2764
- page?: string | null;
2765
- active?: boolean;
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
+ };
2766
3012
  }[];
2767
- path?: string;
2768
- per_page?: number;
2769
- to?: number;
2770
- total?: number;
3013
+ pagination?: {
3014
+ current_page?: number;
3015
+ per_page?: number;
3016
+ total?: number;
3017
+ last_page?: number;
3018
+ from?: number;
3019
+ to?: number;
3020
+ };
2771
3021
  };
2772
3022
  }>;
2773
- discover: (query?: Expand<ApiRequest<"discoverListings">>) => Promise<{
3023
+ discover: (query?: DiscoverListingsQuery) => Promise<{
3024
+ message?: string;
3025
+ event?: string | null;
2774
3026
  data?: {
2775
- draft_name?: string;
2776
- sku?: string;
2777
- uid?: string;
2778
- listing_type?: string;
2779
- vertical?: string;
2780
- price?: string | null;
2781
- state?: string;
2782
- is_visible?: boolean;
2783
- summary?: unknown[];
2784
- workflow?: unknown[];
2785
- media?: unknown[];
2786
- }[];
2787
- links?: {
2788
- first?: string;
2789
- last?: string;
2790
- prev?: string | null;
2791
- next?: string | null;
2792
- };
2793
- meta?: {
2794
- current_page?: number;
2795
- from?: number;
2796
- last_page?: number;
2797
- links?: {
2798
- url?: string | null;
2799
- label?: string;
2800
- page?: string | null;
2801
- active?: boolean;
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
+ };
2802
3072
  }[];
2803
- path?: string;
2804
- per_page?: number;
2805
- to?: number;
2806
- total?: number;
3073
+ pagination?: {
3074
+ current_page?: number;
3075
+ per_page?: number;
3076
+ total?: number;
3077
+ last_page?: number;
3078
+ from?: number;
3079
+ to?: number;
3080
+ };
2807
3081
  };
2808
3082
  }>;
2809
- fetchOne: (params: ApiPathParams<"fetchOne">) => Promise<{
3083
+ fetchOne: (params: FetchOnePathParams) => Promise<{
2810
3084
  message?: string;
2811
3085
  event?: string | null;
2812
3086
  data?: {
@@ -2827,7 +3101,7 @@ declare const listings: {
2827
3101
  };
2828
3102
  };
2829
3103
  }>;
2830
- fetchListingMediaPublic: (params: ApiPathParams<"fetchListingMediaPublic">) => Promise<{
3104
+ fetchListingMediaPublic: (params: FetchListingMediaPublicPathParams) => Promise<{
2831
3105
  message?: string;
2832
3106
  event?: string | null;
2833
3107
  data?: {
@@ -2841,8 +3115,13 @@ declare const listings: {
2841
3115
  }>;
2842
3116
  };
2843
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;
2844
3123
  declare const maintenance: {
2845
- listingHistory: (params: ApiPathParams<"listingHistoryMaintenance">, query?: Expand<ApiRequest<"listingHistoryMaintenance">>) => Promise<{
3124
+ listingHistory: (params: ListingHistoryMaintenancePathParams, query?: ListingHistoryMaintenanceQuery) => Promise<{
2846
3125
  message?: string;
2847
3126
  event?: string | null;
2848
3127
  data?: {
@@ -2880,7 +3159,7 @@ declare const maintenance: {
2880
3159
  };
2881
3160
  };
2882
3161
  }>;
2883
- report: (payload: ApiRequest<"reportMaintenance">) => Promise<{
3162
+ report: (payload: ReportMaintenancePayload) => Promise<{
2884
3163
  data?: {
2885
3164
  uid?: string;
2886
3165
  title?: string;
@@ -2916,7 +3195,7 @@ declare const maintenance: {
2916
3195
  total?: number;
2917
3196
  };
2918
3197
  }>;
2919
- uploadAttachment: (params: ApiPathParams<"uploadAttachmentMaintenance">, formData: FormData) => Promise<{
3198
+ uploadAttachment: (params: UploadAttachmentMaintenancePathParams, formData: UploadAttachmentMaintenanceFormData) => Promise<{
2920
3199
  data?: {
2921
3200
  uid?: string;
2922
3201
  file_type?: string;
@@ -2926,8 +3205,12 @@ declare const maintenance: {
2926
3205
  }>;
2927
3206
  };
2928
3207
 
3208
+ type CreateConversationPayload = ApiRequest<'createConversation'>;
3209
+ type ListConversationMessagesPathParams = ApiPathParams<'listConversationMessages'>;
3210
+ type SendConversationMessagePayload = ApiRequest<'sendConversationMessage'>;
3211
+ type MarkConversationAsReadPathParams = ApiPathParams<'markConversationAsRead'>;
2929
3212
  declare const conversations: {
2930
- createConversation: (payload: ApiRequest<"createConversation">) => Promise<{
3213
+ createConversation: (payload: CreateConversationPayload) => Promise<{
2931
3214
  data?: {
2932
3215
  id?: number;
2933
3216
  type?: string;
@@ -2966,7 +3249,7 @@ declare const conversations: {
2966
3249
  total?: number;
2967
3250
  };
2968
3251
  }>;
2969
- listConversationMessages: (params: ApiPathParams<"listConversationMessages">) => Promise<{
3252
+ listConversationMessages: (params: ListConversationMessagesPathParams) => Promise<{
2970
3253
  data?: {
2971
3254
  id?: string | null;
2972
3255
  conversation_id?: string | null;
@@ -2999,7 +3282,7 @@ declare const conversations: {
2999
3282
  total?: number;
3000
3283
  };
3001
3284
  }>;
3002
- sendConversationMessage: (payload: ApiRequest<"sendConversationMessage">) => Promise<{
3285
+ sendConversationMessage: (payload: SendConversationMessagePayload) => Promise<{
3003
3286
  message?: string;
3004
3287
  event?: string | null;
3005
3288
  data?: {
@@ -3013,7 +3296,7 @@ declare const conversations: {
3013
3296
  created_at?: string | null;
3014
3297
  };
3015
3298
  }>;
3016
- markConversationAsRead: (params: ApiPathParams<"markConversationAsRead">) => Promise<{
3299
+ markConversationAsRead: (params: MarkConversationAsReadPathParams) => Promise<{
3017
3300
  message?: string;
3018
3301
  event?: string | null;
3019
3302
  data?: {
@@ -3022,6 +3305,10 @@ declare const conversations: {
3022
3305
  }>;
3023
3306
  };
3024
3307
 
3308
+ type ReadNotificationPathParams = ApiPathParams<'readNotification'>;
3309
+ type UpdateNotificationPreferencePathParams = ApiPathParams<'updateNotificationPreference'>;
3310
+ type UpdateNotificationPreferencePayload = ApiRequest<'updateNotificationPreference'>;
3311
+ type UpdateBulkPreferencesPayload = ApiRequest<'updateBulkPreferences'>;
3025
3312
  declare const notification: {
3026
3313
  fetch: () => Promise<{
3027
3314
  data?: {
@@ -3055,7 +3342,7 @@ declare const notification: {
3055
3342
  total?: number;
3056
3343
  };
3057
3344
  }>;
3058
- read: (params: ApiPathParams<"readNotification">) => Promise<{
3345
+ read: (params: ReadNotificationPathParams) => Promise<{
3059
3346
  id?: string;
3060
3347
  type?: string;
3061
3348
  title?: string;
@@ -3095,18 +3382,19 @@ declare const notification: {
3095
3382
  };
3096
3383
  }[];
3097
3384
  }>;
3098
- updateNotificationPreference: (params: ApiPathParams<"updateNotificationPreference">, payload: ApiRequest<"updateNotificationPreference">) => Promise<{
3385
+ updateNotificationPreference: (params: UpdateNotificationPreferencePathParams, payload: UpdateNotificationPreferencePayload) => Promise<{
3099
3386
  message?: string;
3100
3387
  event?: string | null;
3101
3388
  data?: unknown[];
3102
3389
  }>;
3103
- updateBulkPreferences: (payload: ApiRequest<"updateBulkPreferences">) => Promise<{
3390
+ updateBulkPreferences: (payload: UpdateBulkPreferencesPayload) => Promise<{
3104
3391
  message?: string;
3105
3392
  event?: string | null;
3106
3393
  data?: unknown[];
3107
3394
  }>;
3108
3395
  };
3109
3396
 
3397
+ type CheckCapabilityPlanPathParams = ApiPathParams<'checkCapabilityPlan'>;
3110
3398
  declare const plan: {
3111
3399
  user: () => Promise<{
3112
3400
  data?: {
@@ -3136,7 +3424,7 @@ declare const plan: {
3136
3424
  };
3137
3425
  };
3138
3426
  }>;
3139
- checkCapability: (params: ApiPathParams<"checkCapabilityPlan">) => Promise<{
3427
+ checkCapability: (params: CheckCapabilityPlanPathParams) => Promise<{
3140
3428
  message?: string;
3141
3429
  event?: string | null;
3142
3430
  data?: {
@@ -3146,6 +3434,11 @@ declare const plan: {
3146
3434
  }>;
3147
3435
  };
3148
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'>;
3149
3442
  declare const review: {
3150
3443
  fetchAll: () => Promise<{
3151
3444
  data?: {
@@ -3189,7 +3482,7 @@ declare const review: {
3189
3482
  reviews_count?: number;
3190
3483
  };
3191
3484
  }>;
3192
- createListing: (payload: ApiRequest<"createListingReview">) => Promise<{
3485
+ createListing: (payload: CreateListingReviewPayload) => Promise<{
3193
3486
  data?: {
3194
3487
  id?: number;
3195
3488
  rating?: number;
@@ -3202,7 +3495,7 @@ declare const review: {
3202
3495
  updated_at?: string;
3203
3496
  };
3204
3497
  }>;
3205
- createUser: (payload: ApiRequest<"createUserReview">) => Promise<{
3498
+ createUser: (payload: CreateUserReviewPayload) => Promise<{
3206
3499
  data?: {
3207
3500
  id?: number;
3208
3501
  rating?: number;
@@ -3215,7 +3508,7 @@ declare const review: {
3215
3508
  updated_at?: string;
3216
3509
  };
3217
3510
  }>;
3218
- update: (params: ApiPathParams<"updateReview">, payload: ApiRequest<"updateReview">) => Promise<{
3511
+ update: (params: UpdateReviewPathParams, payload: UpdateReviewPayload) => Promise<{
3219
3512
  data?: {
3220
3513
  id?: number;
3221
3514
  rating?: number;
@@ -3228,7 +3521,7 @@ declare const review: {
3228
3521
  updated_at?: string;
3229
3522
  };
3230
3523
  }>;
3231
- delete: (params: ApiPathParams<"deleteReview">) => Promise<{
3524
+ delete: (params: DeleteReviewPathParams) => Promise<{
3232
3525
  data?: {
3233
3526
  id?: number;
3234
3527
  rating?: number;
@@ -3243,8 +3536,23 @@ declare const review: {
3243
3536
  }>;
3244
3537
  };
3245
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'>;
3246
3554
  declare const tenancy: {
3247
- fetchOne: (params: ApiPathParams<"fetchOneTenancy">) => Promise<{
3555
+ fetchOne: (params: FetchOneTenancyPathParams) => Promise<{
3248
3556
  data?: {
3249
3557
  uid?: string;
3250
3558
  listing_id?: number;
@@ -3264,7 +3572,7 @@ declare const tenancy: {
3264
3572
  };
3265
3573
  };
3266
3574
  }>;
3267
- create: (payload: ApiRequest<"createTenancy">) => Promise<{
3575
+ create: (payload: CreateTenancyPayload) => Promise<{
3268
3576
  data?: {
3269
3577
  uid?: string;
3270
3578
  listing_id?: number;
@@ -3279,7 +3587,7 @@ declare const tenancy: {
3279
3587
  created_at?: string;
3280
3588
  };
3281
3589
  }>;
3282
- transition: (params: ApiPathParams<"transitionTenancy">, payload: ApiRequest<"transitionTenancy">) => Promise<{
3590
+ transition: (params: TransitionTenancyPathParams, payload: TransitionTenancyPayload) => Promise<{
3283
3591
  message?: string;
3284
3592
  event?: string | null;
3285
3593
  data?: {
@@ -3287,7 +3595,7 @@ declare const tenancy: {
3287
3595
  new_state?: string;
3288
3596
  };
3289
3597
  }>;
3290
- complianceStatus: (params: ApiPathParams<"complianceStatusTenancy">) => Promise<{
3598
+ complianceStatus: (params: ComplianceStatusTenancyPathParams) => Promise<{
3291
3599
  message?: string;
3292
3600
  event?: string | null;
3293
3601
  data?: {
@@ -3298,35 +3606,35 @@ declare const tenancy: {
3298
3606
  }[];
3299
3607
  };
3300
3608
  }>;
3301
- renew: (params: ApiPathParams<"renewTenancy">) => Promise<{
3609
+ renew: (params: RenewTenancyPathParams) => Promise<{
3302
3610
  message?: string;
3303
3611
  event?: string | null;
3304
3612
  data?: {
3305
3613
  state?: string;
3306
3614
  };
3307
3615
  }>;
3308
- convert: (params: ApiPathParams<"convertTenancy">) => Promise<{
3616
+ convert: (params: ConvertTenancyPathParams) => Promise<{
3309
3617
  message?: string;
3310
3618
  event?: string | null;
3311
3619
  data?: {
3312
3620
  state?: string;
3313
3621
  };
3314
3622
  }>;
3315
- serveNotice: (params: ApiPathParams<"serveNoticeTenancy">, payload: ApiRequest<"serveNoticeTenancy">) => Promise<{
3623
+ serveNotice: (params: ServeNoticeTenancyPathParams, payload: ServeNoticeTenancyPayload) => Promise<{
3316
3624
  message?: string;
3317
3625
  event?: string | null;
3318
3626
  data?: {
3319
3627
  state?: string;
3320
3628
  };
3321
3629
  }>;
3322
- terminate: (params: ApiPathParams<"terminateTenancy">, payload: ApiRequest<"terminateTenancy">) => Promise<{
3630
+ terminate: (params: TerminateTenancyPathParams, payload: TerminateTenancyPayload) => Promise<{
3323
3631
  message?: string;
3324
3632
  event?: string | null;
3325
3633
  data?: {
3326
3634
  state?: string;
3327
3635
  };
3328
3636
  }>;
3329
- fetchTransitions: (params: ApiPathParams<"fetchTransitionsTenancy">) => Promise<{
3637
+ fetchTransitions: (params: FetchTransitionsTenancyPathParams) => Promise<{
3330
3638
  data?: {
3331
3639
  from_state?: string;
3332
3640
  to_state?: string;
@@ -3336,7 +3644,7 @@ declare const tenancy: {
3336
3644
  created_at?: string;
3337
3645
  }[];
3338
3646
  }>;
3339
- uploadDocument: (params: ApiPathParams<"uploadDocumentTenancy">, formData: FormData) => Promise<{
3647
+ uploadDocument: (params: UploadDocumentTenancyPathParams, formData: UploadDocumentTenancyFormData) => Promise<{
3340
3648
  message?: string;
3341
3649
  event?: string | null;
3342
3650
  data?: {
@@ -3344,18 +3652,20 @@ declare const tenancy: {
3344
3652
  version?: number;
3345
3653
  };
3346
3654
  }>;
3347
- downloadDocument: (params: ApiPathParams<"downloadDocumentTenancy">) => Promise<{
3655
+ downloadDocument: (params: DownloadDocumentTenancyPathParams) => Promise<{
3348
3656
  "Content-Type"?: string;
3349
3657
  }>;
3350
3658
  };
3351
3659
 
3660
+ type ToggleTwoFactorPayload = ApiRequest<'toggleTwoFactor'>;
3661
+ type UpdateAvatarFormData = FormData;
3352
3662
  declare const user: {
3353
3663
  sendTwoFactorToggleOtp: () => Promise<{
3354
3664
  message?: string;
3355
3665
  event?: string | null;
3356
3666
  data?: string | null;
3357
3667
  }>;
3358
- toggleTwoFactor: (payload: ApiRequest<"toggleTwoFactor">) => Promise<{
3668
+ toggleTwoFactor: (payload: ToggleTwoFactorPayload) => Promise<{
3359
3669
  data?: {
3360
3670
  uid?: string;
3361
3671
  username?: string;
@@ -3385,7 +3695,7 @@ declare const user: {
3385
3695
  };
3386
3696
  };
3387
3697
  }>;
3388
- updateAvatar: (formData: FormData) => Promise<{
3698
+ updateAvatar: (formData: UpdateAvatarFormData) => Promise<{
3389
3699
  data?: {
3390
3700
  uid?: string;
3391
3701
  username?: string;
@@ -3417,6 +3727,11 @@ declare const user: {
3417
3727
  }>;
3418
3728
  };
3419
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'>;
3420
3735
  declare const userverification: {
3421
3736
  overview: () => Promise<{
3422
3737
  data?: {
@@ -3426,7 +3741,7 @@ declare const userverification: {
3426
3741
  last_calculated_at?: string;
3427
3742
  };
3428
3743
  }>;
3429
- submit: (params: ApiPathParams<"submitUserVerification">, payload: ApiRequest<"submitUserVerification">) => Promise<{
3744
+ submit: (params: SubmitUserVerificationPathParams, payload: SubmitUserVerificationPayload) => Promise<{
3430
3745
  data?: {
3431
3746
  current_level?: number;
3432
3747
  completed_layers?: number;
@@ -3477,7 +3792,7 @@ declare const userverification: {
3477
3792
  };
3478
3793
  };
3479
3794
  }>;
3480
- checkLayerStatus: (params: ApiPathParams<"checkLayerStatus">) => Promise<{
3795
+ checkLayerStatus: (params: CheckLayerStatusPathParams) => Promise<{
3481
3796
  message?: string;
3482
3797
  event?: string | null;
3483
3798
  data?: {
@@ -3485,7 +3800,7 @@ declare const userverification: {
3485
3800
  status?: number;
3486
3801
  };
3487
3802
  }>;
3488
- resubmit: (params: ApiPathParams<"resubmitUserVerification">, payload: ApiRequest<"resubmitUserVerification">) => Promise<{
3803
+ resubmit: (params: ResubmitUserVerificationPathParams, payload: ResubmitUserVerificationPayload) => Promise<{
3489
3804
  data?: {
3490
3805
  current_level?: number;
3491
3806
  completed_layers?: number;
@@ -3495,8 +3810,11 @@ declare const userverification: {
3495
3810
  }>;
3496
3811
  };
3497
3812
 
3813
+ type CreateWishlistPayload = ApiRequest<'createWishlist'>;
3814
+ type RemoveWishlistPathParams = ApiPathParams<'removeWishlist'>;
3815
+ type GetWishlistQuery = Expand<ApiQuery<'getWishlist'>>;
3498
3816
  declare const wishlist: {
3499
- create: (payload: ApiRequest<"createWishlist">) => Promise<{
3817
+ create: (payload: CreateWishlistPayload) => Promise<{
3500
3818
  data?: {
3501
3819
  wishlist_uid?: string;
3502
3820
  listing?: {
@@ -3514,12 +3832,12 @@ declare const wishlist: {
3514
3832
  };
3515
3833
  };
3516
3834
  }>;
3517
- remove: (params: ApiPathParams<"removeWishlist">) => Promise<{
3835
+ remove: (params: RemoveWishlistPathParams) => Promise<{
3518
3836
  message?: string;
3519
3837
  event?: string | null;
3520
3838
  data?: string | null;
3521
3839
  }>;
3522
- get: (query?: Expand<ApiRequest<"getWishlist">>) => Promise<{
3840
+ get: (query?: GetWishlistQuery) => Promise<{
3523
3841
  data?: {
3524
3842
  wishlist_uid?: string;
3525
3843
  }[];
@@ -3547,4 +3865,4 @@ declare const wishlist: {
3547
3865
  }>;
3548
3866
  };
3549
3867
 
3550
- 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 };