@justins-home/api-services 1.2.31 → 1.2.33

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 +605 -255
  2. package/dist/index.d.ts +605 -255
  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;
@@ -310,6 +468,8 @@ declare const admin: {
310
468
  vertical?: string;
311
469
  price?: string | null;
312
470
  state?: string;
471
+ published_at?: string | null;
472
+ published_since?: string | null;
313
473
  is_visible?: boolean;
314
474
  summary?: {
315
475
  availability?: string | null;
@@ -318,7 +478,7 @@ declare const admin: {
318
478
  media?: unknown[];
319
479
  };
320
480
  }>;
321
- fetchLandlordListingComplianceSubmissions: (params: ApiPathParams<"fetchLandlordListingComplianceSubmissionsAdmin">, query?: Expand<ApiRequest<"fetchLandlordListingComplianceSubmissionsAdmin">>) => Promise<{
481
+ fetchLandlordListingComplianceSubmissions: (params: FetchLandlordListingComplianceSubmissionsAdminPathParams, query?: FetchLandlordListingComplianceSubmissionsAdminQuery) => Promise<{
322
482
  message?: string;
323
483
  event?: string | null;
324
484
  data?: {
@@ -352,7 +512,7 @@ declare const admin: {
352
512
  };
353
513
  };
354
514
  }>;
355
- fetchTenantList: (query?: Expand<ApiRequest<"fetchTenantListAdmin">>) => Promise<{
515
+ fetchTenantList: (query?: FetchTenantListAdminQuery) => Promise<{
356
516
  message?: string;
357
517
  event?: string | null;
358
518
  data?: {
@@ -398,7 +558,7 @@ declare const admin: {
398
558
  }[];
399
559
  };
400
560
  }>;
401
- fetchUser: (params: ApiPathParams<"fetchUserAdmin">) => Promise<{
561
+ fetchUser: (params: FetchUserAdminPathParams) => Promise<{
402
562
  message?: string;
403
563
  event?: string | null;
404
564
  data?: {
@@ -449,7 +609,7 @@ declare const admin: {
449
609
  role?: string | null;
450
610
  };
451
611
  }>;
452
- fetchUserPlanOverview: (params: ApiPathParams<"fetchUserPlanOverviewAdmin">) => Promise<{
612
+ fetchUserPlanOverview: (params: FetchUserPlanOverviewAdminPathParams) => Promise<{
453
613
  message?: string;
454
614
  event?: string | null;
455
615
  data?: {
@@ -473,7 +633,7 @@ declare const admin: {
473
633
  };
474
634
  };
475
635
  }>;
476
- fetchUserMaintenanceRequests: (params: ApiPathParams<"fetchUserMaintenanceRequestsAdmin">, query?: Expand<ApiRequest<"fetchUserMaintenanceRequestsAdmin">>) => Promise<{
636
+ fetchUserMaintenanceRequests: (params: FetchUserMaintenanceRequestsAdminPathParams, query?: FetchUserMaintenanceRequestsAdminQuery) => Promise<{
477
637
  message?: string;
478
638
  event?: string | null;
479
639
  data?: {
@@ -504,7 +664,7 @@ declare const admin: {
504
664
  };
505
665
  };
506
666
  }>;
507
- fetchUserVerificationDocuments: (params: ApiPathParams<"fetchUserVerificationDocumentsAdmin">, query?: Expand<ApiRequest<"fetchUserVerificationDocumentsAdmin">>) => Promise<{
667
+ fetchUserVerificationDocuments: (params: FetchUserVerificationDocumentsAdminPathParams, query?: FetchUserVerificationDocumentsAdminQuery) => Promise<{
508
668
  message?: string;
509
669
  event?: string | null;
510
670
  data?: {
@@ -525,7 +685,7 @@ declare const admin: {
525
685
  }[];
526
686
  };
527
687
  }>;
528
- fetchUserListingComplianceDocuments: (params: ApiPathParams<"fetchUserListingComplianceDocumentsAdmin">, query?: Expand<ApiRequest<"fetchUserListingComplianceDocumentsAdmin">>) => Promise<{
688
+ fetchUserListingComplianceDocuments: (params: FetchUserListingComplianceDocumentsAdminPathParams, query?: FetchUserListingComplianceDocumentsAdminQuery) => Promise<{
529
689
  message?: string;
530
690
  event?: string | null;
531
691
  data?: {
@@ -554,7 +714,7 @@ declare const admin: {
554
714
  };
555
715
  };
556
716
  }>;
557
- fetchUserTenancyComplianceDocuments: (params: ApiPathParams<"fetchUserTenancyComplianceDocumentsAdmin">, query?: Expand<ApiRequest<"fetchUserTenancyComplianceDocumentsAdmin">>) => Promise<{
717
+ fetchUserTenancyComplianceDocuments: (params: FetchUserTenancyComplianceDocumentsAdminPathParams, query?: FetchUserTenancyComplianceDocumentsAdminQuery) => Promise<{
558
718
  message?: string;
559
719
  event?: string | null;
560
720
  data?: {
@@ -583,7 +743,7 @@ declare const admin: {
583
743
  };
584
744
  };
585
745
  }>;
586
- fetchTenancyHistoryForUser: (params: ApiPathParams<"fetchTenancyHistoryForUserAdmin">, query?: Expand<ApiRequest<"fetchTenancyHistoryForUserAdmin">>) => Promise<{
746
+ fetchTenancyHistoryForUser: (params: FetchTenancyHistoryForUserAdminPathParams, query?: FetchTenancyHistoryForUserAdminQuery) => Promise<{
587
747
  message?: string;
588
748
  event?: string | null;
589
749
  data?: {
@@ -630,7 +790,7 @@ declare const admin: {
630
790
  };
631
791
  };
632
792
  }>;
633
- fetchUserActivityFeed: (params: ApiPathParams<"fetchUserActivityFeedAdmin">, query?: Expand<ApiRequest<"fetchUserActivityFeedAdmin">>) => Promise<{
793
+ fetchUserActivityFeed: (params: FetchUserActivityFeedAdminPathParams, query?: FetchUserActivityFeedAdminQuery) => Promise<{
634
794
  message?: string;
635
795
  event?: string | null;
636
796
  data?: {
@@ -658,7 +818,7 @@ declare const admin: {
658
818
  };
659
819
  };
660
820
  }>;
661
- fetchUserAuditLogs: (params: ApiPathParams<"fetchUserAuditLogsAdmin">, query?: Expand<ApiRequest<"fetchUserAuditLogsAdmin">>) => Promise<{
821
+ fetchUserAuditLogs: (params: FetchUserAuditLogsAdminPathParams, query?: FetchUserAuditLogsAdminQuery) => Promise<{
662
822
  message?: string;
663
823
  event?: string | null;
664
824
  data?: {
@@ -683,7 +843,7 @@ declare const admin: {
683
843
  };
684
844
  };
685
845
  }>;
686
- filterUserAuditLogs: (params: ApiPathParams<"filterUserAuditLogsAdmin">, query?: Expand<ApiRequest<"filterUserAuditLogsAdmin">>) => Promise<{
846
+ filterUserAuditLogs: (params: FilterUserAuditLogsAdminPathParams, query?: FilterUserAuditLogsAdminQuery) => Promise<{
687
847
  message?: string;
688
848
  event?: string | null;
689
849
  data?: {
@@ -708,7 +868,7 @@ declare const admin: {
708
868
  };
709
869
  };
710
870
  }>;
711
- fetchUserAuditLogsByAction: (params: ApiPathParams<"fetchUserAuditLogsByActionAdmin">, query?: Expand<ApiRequest<"fetchUserAuditLogsByActionAdmin">>) => Promise<{
871
+ fetchUserAuditLogsByAction: (params: FetchUserAuditLogsByActionAdminPathParams, query?: FetchUserAuditLogsByActionAdminQuery) => Promise<{
712
872
  message?: string;
713
873
  event?: string | null;
714
874
  data?: {
@@ -731,7 +891,7 @@ declare const admin: {
731
891
  };
732
892
  };
733
893
  }>;
734
- forceLogoutUser: (params: ApiPathParams<"forceLogoutUserAdmin">) => Promise<{
894
+ forceLogoutUser: (params: ForceLogoutUserAdminPathParams) => Promise<{
735
895
  message?: string;
736
896
  data?: {
737
897
  user_uid?: string;
@@ -739,7 +899,7 @@ declare const admin: {
739
899
  logged_out?: boolean;
740
900
  };
741
901
  }>;
742
- updateUserStatus: (params: ApiPathParams<"updateUserStatusAdmin">, payload: ApiRequest<"updateUserStatusAdmin">) => Promise<{
902
+ updateUserStatus: (params: UpdateUserStatusAdminPathParams, payload: UpdateUserStatusAdminPayload) => Promise<{
743
903
  data?: {
744
904
  uid?: string;
745
905
  username?: string;
@@ -769,7 +929,7 @@ declare const admin: {
769
929
  };
770
930
  };
771
931
  }>;
772
- fetchListingList: (query?: Expand<ApiRequest<"fetchListingListAdmin">>) => Promise<{
932
+ fetchListingList: (query?: FetchListingListAdminQuery) => Promise<{
773
933
  message?: string;
774
934
  event?: string | null;
775
935
  data?: {
@@ -820,7 +980,7 @@ declare const admin: {
820
980
  };
821
981
  };
822
982
  }>;
823
- fetchOneListing: (params: ApiPathParams<"fetchOneListingAdmin">) => Promise<{
983
+ fetchOneListing: (params: FetchOneListingAdminPathParams) => Promise<{
824
984
  message?: string;
825
985
  event?: string | null;
826
986
  data?: {
@@ -897,12 +1057,12 @@ declare const admin: {
897
1057
  };
898
1058
  };
899
1059
  }>;
900
- updateDraftName: (params: ApiPathParams<"updateDraftNameAdmin">, payload: ApiRequest<"updateDraftNameAdmin">) => Promise<{
1060
+ updateDraftName: (params: UpdateDraftNameAdminPathParams, payload: UpdateDraftNameAdminPayload) => Promise<{
901
1061
  message?: string;
902
1062
  event?: string | null;
903
1063
  data?: unknown[];
904
1064
  }>;
905
- submitListing: (params: ApiPathParams<"submitListingAdmin">) => Promise<{
1065
+ submitListing: (params: SubmitListingAdminPathParams) => Promise<{
906
1066
  data?: {
907
1067
  draft_name?: string;
908
1068
  sku?: string;
@@ -911,6 +1071,8 @@ declare const admin: {
911
1071
  vertical?: string;
912
1072
  price?: string | null;
913
1073
  state?: string;
1074
+ published_at?: string | null;
1075
+ published_since?: string | null;
914
1076
  is_visible?: boolean;
915
1077
  summary?: {
916
1078
  availability?: string | null;
@@ -919,16 +1081,16 @@ declare const admin: {
919
1081
  media?: unknown[];
920
1082
  };
921
1083
  }>;
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<{
1084
+ saveListingDetails: (params: SaveListingDetailsAdminPathParams, payload: SaveListingDetailsAdminPayload) => Promise<unknown>;
1085
+ savePropertyBasics: (params: SavePropertyBasicsAdminPathParams, payload: SavePropertyBasicsAdminPayload) => Promise<unknown>;
1086
+ savePricing: (params: SavePricingAdminPathParams, payload: SavePricingAdminPayload) => Promise<unknown>;
1087
+ saveRentalDetails: (params: SaveRentalDetailsAdminPathParams, payload: SaveRentalDetailsAdminPayload) => Promise<unknown>;
1088
+ saveShortLetDetails: (params: SaveShortLetDetailsAdminPathParams, payload: SaveShortLetDetailsAdminPayload) => Promise<unknown>;
1089
+ saveUsedItemDetails: (params: SaveUsedItemDetailsAdminPathParams, payload: SaveUsedItemDetailsAdminPayload) => Promise<unknown>;
1090
+ saveListingFeatures: (params: SaveListingFeaturesAdminPathParams, payload: SaveListingFeaturesAdminPayload) => Promise<unknown>;
1091
+ saveTenantPreferences: (params: SaveTenantPreferencesAdminPathParams, payload: SaveTenantPreferencesAdminPayload) => Promise<unknown>;
1092
+ saveViewingAvailability: (params: SaveViewingAvailabilityAdminPathParams, payload: SaveViewingAvailabilityAdminPayload) => Promise<unknown>;
1093
+ uploadListingMedia: (params: UploadListingMediaAdminPathParams, formData: UploadListingMediaAdminFormData) => Promise<{
932
1094
  data?: {
933
1095
  uid?: string;
934
1096
  media_type?: string;
@@ -937,10 +1099,10 @@ declare const admin: {
937
1099
  is_cover?: boolean;
938
1100
  };
939
1101
  }>;
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<{
1102
+ reorderListingMedia: (params: ReorderListingMediaAdminPathParams, payload: ReorderListingMediaAdminPayload) => Promise<unknown>;
1103
+ setListingCoverMedia: (params: SetListingCoverMediaAdminPathParams) => Promise<unknown>;
1104
+ deleteListingMedia: (params: DeleteListingMediaAdminPathParams) => Promise<unknown>;
1105
+ fetchListingAuditLogs: (params: FetchListingAuditLogsAdminPathParams, query?: FetchListingAuditLogsAdminQuery) => Promise<{
944
1106
  message?: string;
945
1107
  event?: string | null;
946
1108
  data?: {
@@ -965,7 +1127,7 @@ declare const admin: {
965
1127
  };
966
1128
  };
967
1129
  }>;
968
- fetchTenancyHistoryForListing: (params: ApiPathParams<"fetchTenancyHistoryForListingAdmin">, query?: Expand<ApiRequest<"fetchTenancyHistoryForListingAdmin">>) => Promise<{
1130
+ fetchTenancyHistoryForListing: (params: FetchTenancyHistoryForListingAdminPathParams, query?: FetchTenancyHistoryForListingAdminQuery) => Promise<{
969
1131
  message?: string;
970
1132
  event?: string | null;
971
1133
  data?: {
@@ -1021,6 +1183,8 @@ declare const admin: {
1021
1183
  vertical?: string;
1022
1184
  price?: string | null;
1023
1185
  state?: string;
1186
+ published_at?: string | null;
1187
+ published_since?: string | null;
1024
1188
  is_visible?: boolean;
1025
1189
  summary?: {
1026
1190
  availability?: string | null;
@@ -1050,7 +1214,7 @@ declare const admin: {
1050
1214
  total?: number;
1051
1215
  };
1052
1216
  }>;
1053
- fetchListingComplianceDocuments: (params: ApiPathParams<"fetchListingComplianceDocumentsAdmin">, query?: Expand<ApiRequest<"fetchListingComplianceDocumentsAdmin">>) => Promise<{
1217
+ fetchListingComplianceDocuments: (params: FetchListingComplianceDocumentsAdminPathParams, query?: FetchListingComplianceDocumentsAdminQuery) => Promise<{
1054
1218
  message?: string;
1055
1219
  event?: string | null;
1056
1220
  data?: {
@@ -1071,7 +1235,7 @@ declare const admin: {
1071
1235
  }[];
1072
1236
  };
1073
1237
  }>;
1074
- approveListing: (params: ApiPathParams<"approveListing">) => Promise<{
1238
+ approveListing: (params: ApproveListingPathParams) => Promise<{
1075
1239
  data?: {
1076
1240
  draft_name?: string;
1077
1241
  sku?: string;
@@ -1080,6 +1244,8 @@ declare const admin: {
1080
1244
  vertical?: string;
1081
1245
  price?: string | null;
1082
1246
  state?: string;
1247
+ published_at?: string | null;
1248
+ published_since?: string | null;
1083
1249
  is_visible?: boolean;
1084
1250
  summary?: {
1085
1251
  availability?: string | null;
@@ -1088,7 +1254,7 @@ declare const admin: {
1088
1254
  media?: unknown[];
1089
1255
  };
1090
1256
  }>;
1091
- rejectListing: (params: ApiPathParams<"rejectListing">, payload: ApiRequest<"rejectListing">) => Promise<{
1257
+ rejectListing: (params: RejectListingPathParams, payload: RejectListingPayload) => Promise<{
1092
1258
  data?: {
1093
1259
  draft_name?: string;
1094
1260
  sku?: string;
@@ -1097,6 +1263,8 @@ declare const admin: {
1097
1263
  vertical?: string;
1098
1264
  price?: string | null;
1099
1265
  state?: string;
1266
+ published_at?: string | null;
1267
+ published_since?: string | null;
1100
1268
  is_visible?: boolean;
1101
1269
  summary?: {
1102
1270
  availability?: string | null;
@@ -1105,7 +1273,7 @@ declare const admin: {
1105
1273
  media?: unknown[];
1106
1274
  };
1107
1275
  }>;
1108
- unpublishListing: (params: ApiPathParams<"unpublishListing">) => Promise<{
1276
+ unpublishListing: (params: UnpublishListingPathParams) => Promise<{
1109
1277
  data?: {
1110
1278
  draft_name?: string;
1111
1279
  sku?: string;
@@ -1114,6 +1282,8 @@ declare const admin: {
1114
1282
  vertical?: string;
1115
1283
  price?: string | null;
1116
1284
  state?: string;
1285
+ published_at?: string | null;
1286
+ published_since?: string | null;
1117
1287
  is_visible?: boolean;
1118
1288
  summary?: {
1119
1289
  availability?: string | null;
@@ -1122,7 +1292,7 @@ declare const admin: {
1122
1292
  media?: unknown[];
1123
1293
  };
1124
1294
  }>;
1125
- republishListing: (params: ApiPathParams<"republishListing">) => Promise<{
1295
+ republishListing: (params: RepublishListingPathParams) => Promise<{
1126
1296
  data?: {
1127
1297
  draft_name?: string;
1128
1298
  sku?: string;
@@ -1131,6 +1301,8 @@ declare const admin: {
1131
1301
  vertical?: string;
1132
1302
  price?: string | null;
1133
1303
  state?: string;
1304
+ published_at?: string | null;
1305
+ published_since?: string | null;
1134
1306
  is_visible?: boolean;
1135
1307
  summary?: {
1136
1308
  availability?: string | null;
@@ -1139,7 +1311,7 @@ declare const admin: {
1139
1311
  media?: unknown[];
1140
1312
  };
1141
1313
  }>;
1142
- getFeatures: (payload: ApiRequest<"getFeaturesAdmin">) => Promise<{
1314
+ getFeatures: (payload: GetFeaturesAdminPayload) => Promise<{
1143
1315
  message?: string;
1144
1316
  event?: string | null;
1145
1317
  data?: {
@@ -1161,7 +1333,7 @@ declare const admin: {
1161
1333
  }[];
1162
1334
  }[];
1163
1335
  }>;
1164
- createFeature: (payload: ApiRequest<"createFeature">) => Promise<{
1336
+ createFeature: (payload: CreateFeaturePayload) => Promise<{
1165
1337
  data?: {
1166
1338
  id?: number;
1167
1339
  category_id?: number;
@@ -1172,7 +1344,7 @@ declare const admin: {
1172
1344
  is_filterable?: boolean;
1173
1345
  };
1174
1346
  }>;
1175
- updateFeature: (params: ApiPathParams<"updateFeature">, payload: ApiRequest<"updateFeature">) => Promise<{
1347
+ updateFeature: (params: UpdateFeaturePathParams, payload: UpdateFeaturePayload) => Promise<{
1176
1348
  data?: {
1177
1349
  id?: number;
1178
1350
  category_id?: number;
@@ -1183,7 +1355,7 @@ declare const admin: {
1183
1355
  is_filterable?: boolean;
1184
1356
  };
1185
1357
  }>;
1186
- toggleFeature: (params: ApiPathParams<"toggleFeature">) => Promise<{
1358
+ toggleFeature: (params: ToggleFeaturePathParams) => Promise<{
1187
1359
  data?: {
1188
1360
  id?: number;
1189
1361
  category_id?: number;
@@ -1203,7 +1375,7 @@ declare const admin: {
1203
1375
  is_active?: boolean;
1204
1376
  }[];
1205
1377
  }>;
1206
- createFeatureCategory: (payload: ApiRequest<"createFeatureCategory">) => Promise<{
1378
+ createFeatureCategory: (payload: CreateFeatureCategoryPayload) => Promise<{
1207
1379
  data?: {
1208
1380
  id?: number;
1209
1381
  name?: string;
@@ -1212,7 +1384,7 @@ declare const admin: {
1212
1384
  is_active?: boolean;
1213
1385
  };
1214
1386
  }>;
1215
- updateFeatureCategory: (params: ApiPathParams<"updateFeatureCategory">, payload: ApiRequest<"updateFeatureCategory">) => Promise<{
1387
+ updateFeatureCategory: (params: UpdateFeatureCategoryPathParams, payload: UpdateFeatureCategoryPayload) => Promise<{
1216
1388
  data?: {
1217
1389
  id?: number;
1218
1390
  name?: string;
@@ -1221,7 +1393,7 @@ declare const admin: {
1221
1393
  is_active?: boolean;
1222
1394
  };
1223
1395
  }>;
1224
- toggleFeatureCategory: (params: ApiPathParams<"toggleFeatureCategory">) => Promise<{
1396
+ toggleFeatureCategory: (params: ToggleFeatureCategoryPathParams) => Promise<{
1225
1397
  data?: {
1226
1398
  id?: number;
1227
1399
  name?: string;
@@ -1243,7 +1415,7 @@ declare const admin: {
1243
1415
  updated_at?: string;
1244
1416
  }[];
1245
1417
  }>;
1246
- createVerificationLayer: (payload: ApiRequest<"createVerificationLayer">) => Promise<{
1418
+ createVerificationLayer: (payload: CreateVerificationLayerPayload) => Promise<{
1247
1419
  data?: {
1248
1420
  id?: number;
1249
1421
  key?: string;
@@ -1256,7 +1428,7 @@ declare const admin: {
1256
1428
  updated_at?: string;
1257
1429
  };
1258
1430
  }>;
1259
- updateVerificationLayer: (params: ApiPathParams<"updateVerificationLayer">, payload: ApiRequest<"updateVerificationLayer">) => Promise<{
1431
+ updateVerificationLayer: (params: UpdateVerificationLayerPathParams, payload: UpdateVerificationLayerPayload) => Promise<{
1260
1432
  data?: {
1261
1433
  id?: number;
1262
1434
  key?: string;
@@ -1279,18 +1451,18 @@ declare const admin: {
1279
1451
  }[];
1280
1452
  }[];
1281
1453
  }>;
1282
- createVerificationFlow: (payload: ApiRequest<"createVerificationFlow">) => Promise<{
1454
+ createVerificationFlow: (payload: CreateVerificationFlowPayload) => Promise<{
1283
1455
  data?: {
1284
1456
  order?: number;
1285
1457
  is_required?: boolean;
1286
1458
  };
1287
1459
  }>;
1288
- reorderVerificationFlow: (payload: ApiRequest<"reorderVerificationFlow">) => Promise<{
1460
+ reorderVerificationFlow: (payload: ReorderVerificationFlowPayload) => Promise<{
1289
1461
  message?: string;
1290
1462
  event?: string | null;
1291
1463
  data?: string | null;
1292
1464
  }>;
1293
- getUserVerifications: (query?: Expand<ApiRequest<"getUserVerifications">>) => Promise<{
1465
+ getUserVerifications: (query?: GetUserVerificationsQuery) => Promise<{
1294
1466
  data?: {
1295
1467
  id?: number;
1296
1468
  status?: string;
@@ -1323,7 +1495,7 @@ declare const admin: {
1323
1495
  total?: number;
1324
1496
  };
1325
1497
  }>;
1326
- getUserVerificationHistory: (params: ApiPathParams<"getUserVerificationHistory">) => Promise<{
1498
+ getUserVerificationHistory: (params: GetUserVerificationHistoryPathParams) => Promise<{
1327
1499
  data?: {
1328
1500
  id?: number;
1329
1501
  status?: string;
@@ -1335,8 +1507,8 @@ declare const admin: {
1335
1507
  updated_at?: string;
1336
1508
  }[];
1337
1509
  }>;
1338
- reviewUserVerification: (params: ApiPathParams<"reviewUserVerification">, payload: ApiRequest<"reviewUserVerification">) => Promise<unknown>;
1339
- resetUserVerification: (params: ApiPathParams<"resetUserVerification">, payload: ApiRequest<"resetUserVerification">) => Promise<unknown>;
1510
+ reviewUserVerification: (params: ReviewUserVerificationPathParams, payload: ReviewUserVerificationPayload) => Promise<unknown>;
1511
+ resetUserVerification: (params: ResetUserVerificationPathParams, payload: ResetUserVerificationPayload) => Promise<unknown>;
1340
1512
  getListingComplianceSubmissions: () => Promise<{
1341
1513
  data?: {
1342
1514
  id?: number;
@@ -1413,8 +1585,8 @@ declare const admin: {
1413
1585
  total?: number;
1414
1586
  };
1415
1587
  }>;
1416
- reviewListingComplianceSubmission: (params: ApiPathParams<"reviewListingComplianceSubmission">, payload: ApiRequest<"reviewListingComplianceSubmission">) => Promise<unknown>;
1417
- reviewTenancyComplianceSubmission: (params: ApiPathParams<"reviewTenancyComplianceSubmission">, payload: ApiRequest<"reviewTenancyComplianceSubmission">) => Promise<unknown>;
1588
+ reviewListingComplianceSubmission: (params: ReviewListingComplianceSubmissionPathParams, payload: ReviewListingComplianceSubmissionPayload) => Promise<unknown>;
1589
+ reviewTenancyComplianceSubmission: (params: ReviewTenancyComplianceSubmissionPathParams, payload: ReviewTenancyComplianceSubmissionPayload) => Promise<unknown>;
1418
1590
  getPlans: () => Promise<{
1419
1591
  data?: {
1420
1592
  key?: string;
@@ -1423,7 +1595,7 @@ declare const admin: {
1423
1595
  is_active?: boolean;
1424
1596
  }[];
1425
1597
  }>;
1426
- createPlan: (payload: ApiRequest<"createPlan">) => Promise<{
1598
+ createPlan: (payload: CreatePlanPayload) => Promise<{
1427
1599
  data?: {
1428
1600
  key?: string;
1429
1601
  name?: string;
@@ -1431,7 +1603,7 @@ declare const admin: {
1431
1603
  is_active?: boolean;
1432
1604
  };
1433
1605
  }>;
1434
- updatePlan: (params: ApiPathParams<"updatePlan">, payload: ApiRequest<"updatePlan">) => Promise<{
1606
+ updatePlan: (params: UpdatePlanPathParams, payload: UpdatePlanPayload) => Promise<{
1435
1607
  data?: {
1436
1608
  key?: string;
1437
1609
  name?: string;
@@ -1439,10 +1611,10 @@ declare const admin: {
1439
1611
  is_active?: boolean;
1440
1612
  };
1441
1613
  }>;
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>;
1614
+ assignPlanToUser: (payload: AssignPlanToUserPayload) => Promise<unknown>;
1615
+ deactivateUserPlan: (params: DeactivateUserPlanPathParams, payload: DeactivateUserPlanPayload) => Promise<unknown>;
1616
+ attachPlanVerificationRequirements: (params: AttachPlanVerificationRequirementsPathParams, payload: AttachPlanVerificationRequirementsPayload) => Promise<unknown>;
1617
+ attachPlanCapabilities: (params: AttachPlanCapabilitiesPathParams, payload: AttachPlanCapabilitiesPayload) => Promise<unknown>;
1446
1618
  getPlanEntitlements: () => Promise<{
1447
1619
  data?: {
1448
1620
  key?: string;
@@ -1451,7 +1623,7 @@ declare const admin: {
1451
1623
  value_type?: string;
1452
1624
  }[];
1453
1625
  }>;
1454
- createPlanEntitlement: (payload: ApiRequest<"createPlanEntitlement">) => Promise<{
1626
+ createPlanEntitlement: (payload: CreatePlanEntitlementPayload) => Promise<{
1455
1627
  data?: {
1456
1628
  key?: string;
1457
1629
  name?: string;
@@ -1459,7 +1631,7 @@ declare const admin: {
1459
1631
  value_type?: string;
1460
1632
  };
1461
1633
  }>;
1462
- updatePlanEntitlement: (params: ApiPathParams<"updatePlanEntitlement">, payload: ApiRequest<"updatePlanEntitlement">) => Promise<{
1634
+ updatePlanEntitlement: (params: UpdatePlanEntitlementPathParams, payload: UpdatePlanEntitlementPayload) => Promise<{
1463
1635
  data?: {
1464
1636
  key?: string;
1465
1637
  name?: string;
@@ -1467,9 +1639,9 @@ declare const admin: {
1467
1639
  value_type?: string;
1468
1640
  };
1469
1641
  }>;
1470
- syncPlanEntitlements: (params: ApiPathParams<"syncPlanEntitlements">, payload: ApiRequest<"syncPlanEntitlements">) => Promise<unknown>;
1471
- viewDocument: (params: ApiPathParams<"viewDocumentAdmin">) => Promise<unknown>;
1472
- downloadDocument: (params: ApiPathParams<"downloadDocumentAdmin">) => Promise<unknown>;
1642
+ syncPlanEntitlements: (params: SyncPlanEntitlementsPathParams, payload: SyncPlanEntitlementsPayload) => Promise<unknown>;
1643
+ viewDocument: (params: ViewDocumentAdminPathParams) => Promise<unknown>;
1644
+ downloadDocument: (params: DownloadDocumentAdminPathParams) => Promise<unknown>;
1473
1645
  getCapabilities: () => Promise<{
1474
1646
  data?: {
1475
1647
  key?: string;
@@ -1477,14 +1649,14 @@ declare const admin: {
1477
1649
  description?: string;
1478
1650
  }[];
1479
1651
  }>;
1480
- createCapability: (payload: ApiRequest<"createCapability">) => Promise<{
1652
+ createCapability: (payload: CreateCapabilityPayload) => Promise<{
1481
1653
  data?: {
1482
1654
  key?: string;
1483
1655
  name?: string;
1484
1656
  description?: string;
1485
1657
  };
1486
1658
  }>;
1487
- updateCapability: (params: ApiPathParams<"updateCapability">, payload: ApiRequest<"updateCapability">) => Promise<{
1659
+ updateCapability: (params: UpdateCapabilityPathParams, payload: UpdateCapabilityPayload) => Promise<{
1488
1660
  data?: {
1489
1661
  key?: string;
1490
1662
  name?: string;
@@ -1504,7 +1676,7 @@ declare const admin: {
1504
1676
  status?: string;
1505
1677
  }[];
1506
1678
  }>;
1507
- createComplianceDefinition: (payload: ApiRequest<"createComplianceDefinition">) => Promise<{
1679
+ createComplianceDefinition: (payload: CreateComplianceDefinitionPayload) => Promise<{
1508
1680
  data?: {
1509
1681
  id?: string | null;
1510
1682
  compliance_key?: string;
@@ -1516,7 +1688,7 @@ declare const admin: {
1516
1688
  status?: string;
1517
1689
  };
1518
1690
  }>;
1519
- updateComplianceDefinition: (params: ApiPathParams<"updateComplianceDefinition">, payload: ApiRequest<"updateComplianceDefinition">) => Promise<{
1691
+ updateComplianceDefinition: (params: UpdateComplianceDefinitionPathParams, payload: UpdateComplianceDefinitionPayload) => Promise<{
1520
1692
  data?: {
1521
1693
  id?: string | null;
1522
1694
  compliance_key?: string;
@@ -1528,14 +1700,14 @@ declare const admin: {
1528
1700
  status?: string;
1529
1701
  };
1530
1702
  }>;
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<{
1703
+ syncComplianceRequirements: (params: SyncComplianceRequirementsPathParams, payload: SyncComplianceRequirementsPayload) => Promise<unknown>;
1704
+ assignGlobalCompliance: (params: AssignGlobalCompliancePathParams) => Promise<unknown>;
1705
+ assignComplianceToCategory: (params: AssignComplianceToCategoryPathParams) => Promise<unknown>;
1706
+ assignComplianceToListing: (params: AssignComplianceToListingPathParams) => Promise<unknown>;
1707
+ assignComplianceToTenancy: (params: AssignComplianceToTenancyPathParams) => Promise<unknown>;
1708
+ assignComplianceToListingVertical: (params: AssignComplianceToListingVerticalPathParams, payload: AssignComplianceToListingVerticalPayload) => Promise<unknown>;
1709
+ assignComplianceToListingType: (params: AssignComplianceToListingTypePathParams, payload: AssignComplianceToListingTypePayload) => Promise<unknown>;
1710
+ listingHistoryInspection: (params: ListingHistoryInspectionAdminPathParams, query?: ListingHistoryInspectionAdminQuery) => Promise<{
1539
1711
  message?: string;
1540
1712
  event?: string | null;
1541
1713
  data?: {
@@ -1566,7 +1738,7 @@ declare const admin: {
1566
1738
  };
1567
1739
  };
1568
1740
  }>;
1569
- scheduleInspection: (payload: ApiRequest<"scheduleInspection">) => Promise<{
1741
+ scheduleInspection: (payload: ScheduleInspectionPayload) => Promise<{
1570
1742
  data?: {
1571
1743
  uid?: string;
1572
1744
  inspection_type?: string;
@@ -1580,7 +1752,7 @@ declare const admin: {
1580
1752
  updated_at?: string;
1581
1753
  };
1582
1754
  }>;
1583
- completeInspection: (params: ApiPathParams<"completeInspection">, payload: ApiRequest<"completeInspection">) => Promise<{
1755
+ completeInspection: (params: CompleteInspectionPathParams, payload: CompleteInspectionPayload) => Promise<{
1584
1756
  data?: {
1585
1757
  uid?: string;
1586
1758
  inspection_type?: string;
@@ -1594,7 +1766,7 @@ declare const admin: {
1594
1766
  updated_at?: string;
1595
1767
  };
1596
1768
  }>;
1597
- rescheduleInspection: (params: ApiPathParams<"rescheduleInspection">, payload: ApiRequest<"rescheduleInspection">) => Promise<{
1769
+ rescheduleInspection: (params: RescheduleInspectionPathParams, payload: RescheduleInspectionPayload) => Promise<{
1598
1770
  data?: {
1599
1771
  uid?: string;
1600
1772
  inspection_type?: string;
@@ -1608,7 +1780,7 @@ declare const admin: {
1608
1780
  updated_at?: string;
1609
1781
  };
1610
1782
  }>;
1611
- cancelInspection: (params: ApiPathParams<"cancelInspection">, payload: ApiRequest<"cancelInspection">) => Promise<{
1783
+ cancelInspection: (params: CancelInspectionPathParams, payload: CancelInspectionPayload) => Promise<{
1612
1784
  data?: {
1613
1785
  uid?: string;
1614
1786
  inspection_type?: string;
@@ -1622,7 +1794,7 @@ declare const admin: {
1622
1794
  updated_at?: string;
1623
1795
  };
1624
1796
  }>;
1625
- assignMaintenanceTechnician: (params: ApiPathParams<"assignMaintenanceTechnician">, payload: ApiRequest<"assignMaintenanceTechnician">) => Promise<{
1797
+ assignMaintenanceTechnician: (params: AssignMaintenanceTechnicianPathParams, payload: AssignMaintenanceTechnicianPayload) => Promise<{
1626
1798
  data?: {
1627
1799
  uid?: string;
1628
1800
  title?: string;
@@ -1637,7 +1809,7 @@ declare const admin: {
1637
1809
  updated_at?: string;
1638
1810
  };
1639
1811
  }>;
1640
- startMaintenanceRepair: (params: ApiPathParams<"startMaintenanceRepair">, payload: ApiRequest<"startMaintenanceRepair">) => Promise<{
1812
+ startMaintenanceRepair: (params: StartMaintenanceRepairPathParams, payload: StartMaintenanceRepairPayload) => Promise<{
1641
1813
  data?: {
1642
1814
  uid?: string;
1643
1815
  title?: string;
@@ -1652,7 +1824,7 @@ declare const admin: {
1652
1824
  updated_at?: string;
1653
1825
  };
1654
1826
  }>;
1655
- completeMaintenanceRepair: (params: ApiPathParams<"completeMaintenanceRepair">, payload: ApiRequest<"completeMaintenanceRepair">) => Promise<{
1827
+ completeMaintenanceRepair: (params: CompleteMaintenanceRepairPathParams, payload: CompleteMaintenanceRepairPayload) => Promise<{
1656
1828
  data?: {
1657
1829
  uid?: string;
1658
1830
  title?: string;
@@ -1667,7 +1839,7 @@ declare const admin: {
1667
1839
  updated_at?: string;
1668
1840
  };
1669
1841
  }>;
1670
- cancelMaintenanceRequest: (params: ApiPathParams<"cancelMaintenanceRequest">, payload: ApiRequest<"cancelMaintenanceRequest">) => Promise<{
1842
+ cancelMaintenanceRequest: (params: CancelMaintenanceRequestPathParams, payload: CancelMaintenanceRequestPayload) => Promise<{
1671
1843
  data?: {
1672
1844
  uid?: string;
1673
1845
  title?: string;
@@ -1682,7 +1854,7 @@ declare const admin: {
1682
1854
  updated_at?: string;
1683
1855
  };
1684
1856
  }>;
1685
- fetchTenancyList: (query?: Expand<ApiRequest<"fetchTenancyListAdmin">>) => Promise<{
1857
+ fetchTenancyList: (query?: FetchTenancyListAdminQuery) => Promise<{
1686
1858
  message?: string;
1687
1859
  event?: string | null;
1688
1860
  data?: {
@@ -1727,7 +1899,7 @@ declare const admin: {
1727
1899
  };
1728
1900
  };
1729
1901
  }>;
1730
- fetchTenancyComplianceDocuments: (params: ApiPathParams<"fetchTenancyComplianceDocumentsAdmin">, query?: Expand<ApiRequest<"fetchTenancyComplianceDocumentsAdmin">>) => Promise<{
1902
+ fetchTenancyComplianceDocuments: (params: FetchTenancyComplianceDocumentsAdminPathParams, query?: FetchTenancyComplianceDocumentsAdminQuery) => Promise<{
1731
1903
  message?: string;
1732
1904
  event?: string | null;
1733
1905
  data?: {
@@ -1750,8 +1922,14 @@ declare const admin: {
1750
1922
  }>;
1751
1923
  };
1752
1924
 
1925
+ type CreateAppointmentPayload = ApiRequest<'createAppointment'>;
1926
+ type FetchOneAppointmentPathParams = ApiPathParams<'fetchOneAppointment'>;
1927
+ type RescheduleAppointmentPathParams = ApiPathParams<'rescheduleAppointment'>;
1928
+ type RescheduleAppointmentPayload = ApiRequest<'rescheduleAppointment'>;
1929
+ type CancelAppointmentPathParams = ApiPathParams<'cancelAppointment'>;
1930
+ type ConfirmAppointmentPathParams = ApiPathParams<'confirmAppointment'>;
1753
1931
  declare const appointment: {
1754
- create: (payload: ApiRequest<"createAppointment">) => Promise<{
1932
+ create: (payload: CreateAppointmentPayload) => Promise<{
1755
1933
  data?: {
1756
1934
  id?: number;
1757
1935
  listing_id?: number;
@@ -1763,7 +1941,7 @@ declare const appointment: {
1763
1941
  created_at?: string;
1764
1942
  };
1765
1943
  }>;
1766
- fetchOne: (params: ApiPathParams<"fetchOneAppointment">) => Promise<{
1944
+ fetchOne: (params: FetchOneAppointmentPathParams) => Promise<{
1767
1945
  data?: {
1768
1946
  id?: number;
1769
1947
  listing_id?: number;
@@ -1808,7 +1986,7 @@ declare const appointment: {
1808
1986
  total?: number;
1809
1987
  };
1810
1988
  }>;
1811
- reschedule: (params: ApiPathParams<"rescheduleAppointment">, payload: ApiRequest<"rescheduleAppointment">) => Promise<{
1989
+ reschedule: (params: RescheduleAppointmentPathParams, payload: RescheduleAppointmentPayload) => Promise<{
1812
1990
  data?: {
1813
1991
  id?: number;
1814
1992
  listing_id?: number;
@@ -1820,7 +1998,7 @@ declare const appointment: {
1820
1998
  created_at?: string;
1821
1999
  };
1822
2000
  }>;
1823
- cancel: (params: ApiPathParams<"cancelAppointment">) => Promise<{
2001
+ cancel: (params: CancelAppointmentPathParams) => Promise<{
1824
2002
  data?: {
1825
2003
  id?: number;
1826
2004
  listing_id?: number;
@@ -1832,7 +2010,7 @@ declare const appointment: {
1832
2010
  created_at?: string;
1833
2011
  };
1834
2012
  }>;
1835
- confirm: (params: ApiPathParams<"confirmAppointment">) => Promise<{
2013
+ confirm: (params: ConfirmAppointmentPathParams) => Promise<{
1836
2014
  data?: {
1837
2015
  id?: number;
1838
2016
  listing_id?: number;
@@ -1846,8 +2024,14 @@ declare const appointment: {
1846
2024
  }>;
1847
2025
  };
1848
2026
 
2027
+ type LoginUserPayload = ApiRequest<'loginUser'>;
2028
+ type SendResetPasswordOTPPayload = ApiRequest<'sendResetPasswordOTP'>;
2029
+ type VerifyPasswordResetOTPPayload = ApiRequest<'verifyPasswordResetOTP'>;
2030
+ type ResetPasswordPayload = ApiRequest<'resetPassword'>;
2031
+ type GenerateOTPPayload = ApiRequest<'generateOTP'>;
2032
+ type VerifyOTPPayload = ApiRequest<'verifyOTP'>;
1849
2033
  declare const auth: {
1850
- loginUser: (payload: ApiRequest<"loginUser">) => Promise<{
2034
+ loginUser: (payload: LoginUserPayload) => Promise<{
1851
2035
  message?: string;
1852
2036
  event?: string | null;
1853
2037
  data?: {
@@ -1861,29 +2045,29 @@ declare const auth: {
1861
2045
  event?: string | null;
1862
2046
  data?: string | null;
1863
2047
  }>;
1864
- sendResetPasswordOTP: (payload: ApiRequest<"sendResetPasswordOTP">) => Promise<{
2048
+ sendResetPasswordOTP: (payload: SendResetPasswordOTPPayload) => Promise<{
1865
2049
  message?: string;
1866
2050
  event?: string | null;
1867
2051
  data?: string | null;
1868
2052
  }>;
1869
- verifyPasswordResetOTP: (payload: ApiRequest<"verifyPasswordResetOTP">) => Promise<{
2053
+ verifyPasswordResetOTP: (payload: VerifyPasswordResetOTPPayload) => Promise<{
1870
2054
  message?: string;
1871
2055
  event?: string | null;
1872
2056
  data?: {
1873
2057
  reset_token?: string;
1874
2058
  };
1875
2059
  }>;
1876
- resetPassword: (payload: ApiRequest<"resetPassword">) => Promise<{
2060
+ resetPassword: (payload: ResetPasswordPayload) => Promise<{
1877
2061
  message?: string;
1878
2062
  event?: string | null;
1879
2063
  data?: string | null;
1880
2064
  }>;
1881
- generateOTP: (payload: ApiRequest<"generateOTP">) => Promise<{
2065
+ generateOTP: (payload: GenerateOTPPayload) => Promise<{
1882
2066
  message?: string;
1883
2067
  event?: string | null;
1884
2068
  data?: string | null;
1885
2069
  }>;
1886
- verifyOTP: (payload: ApiRequest<"verifyOTP">) => Promise<{
2070
+ verifyOTP: (payload: VerifyOTPPayload) => Promise<{
1887
2071
  message?: string;
1888
2072
  event?: string | null;
1889
2073
  data?: string | null;
@@ -1897,8 +2081,12 @@ declare const auth: {
1897
2081
  }>;
1898
2082
  };
1899
2083
 
2084
+ type CreateBookingPayload = ApiRequest<'createBooking'>;
2085
+ type ConfirmBookingPathParams = ApiPathParams<'confirmBooking'>;
2086
+ type CancelBookingPathParams = ApiPathParams<'cancelBooking'>;
2087
+ type GetBookingPathParams = ApiPathParams<'getBooking'>;
1900
2088
  declare const booking: {
1901
- create: (payload: ApiRequest<"createBooking">) => Promise<{
2089
+ create: (payload: CreateBookingPayload) => Promise<{
1902
2090
  message?: string;
1903
2091
  event?: string | null;
1904
2092
  data?: {
@@ -1914,7 +2102,7 @@ declare const booking: {
1914
2102
  created_at?: string | null;
1915
2103
  };
1916
2104
  }>;
1917
- confirm: (params: ApiPathParams<"confirmBooking">) => Promise<{
2105
+ confirm: (params: ConfirmBookingPathParams) => Promise<{
1918
2106
  message?: string;
1919
2107
  event?: string | null;
1920
2108
  data?: {
@@ -1930,7 +2118,7 @@ declare const booking: {
1930
2118
  created_at?: string | null;
1931
2119
  };
1932
2120
  }>;
1933
- cancel: (params: ApiPathParams<"cancelBooking">) => Promise<{
2121
+ cancel: (params: CancelBookingPathParams) => Promise<{
1934
2122
  message?: string;
1935
2123
  event?: string | null;
1936
2124
  data?: {
@@ -1946,7 +2134,7 @@ declare const booking: {
1946
2134
  created_at?: string | null;
1947
2135
  };
1948
2136
  }>;
1949
- get: (params: ApiPathParams<"getBooking">) => Promise<{
2137
+ get: (params: GetBookingPathParams) => Promise<{
1950
2138
  message?: string;
1951
2139
  event?: string | null;
1952
2140
  data?: {
@@ -1964,14 +2152,17 @@ declare const booking: {
1964
2152
  }>;
1965
2153
  };
1966
2154
 
2155
+ type PostApiV1PortalTenantCreatePayload = ApiRequest<'postApiV1PortalTenantCreate'>;
2156
+ type PostApiV1PortalTenantVerifyOtpPayload = ApiRequest<'postApiV1PortalTenantVerifyOtp'>;
2157
+ type UpdateTenantProfilePayload = ApiRequest<'updateTenantProfile'>;
1967
2158
  declare const tenant: {
1968
2159
  getApiV1PortalTenantTest: () => Promise<{
1969
2160
  message?: string;
1970
2161
  }>;
1971
- postApiV1PortalTenantCreate: (payload: ApiRequest<"postApiV1PortalTenantCreate">) => Promise<unknown>;
2162
+ postApiV1PortalTenantCreate: (payload: PostApiV1PortalTenantCreatePayload) => Promise<unknown>;
1972
2163
  postApiV1PortalTenantCreateWithGithub: () => Promise<unknown>;
1973
2164
  postApiV1PortalTenantSendOtp: () => Promise<unknown>;
1974
- postApiV1PortalTenantVerifyOtp: (payload: ApiRequest<"postApiV1PortalTenantVerifyOtp">) => Promise<unknown>;
2165
+ postApiV1PortalTenantVerifyOtp: (payload: PostApiV1PortalTenantVerifyOtpPayload) => Promise<unknown>;
1975
2166
  fetchTenantProfile: () => Promise<{
1976
2167
  message?: string;
1977
2168
  event?: string | null;
@@ -1999,7 +2190,7 @@ declare const tenant: {
1999
2190
  };
2000
2191
  };
2001
2192
  }>;
2002
- updateTenantProfile: (payload: ApiRequest<"updateTenantProfile">) => Promise<{
2193
+ updateTenantProfile: (payload: UpdateTenantProfilePayload) => Promise<{
2003
2194
  data?: {
2004
2195
  uid?: string;
2005
2196
  username?: string;
@@ -2031,14 +2222,16 @@ declare const tenant: {
2031
2222
  }>;
2032
2223
  };
2033
2224
 
2225
+ type PostApiV1PortalCustomerCreatePayload = ApiRequest<'postApiV1PortalCustomerCreate'>;
2226
+ type PostApiV1PortalCustomerVerifyOtpPayload = ApiRequest<'postApiV1PortalCustomerVerifyOtp'>;
2034
2227
  declare const customer: {
2035
2228
  getApiV1PortalCustomerTest: () => Promise<{
2036
2229
  message?: string;
2037
2230
  }>;
2038
- postApiV1PortalCustomerCreate: (payload: ApiRequest<"postApiV1PortalCustomerCreate">) => Promise<unknown>;
2231
+ postApiV1PortalCustomerCreate: (payload: PostApiV1PortalCustomerCreatePayload) => Promise<unknown>;
2039
2232
  postApiV1PortalCustomerCreateWithGithub: () => Promise<unknown>;
2040
2233
  postApiV1PortalCustomerSendOtp: () => Promise<unknown>;
2041
- postApiV1PortalCustomerVerifyOtp: (payload: ApiRequest<"postApiV1PortalCustomerVerifyOtp">) => Promise<unknown>;
2234
+ postApiV1PortalCustomerVerifyOtp: (payload: PostApiV1PortalCustomerVerifyOtpPayload) => Promise<unknown>;
2042
2235
  };
2043
2236
 
2044
2237
  declare const google: {
@@ -2051,8 +2244,9 @@ declare const github: {
2051
2244
  getApiV1SocialAuthGithubCallback: () => Promise<unknown>;
2052
2245
  };
2053
2246
 
2247
+ type GetFeatureQuery = Expand<ApiQuery<'getFeature'>>;
2054
2248
  declare const feature: {
2055
- get: (query?: Expand<ApiRequest<"getFeature">>) => Promise<{
2249
+ get: (query?: GetFeatureQuery) => Promise<{
2056
2250
  message?: string;
2057
2251
  event?: string | null;
2058
2252
  data?: {
@@ -2076,8 +2270,10 @@ declare const feature: {
2076
2270
  }>;
2077
2271
  };
2078
2272
 
2273
+ type ListingHistoryInspectionPathParams = ApiPathParams<'listingHistoryInspection'>;
2274
+ type ListingHistoryInspectionQuery = Expand<ApiQuery<'listingHistoryInspection'>>;
2079
2275
  declare const inspection: {
2080
- listingHistory: (params: ApiPathParams<"listingHistoryInspection">, query?: Expand<ApiRequest<"listingHistoryInspection">>) => Promise<{
2276
+ listingHistory: (params: ListingHistoryInspectionPathParams, query?: ListingHistoryInspectionQuery) => Promise<{
2081
2277
  message?: string;
2082
2278
  event?: string | null;
2083
2279
  data?: {
@@ -2110,8 +2306,48 @@ declare const inspection: {
2110
2306
  }>;
2111
2307
  };
2112
2308
 
2309
+ type NewLandlordPayload = ApiRequest<'newLandlord'>;
2310
+ type BasicLoginLandlordPayload = ApiRequest<'basicLoginLandlord'>;
2311
+ type UpdateProfilePayload = ApiRequest<'updateProfile'>;
2312
+ type CreateListingDraftPayload = ApiRequest<'createListingDraft'>;
2313
+ type UpdateDraftNamePathParams = ApiPathParams<'updateDraftName'>;
2314
+ type UpdateDraftNamePayload = ApiRequest<'updateDraftName'>;
2315
+ type GetOwnerListingPathParams = ApiPathParams<'getOwnerListing'>;
2316
+ type SaveListingDetailsPathParams = ApiPathParams<'saveListingDetails'>;
2317
+ type SaveListingDetailsPayload = ApiRequest<'saveListingDetails'>;
2318
+ type SavePropertyBasicsPathParams = ApiPathParams<'savePropertyBasics'>;
2319
+ type SavePropertyBasicsPayload = ApiRequest<'savePropertyBasics'>;
2320
+ type SavePricingPathParams = ApiPathParams<'savePricing'>;
2321
+ type SavePricingPayload = ApiRequest<'savePricing'>;
2322
+ type SaveRentalDetailsPathParams = ApiPathParams<'saveRentalDetails'>;
2323
+ type SaveRentalDetailsPayload = ApiRequest<'saveRentalDetails'>;
2324
+ type SaveShortLetDetailsPathParams = ApiPathParams<'saveShortLetDetails'>;
2325
+ type SaveShortLetDetailsPayload = ApiRequest<'saveShortLetDetails'>;
2326
+ type SaveUsedItemDetailsPathParams = ApiPathParams<'saveUsedItemDetails'>;
2327
+ type SaveUsedItemDetailsPayload = ApiRequest<'saveUsedItemDetails'>;
2328
+ type SaveListingFeaturesPathParams = ApiPathParams<'saveListingFeatures'>;
2329
+ type SaveListingFeaturesPayload = ApiRequest<'saveListingFeatures'>;
2330
+ type SaveTenantPreferencesPathParams = ApiPathParams<'saveTenantPreferences'>;
2331
+ type SaveTenantPreferencesPayload = ApiRequest<'saveTenantPreferences'>;
2332
+ type SaveViewingAvailabilityPathParams = ApiPathParams<'saveViewingAvailability'>;
2333
+ type SaveViewingAvailabilityPayload = ApiRequest<'saveViewingAvailability'>;
2334
+ type UploadListingMediaPathParams = ApiPathParams<'uploadListingMedia'>;
2335
+ type UploadListingMediaFormData = FormData;
2336
+ type ReorderListingMediaPathParams = ApiPathParams<'reorderListingMedia'>;
2337
+ type ReorderListingMediaPayload = ApiRequest<'reorderListingMedia'>;
2338
+ type SetListingCoverMediaPathParams = ApiPathParams<'setListingCoverMedia'>;
2339
+ type DeleteListingMediaPathParams = ApiPathParams<'deleteListingMedia'>;
2340
+ type SubmitListingPathParams = ApiPathParams<'submitListing'>;
2341
+ type GetListingCompliancePathParams = ApiPathParams<'getListingCompliance'>;
2342
+ type SubmitListingCompliancePathParams = ApiPathParams<'submitListingCompliance'>;
2343
+ type SubmitListingCompliancePayload = ApiRequest<'submitListingCompliance'>;
2344
+ type ResolveListingCompliancePathParams = ApiPathParams<'resolveListingCompliance'>;
2345
+ type GetLandlordListingTenanciesPathParams = ApiPathParams<'getLandlordListingTenancies'>;
2346
+ type SubmitTenancyCompliancePathParams = ApiPathParams<'submitTenancyCompliance'>;
2347
+ type SubmitTenancyCompliancePayload = ApiRequest<'submitTenancyCompliance'>;
2348
+ type ResolveTenancyCompliancePathParams = ApiPathParams<'resolveTenancyCompliance'>;
2113
2349
  declare const landlord: {
2114
- new: (payload: ApiRequest<"newLandlord">) => Promise<{
2350
+ new: (payload: NewLandlordPayload) => Promise<{
2115
2351
  data?: {
2116
2352
  uid?: string;
2117
2353
  username?: string;
@@ -2159,7 +2395,7 @@ declare const landlord: {
2159
2395
  prefers_sms_contact?: string | null;
2160
2396
  };
2161
2397
  }>;
2162
- basicLogin: (payload: ApiRequest<"basicLoginLandlord">) => Promise<{
2398
+ basicLogin: (payload: BasicLoginLandlordPayload) => Promise<{
2163
2399
  message?: string;
2164
2400
  event?: string | null;
2165
2401
  data?: {
@@ -2263,7 +2499,7 @@ declare const landlord: {
2263
2499
  prefers_sms_contact?: string | null;
2264
2500
  };
2265
2501
  }>;
2266
- updateProfile: (payload: ApiRequest<"updateProfile">) => Promise<{
2502
+ updateProfile: (payload: UpdateProfilePayload) => Promise<{
2267
2503
  data?: {
2268
2504
  uid?: string;
2269
2505
  username?: string;
@@ -2311,7 +2547,7 @@ declare const landlord: {
2311
2547
  prefers_sms_contact?: string | null;
2312
2548
  };
2313
2549
  }>;
2314
- createListingDraft: (payload: ApiRequest<"createListingDraft">) => Promise<{
2550
+ createListingDraft: (payload: CreateListingDraftPayload) => Promise<{
2315
2551
  data?: {
2316
2552
  draft_name?: string;
2317
2553
  sku?: string;
@@ -2320,6 +2556,8 @@ declare const landlord: {
2320
2556
  vertical?: string;
2321
2557
  price?: string | null;
2322
2558
  state?: string;
2559
+ published_at?: string | null;
2560
+ published_since?: string | null;
2323
2561
  is_visible?: boolean;
2324
2562
  summary?: {
2325
2563
  availability?: string | null;
@@ -2328,7 +2566,7 @@ declare const landlord: {
2328
2566
  media?: unknown[];
2329
2567
  };
2330
2568
  }>;
2331
- updateDraftName: (params: ApiPathParams<"updateDraftName">, payload: ApiRequest<"updateDraftName">) => Promise<{
2569
+ updateDraftName: (params: UpdateDraftNamePathParams, payload: UpdateDraftNamePayload) => Promise<{
2332
2570
  message?: string;
2333
2571
  event?: string | null;
2334
2572
  data?: unknown[];
@@ -2342,6 +2580,8 @@ declare const landlord: {
2342
2580
  vertical?: string;
2343
2581
  price?: string | null;
2344
2582
  state?: string;
2583
+ published_at?: string | null;
2584
+ published_since?: string | null;
2345
2585
  is_visible?: boolean;
2346
2586
  summary?: {
2347
2587
  availability?: string | null;
@@ -2380,6 +2620,8 @@ declare const landlord: {
2380
2620
  vertical?: string;
2381
2621
  price?: string | null;
2382
2622
  state?: string;
2623
+ published_at?: string | null;
2624
+ published_since?: string | null;
2383
2625
  is_visible?: boolean;
2384
2626
  summary?: {
2385
2627
  availability?: string | null;
@@ -2418,6 +2660,8 @@ declare const landlord: {
2418
2660
  vertical?: string;
2419
2661
  price?: string | null;
2420
2662
  state?: string;
2663
+ published_at?: string | null;
2664
+ published_since?: string | null;
2421
2665
  is_visible?: boolean;
2422
2666
  summary?: {
2423
2667
  availability?: string | null;
@@ -2447,7 +2691,7 @@ declare const landlord: {
2447
2691
  total?: number;
2448
2692
  };
2449
2693
  }>;
2450
- getOwnerListing: (params: ApiPathParams<"getOwnerListing">) => Promise<{
2694
+ getOwnerListing: (params: GetOwnerListingPathParams) => Promise<{
2451
2695
  data?: {
2452
2696
  draft_name?: string;
2453
2697
  sku?: string;
@@ -2456,6 +2700,8 @@ declare const landlord: {
2456
2700
  vertical?: string;
2457
2701
  price?: string | null;
2458
2702
  state?: string;
2703
+ published_at?: string | null;
2704
+ published_since?: string | null;
2459
2705
  is_visible?: boolean;
2460
2706
  summary?: {
2461
2707
  availability?: string | null;
@@ -2469,52 +2715,52 @@ declare const landlord: {
2469
2715
  };
2470
2716
  };
2471
2717
  }>;
2472
- saveListingDetails: (params: ApiPathParams<"saveListingDetails">, payload: ApiRequest<"saveListingDetails">) => Promise<{
2718
+ saveListingDetails: (params: SaveListingDetailsPathParams, payload: SaveListingDetailsPayload) => Promise<{
2473
2719
  message?: string;
2474
2720
  event?: string;
2475
2721
  data?: unknown[];
2476
2722
  }>;
2477
- savePropertyBasics: (params: ApiPathParams<"savePropertyBasics">, payload: ApiRequest<"savePropertyBasics">) => Promise<{
2723
+ savePropertyBasics: (params: SavePropertyBasicsPathParams, payload: SavePropertyBasicsPayload) => Promise<{
2478
2724
  message?: string;
2479
2725
  event?: string;
2480
2726
  data?: unknown[];
2481
2727
  }>;
2482
- savePricing: (params: ApiPathParams<"savePricing">, payload: ApiRequest<"savePricing">) => Promise<{
2728
+ savePricing: (params: SavePricingPathParams, payload: SavePricingPayload) => Promise<{
2483
2729
  message?: string;
2484
2730
  event?: string;
2485
2731
  data?: unknown[];
2486
2732
  }>;
2487
- saveRentalDetails: (params: ApiPathParams<"saveRentalDetails">, payload: ApiRequest<"saveRentalDetails">) => Promise<{
2733
+ saveRentalDetails: (params: SaveRentalDetailsPathParams, payload: SaveRentalDetailsPayload) => Promise<{
2488
2734
  message?: string;
2489
2735
  event?: string;
2490
2736
  data?: unknown[];
2491
2737
  }>;
2492
- saveShortLetDetails: (params: ApiPathParams<"saveShortLetDetails">, payload: ApiRequest<"saveShortLetDetails">) => Promise<{
2738
+ saveShortLetDetails: (params: SaveShortLetDetailsPathParams, payload: SaveShortLetDetailsPayload) => Promise<{
2493
2739
  message?: string;
2494
2740
  event?: string;
2495
2741
  data?: unknown[];
2496
2742
  }>;
2497
- saveUsedItemDetails: (params: ApiPathParams<"saveUsedItemDetails">, payload: ApiRequest<"saveUsedItemDetails">) => Promise<{
2743
+ saveUsedItemDetails: (params: SaveUsedItemDetailsPathParams, payload: SaveUsedItemDetailsPayload) => Promise<{
2498
2744
  message?: string;
2499
2745
  event?: string;
2500
2746
  data?: unknown[];
2501
2747
  }>;
2502
- saveListingFeatures: (params: ApiPathParams<"saveListingFeatures">, payload: ApiRequest<"saveListingFeatures">) => Promise<{
2748
+ saveListingFeatures: (params: SaveListingFeaturesPathParams, payload: SaveListingFeaturesPayload) => Promise<{
2503
2749
  message?: string;
2504
2750
  event?: string;
2505
2751
  data?: unknown[];
2506
2752
  }>;
2507
- saveTenantPreferences: (params: ApiPathParams<"saveTenantPreferences">, payload: ApiRequest<"saveTenantPreferences">) => Promise<{
2753
+ saveTenantPreferences: (params: SaveTenantPreferencesPathParams, payload: SaveTenantPreferencesPayload) => Promise<{
2508
2754
  message?: string;
2509
2755
  event?: string;
2510
2756
  data?: unknown[];
2511
2757
  }>;
2512
- saveViewingAvailability: (params: ApiPathParams<"saveViewingAvailability">, payload: ApiRequest<"saveViewingAvailability">) => Promise<{
2758
+ saveViewingAvailability: (params: SaveViewingAvailabilityPathParams, payload: SaveViewingAvailabilityPayload) => Promise<{
2513
2759
  message?: string;
2514
2760
  event?: string;
2515
2761
  data?: unknown[];
2516
2762
  }>;
2517
- uploadListingMedia: (params: ApiPathParams<"uploadListingMedia">, formData: FormData) => Promise<{
2763
+ uploadListingMedia: (params: UploadListingMediaPathParams, formData: UploadListingMediaFormData) => Promise<{
2518
2764
  data?: {
2519
2765
  uid?: string;
2520
2766
  media_type?: string;
@@ -2531,21 +2777,21 @@ declare const landlord: {
2531
2777
  url?: string;
2532
2778
  };
2533
2779
  }>;
2534
- reorderListingMedia: (params: ApiPathParams<"reorderListingMedia">, payload: ApiRequest<"reorderListingMedia">) => Promise<{
2780
+ reorderListingMedia: (params: ReorderListingMediaPathParams, payload: ReorderListingMediaPayload) => Promise<{
2535
2781
  message?: string;
2536
2782
  event?: string;
2537
2783
  data?: unknown[];
2538
2784
  }>;
2539
- setListingCoverMedia: (params: ApiPathParams<"setListingCoverMedia">) => Promise<{
2785
+ setListingCoverMedia: (params: SetListingCoverMediaPathParams) => Promise<{
2540
2786
  message?: string;
2541
2787
  event?: string;
2542
2788
  data?: unknown[];
2543
2789
  }>;
2544
- deleteListingMedia: (params: ApiPathParams<"deleteListingMedia">) => Promise<{
2790
+ deleteListingMedia: (params: DeleteListingMediaPathParams) => Promise<{
2545
2791
  message?: string;
2546
2792
  data?: unknown[];
2547
2793
  }>;
2548
- submitListing: (params: ApiPathParams<"submitListing">) => Promise<{
2794
+ submitListing: (params: SubmitListingPathParams) => Promise<{
2549
2795
  data?: {
2550
2796
  draft_name?: string;
2551
2797
  sku?: string;
@@ -2554,6 +2800,8 @@ declare const landlord: {
2554
2800
  vertical?: string;
2555
2801
  price?: string | null;
2556
2802
  state?: string;
2803
+ published_at?: string | null;
2804
+ published_since?: string | null;
2557
2805
  is_visible?: boolean;
2558
2806
  summary?: {
2559
2807
  availability?: string | null;
@@ -2596,13 +2844,13 @@ declare const landlord: {
2596
2844
  };
2597
2845
  }[];
2598
2846
  }>;
2599
- getListingCompliance: (params: ApiPathParams<"getListingCompliance">) => Promise<{
2847
+ getListingCompliance: (params: GetListingCompliancePathParams) => Promise<{
2600
2848
  data?: {
2601
2849
  uid?: string;
2602
2850
  compliances?: string | null;
2603
2851
  };
2604
2852
  }>;
2605
- submitListingCompliance: (params: ApiPathParams<"submitListingCompliance">, payload: ApiRequest<"submitListingCompliance">) => Promise<{
2853
+ submitListingCompliance: (params: SubmitListingCompliancePathParams, payload: SubmitListingCompliancePayload) => Promise<{
2606
2854
  data?: {
2607
2855
  id?: number;
2608
2856
  compliance?: {
@@ -2619,7 +2867,7 @@ declare const landlord: {
2619
2867
  created_at?: string;
2620
2868
  };
2621
2869
  }>;
2622
- resolveListingCompliance: (params: ApiPathParams<"resolveListingCompliance">) => Promise<{
2870
+ resolveListingCompliance: (params: ResolveListingCompliancePathParams) => Promise<{
2623
2871
  data?: {
2624
2872
  uid?: string | null;
2625
2873
  compliances?: string | null;
@@ -2661,7 +2909,7 @@ declare const landlord: {
2661
2909
  total?: number;
2662
2910
  };
2663
2911
  }>;
2664
- getLandlordListingTenancies: (params: ApiPathParams<"getLandlordListingTenancies">) => Promise<{
2912
+ getLandlordListingTenancies: (params: GetLandlordListingTenanciesPathParams) => Promise<{
2665
2913
  data?: {
2666
2914
  uid?: string;
2667
2915
  listing_id?: number;
@@ -2697,7 +2945,7 @@ declare const landlord: {
2697
2945
  total?: number;
2698
2946
  };
2699
2947
  }>;
2700
- submitTenancyCompliance: (params: ApiPathParams<"submitTenancyCompliance">, payload: ApiRequest<"submitTenancyCompliance">) => Promise<{
2948
+ submitTenancyCompliance: (params: SubmitTenancyCompliancePathParams, payload: SubmitTenancyCompliancePayload) => Promise<{
2701
2949
  data?: {
2702
2950
  id?: number;
2703
2951
  compliance?: {
@@ -2714,7 +2962,7 @@ declare const landlord: {
2714
2962
  created_at?: string;
2715
2963
  };
2716
2964
  }>;
2717
- resolveTenancyCompliance: (params: ApiPathParams<"resolveTenancyCompliance">) => Promise<{
2965
+ resolveTenancyCompliance: (params: ResolveTenancyCompliancePathParams) => Promise<{
2718
2966
  data?: {
2719
2967
  id?: number;
2720
2968
  compliance?: {
@@ -2733,82 +2981,136 @@ declare const landlord: {
2733
2981
  }>;
2734
2982
  };
2735
2983
 
2984
+ type SearchListingsQuery = Expand<ApiQuery<'searchListings'>>;
2985
+ type DiscoverListingsQuery = Expand<ApiQuery<'discoverListings'>>;
2986
+ type FetchOnePathParams = ApiPathParams<'fetchOne'>;
2987
+ type FetchListingMediaPublicPathParams = ApiPathParams<'fetchListingMediaPublic'>;
2736
2988
  declare const listings: {
2737
- search: (query?: Expand<ApiRequest<"searchListings">>) => Promise<{
2989
+ search: (query?: SearchListingsQuery) => Promise<{
2990
+ message?: string;
2991
+ event?: string | null;
2738
2992
  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?: {
2748
- availability?: string | null;
2749
- };
2750
- workflow?: unknown[];
2751
- media?: unknown[];
2752
- }[];
2753
- links?: {
2754
- first?: string;
2755
- last?: string;
2756
- prev?: string | null;
2757
- next?: string | null;
2758
- };
2759
- meta?: {
2760
- current_page?: number;
2761
- from?: number;
2762
- last_page?: number;
2763
- links?: {
2764
- url?: string | null;
2765
- label?: string;
2766
- page?: string | null;
2767
- active?: boolean;
2993
+ items?: {
2994
+ draft_name?: string | null;
2995
+ sku?: string;
2996
+ uid?: string;
2997
+ details?: {
2998
+ title?: string;
2999
+ description?: string;
3000
+ city?: string;
3001
+ address?: string;
3002
+ postcode?: string;
3003
+ longitude?: string;
3004
+ latitude?: string;
3005
+ country?: string;
3006
+ };
3007
+ listing_type?: string;
3008
+ vertical?: string;
3009
+ price?: {
3010
+ amount?: string;
3011
+ currency?: string;
3012
+ period?: string;
3013
+ };
3014
+ state?: string;
3015
+ published_at?: string;
3016
+ published_since?: string;
3017
+ is_visible?: boolean;
3018
+ summary?: {
3019
+ property_type?: string;
3020
+ bedrooms?: number;
3021
+ bathrooms?: number;
3022
+ size?: string;
3023
+ availability?: string | null;
3024
+ };
3025
+ workflow?: {
3026
+ current_step?: string | null;
3027
+ can_submit?: boolean;
3028
+ missing_requirements?: unknown[];
3029
+ next_step?: string | null;
3030
+ progress?: {
3031
+ completed?: number;
3032
+ total?: number;
3033
+ percentage?: number;
3034
+ };
3035
+ };
3036
+ media?: {
3037
+ cover?: string;
3038
+ count?: number;
3039
+ };
2768
3040
  }[];
2769
- path?: string;
2770
- per_page?: number;
2771
- to?: number;
2772
- total?: number;
3041
+ pagination?: {
3042
+ current_page?: number;
3043
+ per_page?: number;
3044
+ total?: number;
3045
+ last_page?: number;
3046
+ from?: number;
3047
+ to?: number;
3048
+ };
2773
3049
  };
2774
3050
  }>;
2775
- discover: (query?: Expand<ApiRequest<"discoverListings">>) => Promise<{
3051
+ discover: (query?: DiscoverListingsQuery) => Promise<{
3052
+ message?: string;
3053
+ event?: string | null;
2776
3054
  data?: {
2777
- draft_name?: string;
2778
- sku?: string;
2779
- uid?: string;
2780
- listing_type?: string;
2781
- vertical?: string;
2782
- price?: string | null;
2783
- state?: string;
2784
- is_visible?: boolean;
2785
- summary?: unknown[];
2786
- workflow?: unknown[];
2787
- media?: unknown[];
2788
- }[];
2789
- links?: {
2790
- first?: string;
2791
- last?: string;
2792
- prev?: string | null;
2793
- next?: string | null;
2794
- };
2795
- meta?: {
2796
- current_page?: number;
2797
- from?: number;
2798
- last_page?: number;
2799
- links?: {
2800
- url?: string | null;
2801
- label?: string;
2802
- page?: string | null;
2803
- active?: boolean;
3055
+ items?: {
3056
+ draft_name?: string | null;
3057
+ sku?: string;
3058
+ uid?: string;
3059
+ details?: {
3060
+ title?: string;
3061
+ description?: string;
3062
+ city?: string;
3063
+ address?: string;
3064
+ postcode?: string;
3065
+ longitude?: string;
3066
+ latitude?: string;
3067
+ country?: string;
3068
+ };
3069
+ listing_type?: string;
3070
+ vertical?: string;
3071
+ price?: {
3072
+ amount?: string;
3073
+ currency?: string;
3074
+ period?: string;
3075
+ };
3076
+ state?: string;
3077
+ published_at?: string;
3078
+ published_since?: string;
3079
+ is_visible?: boolean;
3080
+ summary?: {
3081
+ property_type?: string;
3082
+ bedrooms?: number;
3083
+ bathrooms?: number;
3084
+ size?: string;
3085
+ availability?: string | null;
3086
+ };
3087
+ workflow?: {
3088
+ current_step?: string | null;
3089
+ can_submit?: boolean;
3090
+ missing_requirements?: unknown[];
3091
+ next_step?: string | null;
3092
+ progress?: {
3093
+ completed?: number;
3094
+ total?: number;
3095
+ percentage?: number;
3096
+ };
3097
+ };
3098
+ media?: {
3099
+ cover?: string;
3100
+ count?: number;
3101
+ };
2804
3102
  }[];
2805
- path?: string;
2806
- per_page?: number;
2807
- to?: number;
2808
- total?: number;
3103
+ pagination?: {
3104
+ current_page?: number;
3105
+ per_page?: number;
3106
+ total?: number;
3107
+ last_page?: number;
3108
+ from?: number;
3109
+ to?: number;
3110
+ };
2809
3111
  };
2810
3112
  }>;
2811
- fetchOne: (params: ApiPathParams<"fetchOne">) => Promise<{
3113
+ fetchOne: (params: FetchOnePathParams) => Promise<{
2812
3114
  message?: string;
2813
3115
  event?: string | null;
2814
3116
  data?: {
@@ -2818,6 +3120,8 @@ declare const listings: {
2818
3120
  vertical?: string | null;
2819
3121
  price?: string | null;
2820
3122
  state?: string | null;
3123
+ published_at?: string | null;
3124
+ published_since?: string | null;
2821
3125
  is_visible?: boolean;
2822
3126
  summary?: unknown[];
2823
3127
  workflow?: unknown[];
@@ -2829,7 +3133,7 @@ declare const listings: {
2829
3133
  };
2830
3134
  };
2831
3135
  }>;
2832
- fetchListingMediaPublic: (params: ApiPathParams<"fetchListingMediaPublic">) => Promise<{
3136
+ fetchListingMediaPublic: (params: FetchListingMediaPublicPathParams) => Promise<{
2833
3137
  message?: string;
2834
3138
  event?: string | null;
2835
3139
  data?: {
@@ -2843,8 +3147,13 @@ declare const listings: {
2843
3147
  }>;
2844
3148
  };
2845
3149
 
3150
+ type ListingHistoryMaintenancePathParams = ApiPathParams<'listingHistoryMaintenance'>;
3151
+ type ListingHistoryMaintenanceQuery = Expand<ApiQuery<'listingHistoryMaintenance'>>;
3152
+ type ReportMaintenancePayload = ApiRequest<'reportMaintenance'>;
3153
+ type UploadAttachmentMaintenancePathParams = ApiPathParams<'uploadAttachmentMaintenance'>;
3154
+ type UploadAttachmentMaintenanceFormData = FormData;
2846
3155
  declare const maintenance: {
2847
- listingHistory: (params: ApiPathParams<"listingHistoryMaintenance">, query?: Expand<ApiRequest<"listingHistoryMaintenance">>) => Promise<{
3156
+ listingHistory: (params: ListingHistoryMaintenancePathParams, query?: ListingHistoryMaintenanceQuery) => Promise<{
2848
3157
  message?: string;
2849
3158
  event?: string | null;
2850
3159
  data?: {
@@ -2882,7 +3191,7 @@ declare const maintenance: {
2882
3191
  };
2883
3192
  };
2884
3193
  }>;
2885
- report: (payload: ApiRequest<"reportMaintenance">) => Promise<{
3194
+ report: (payload: ReportMaintenancePayload) => Promise<{
2886
3195
  data?: {
2887
3196
  uid?: string;
2888
3197
  title?: string;
@@ -2918,7 +3227,7 @@ declare const maintenance: {
2918
3227
  total?: number;
2919
3228
  };
2920
3229
  }>;
2921
- uploadAttachment: (params: ApiPathParams<"uploadAttachmentMaintenance">, formData: FormData) => Promise<{
3230
+ uploadAttachment: (params: UploadAttachmentMaintenancePathParams, formData: UploadAttachmentMaintenanceFormData) => Promise<{
2922
3231
  data?: {
2923
3232
  uid?: string;
2924
3233
  file_type?: string;
@@ -2928,8 +3237,12 @@ declare const maintenance: {
2928
3237
  }>;
2929
3238
  };
2930
3239
 
3240
+ type CreateConversationPayload = ApiRequest<'createConversation'>;
3241
+ type ListConversationMessagesPathParams = ApiPathParams<'listConversationMessages'>;
3242
+ type SendConversationMessagePayload = ApiRequest<'sendConversationMessage'>;
3243
+ type MarkConversationAsReadPathParams = ApiPathParams<'markConversationAsRead'>;
2931
3244
  declare const conversations: {
2932
- createConversation: (payload: ApiRequest<"createConversation">) => Promise<{
3245
+ createConversation: (payload: CreateConversationPayload) => Promise<{
2933
3246
  data?: {
2934
3247
  id?: number;
2935
3248
  type?: string;
@@ -2968,7 +3281,7 @@ declare const conversations: {
2968
3281
  total?: number;
2969
3282
  };
2970
3283
  }>;
2971
- listConversationMessages: (params: ApiPathParams<"listConversationMessages">) => Promise<{
3284
+ listConversationMessages: (params: ListConversationMessagesPathParams) => Promise<{
2972
3285
  data?: {
2973
3286
  id?: string | null;
2974
3287
  conversation_id?: string | null;
@@ -3001,7 +3314,7 @@ declare const conversations: {
3001
3314
  total?: number;
3002
3315
  };
3003
3316
  }>;
3004
- sendConversationMessage: (payload: ApiRequest<"sendConversationMessage">) => Promise<{
3317
+ sendConversationMessage: (payload: SendConversationMessagePayload) => Promise<{
3005
3318
  message?: string;
3006
3319
  event?: string | null;
3007
3320
  data?: {
@@ -3015,7 +3328,7 @@ declare const conversations: {
3015
3328
  created_at?: string | null;
3016
3329
  };
3017
3330
  }>;
3018
- markConversationAsRead: (params: ApiPathParams<"markConversationAsRead">) => Promise<{
3331
+ markConversationAsRead: (params: MarkConversationAsReadPathParams) => Promise<{
3019
3332
  message?: string;
3020
3333
  event?: string | null;
3021
3334
  data?: {
@@ -3024,6 +3337,10 @@ declare const conversations: {
3024
3337
  }>;
3025
3338
  };
3026
3339
 
3340
+ type ReadNotificationPathParams = ApiPathParams<'readNotification'>;
3341
+ type UpdateNotificationPreferencePathParams = ApiPathParams<'updateNotificationPreference'>;
3342
+ type UpdateNotificationPreferencePayload = ApiRequest<'updateNotificationPreference'>;
3343
+ type UpdateBulkPreferencesPayload = ApiRequest<'updateBulkPreferences'>;
3027
3344
  declare const notification: {
3028
3345
  fetch: () => Promise<{
3029
3346
  data?: {
@@ -3057,7 +3374,7 @@ declare const notification: {
3057
3374
  total?: number;
3058
3375
  };
3059
3376
  }>;
3060
- read: (params: ApiPathParams<"readNotification">) => Promise<{
3377
+ read: (params: ReadNotificationPathParams) => Promise<{
3061
3378
  id?: string;
3062
3379
  type?: string;
3063
3380
  title?: string;
@@ -3097,18 +3414,19 @@ declare const notification: {
3097
3414
  };
3098
3415
  }[];
3099
3416
  }>;
3100
- updateNotificationPreference: (params: ApiPathParams<"updateNotificationPreference">, payload: ApiRequest<"updateNotificationPreference">) => Promise<{
3417
+ updateNotificationPreference: (params: UpdateNotificationPreferencePathParams, payload: UpdateNotificationPreferencePayload) => Promise<{
3101
3418
  message?: string;
3102
3419
  event?: string | null;
3103
3420
  data?: unknown[];
3104
3421
  }>;
3105
- updateBulkPreferences: (payload: ApiRequest<"updateBulkPreferences">) => Promise<{
3422
+ updateBulkPreferences: (payload: UpdateBulkPreferencesPayload) => Promise<{
3106
3423
  message?: string;
3107
3424
  event?: string | null;
3108
3425
  data?: unknown[];
3109
3426
  }>;
3110
3427
  };
3111
3428
 
3429
+ type CheckCapabilityPlanPathParams = ApiPathParams<'checkCapabilityPlan'>;
3112
3430
  declare const plan: {
3113
3431
  user: () => Promise<{
3114
3432
  data?: {
@@ -3138,7 +3456,7 @@ declare const plan: {
3138
3456
  };
3139
3457
  };
3140
3458
  }>;
3141
- checkCapability: (params: ApiPathParams<"checkCapabilityPlan">) => Promise<{
3459
+ checkCapability: (params: CheckCapabilityPlanPathParams) => Promise<{
3142
3460
  message?: string;
3143
3461
  event?: string | null;
3144
3462
  data?: {
@@ -3148,6 +3466,11 @@ declare const plan: {
3148
3466
  }>;
3149
3467
  };
3150
3468
 
3469
+ type CreateListingReviewPayload = ApiRequest<'createListingReview'>;
3470
+ type CreateUserReviewPayload = ApiRequest<'createUserReview'>;
3471
+ type UpdateReviewPathParams = ApiPathParams<'updateReview'>;
3472
+ type UpdateReviewPayload = ApiRequest<'updateReview'>;
3473
+ type DeleteReviewPathParams = ApiPathParams<'deleteReview'>;
3151
3474
  declare const review: {
3152
3475
  fetchAll: () => Promise<{
3153
3476
  data?: {
@@ -3191,7 +3514,7 @@ declare const review: {
3191
3514
  reviews_count?: number;
3192
3515
  };
3193
3516
  }>;
3194
- createListing: (payload: ApiRequest<"createListingReview">) => Promise<{
3517
+ createListing: (payload: CreateListingReviewPayload) => Promise<{
3195
3518
  data?: {
3196
3519
  id?: number;
3197
3520
  rating?: number;
@@ -3204,7 +3527,7 @@ declare const review: {
3204
3527
  updated_at?: string;
3205
3528
  };
3206
3529
  }>;
3207
- createUser: (payload: ApiRequest<"createUserReview">) => Promise<{
3530
+ createUser: (payload: CreateUserReviewPayload) => Promise<{
3208
3531
  data?: {
3209
3532
  id?: number;
3210
3533
  rating?: number;
@@ -3217,7 +3540,7 @@ declare const review: {
3217
3540
  updated_at?: string;
3218
3541
  };
3219
3542
  }>;
3220
- update: (params: ApiPathParams<"updateReview">, payload: ApiRequest<"updateReview">) => Promise<{
3543
+ update: (params: UpdateReviewPathParams, payload: UpdateReviewPayload) => Promise<{
3221
3544
  data?: {
3222
3545
  id?: number;
3223
3546
  rating?: number;
@@ -3230,7 +3553,7 @@ declare const review: {
3230
3553
  updated_at?: string;
3231
3554
  };
3232
3555
  }>;
3233
- delete: (params: ApiPathParams<"deleteReview">) => Promise<{
3556
+ delete: (params: DeleteReviewPathParams) => Promise<{
3234
3557
  data?: {
3235
3558
  id?: number;
3236
3559
  rating?: number;
@@ -3245,8 +3568,23 @@ declare const review: {
3245
3568
  }>;
3246
3569
  };
3247
3570
 
3571
+ type FetchOneTenancyPathParams = ApiPathParams<'fetchOneTenancy'>;
3572
+ type CreateTenancyPayload = ApiRequest<'createTenancy'>;
3573
+ type TransitionTenancyPathParams = ApiPathParams<'transitionTenancy'>;
3574
+ type TransitionTenancyPayload = ApiRequest<'transitionTenancy'>;
3575
+ type ComplianceStatusTenancyPathParams = ApiPathParams<'complianceStatusTenancy'>;
3576
+ type RenewTenancyPathParams = ApiPathParams<'renewTenancy'>;
3577
+ type ConvertTenancyPathParams = ApiPathParams<'convertTenancy'>;
3578
+ type ServeNoticeTenancyPathParams = ApiPathParams<'serveNoticeTenancy'>;
3579
+ type ServeNoticeTenancyPayload = ApiRequest<'serveNoticeTenancy'>;
3580
+ type TerminateTenancyPathParams = ApiPathParams<'terminateTenancy'>;
3581
+ type TerminateTenancyPayload = ApiRequest<'terminateTenancy'>;
3582
+ type FetchTransitionsTenancyPathParams = ApiPathParams<'fetchTransitionsTenancy'>;
3583
+ type UploadDocumentTenancyPathParams = ApiPathParams<'uploadDocumentTenancy'>;
3584
+ type UploadDocumentTenancyFormData = FormData;
3585
+ type DownloadDocumentTenancyPathParams = ApiPathParams<'downloadDocumentTenancy'>;
3248
3586
  declare const tenancy: {
3249
- fetchOne: (params: ApiPathParams<"fetchOneTenancy">) => Promise<{
3587
+ fetchOne: (params: FetchOneTenancyPathParams) => Promise<{
3250
3588
  data?: {
3251
3589
  uid?: string;
3252
3590
  listing_id?: number;
@@ -3266,7 +3604,7 @@ declare const tenancy: {
3266
3604
  };
3267
3605
  };
3268
3606
  }>;
3269
- create: (payload: ApiRequest<"createTenancy">) => Promise<{
3607
+ create: (payload: CreateTenancyPayload) => Promise<{
3270
3608
  data?: {
3271
3609
  uid?: string;
3272
3610
  listing_id?: number;
@@ -3281,7 +3619,7 @@ declare const tenancy: {
3281
3619
  created_at?: string;
3282
3620
  };
3283
3621
  }>;
3284
- transition: (params: ApiPathParams<"transitionTenancy">, payload: ApiRequest<"transitionTenancy">) => Promise<{
3622
+ transition: (params: TransitionTenancyPathParams, payload: TransitionTenancyPayload) => Promise<{
3285
3623
  message?: string;
3286
3624
  event?: string | null;
3287
3625
  data?: {
@@ -3289,7 +3627,7 @@ declare const tenancy: {
3289
3627
  new_state?: string;
3290
3628
  };
3291
3629
  }>;
3292
- complianceStatus: (params: ApiPathParams<"complianceStatusTenancy">) => Promise<{
3630
+ complianceStatus: (params: ComplianceStatusTenancyPathParams) => Promise<{
3293
3631
  message?: string;
3294
3632
  event?: string | null;
3295
3633
  data?: {
@@ -3300,35 +3638,35 @@ declare const tenancy: {
3300
3638
  }[];
3301
3639
  };
3302
3640
  }>;
3303
- renew: (params: ApiPathParams<"renewTenancy">) => Promise<{
3641
+ renew: (params: RenewTenancyPathParams) => Promise<{
3304
3642
  message?: string;
3305
3643
  event?: string | null;
3306
3644
  data?: {
3307
3645
  state?: string;
3308
3646
  };
3309
3647
  }>;
3310
- convert: (params: ApiPathParams<"convertTenancy">) => Promise<{
3648
+ convert: (params: ConvertTenancyPathParams) => Promise<{
3311
3649
  message?: string;
3312
3650
  event?: string | null;
3313
3651
  data?: {
3314
3652
  state?: string;
3315
3653
  };
3316
3654
  }>;
3317
- serveNotice: (params: ApiPathParams<"serveNoticeTenancy">, payload: ApiRequest<"serveNoticeTenancy">) => Promise<{
3655
+ serveNotice: (params: ServeNoticeTenancyPathParams, payload: ServeNoticeTenancyPayload) => Promise<{
3318
3656
  message?: string;
3319
3657
  event?: string | null;
3320
3658
  data?: {
3321
3659
  state?: string;
3322
3660
  };
3323
3661
  }>;
3324
- terminate: (params: ApiPathParams<"terminateTenancy">, payload: ApiRequest<"terminateTenancy">) => Promise<{
3662
+ terminate: (params: TerminateTenancyPathParams, payload: TerminateTenancyPayload) => Promise<{
3325
3663
  message?: string;
3326
3664
  event?: string | null;
3327
3665
  data?: {
3328
3666
  state?: string;
3329
3667
  };
3330
3668
  }>;
3331
- fetchTransitions: (params: ApiPathParams<"fetchTransitionsTenancy">) => Promise<{
3669
+ fetchTransitions: (params: FetchTransitionsTenancyPathParams) => Promise<{
3332
3670
  data?: {
3333
3671
  from_state?: string;
3334
3672
  to_state?: string;
@@ -3338,7 +3676,7 @@ declare const tenancy: {
3338
3676
  created_at?: string;
3339
3677
  }[];
3340
3678
  }>;
3341
- uploadDocument: (params: ApiPathParams<"uploadDocumentTenancy">, formData: FormData) => Promise<{
3679
+ uploadDocument: (params: UploadDocumentTenancyPathParams, formData: UploadDocumentTenancyFormData) => Promise<{
3342
3680
  message?: string;
3343
3681
  event?: string | null;
3344
3682
  data?: {
@@ -3346,18 +3684,20 @@ declare const tenancy: {
3346
3684
  version?: number;
3347
3685
  };
3348
3686
  }>;
3349
- downloadDocument: (params: ApiPathParams<"downloadDocumentTenancy">) => Promise<{
3687
+ downloadDocument: (params: DownloadDocumentTenancyPathParams) => Promise<{
3350
3688
  "Content-Type"?: string;
3351
3689
  }>;
3352
3690
  };
3353
3691
 
3692
+ type ToggleTwoFactorPayload = ApiRequest<'toggleTwoFactor'>;
3693
+ type UpdateAvatarFormData = FormData;
3354
3694
  declare const user: {
3355
3695
  sendTwoFactorToggleOtp: () => Promise<{
3356
3696
  message?: string;
3357
3697
  event?: string | null;
3358
3698
  data?: string | null;
3359
3699
  }>;
3360
- toggleTwoFactor: (payload: ApiRequest<"toggleTwoFactor">) => Promise<{
3700
+ toggleTwoFactor: (payload: ToggleTwoFactorPayload) => Promise<{
3361
3701
  data?: {
3362
3702
  uid?: string;
3363
3703
  username?: string;
@@ -3387,7 +3727,7 @@ declare const user: {
3387
3727
  };
3388
3728
  };
3389
3729
  }>;
3390
- updateAvatar: (formData: FormData) => Promise<{
3730
+ updateAvatar: (formData: UpdateAvatarFormData) => Promise<{
3391
3731
  data?: {
3392
3732
  uid?: string;
3393
3733
  username?: string;
@@ -3419,6 +3759,11 @@ declare const user: {
3419
3759
  }>;
3420
3760
  };
3421
3761
 
3762
+ type SubmitUserVerificationPathParams = ApiPathParams<'submitUserVerification'>;
3763
+ type SubmitUserVerificationPayload = ApiRequest<'submitUserVerification'>;
3764
+ type CheckLayerStatusPathParams = ApiPathParams<'checkLayerStatus'>;
3765
+ type ResubmitUserVerificationPathParams = ApiPathParams<'resubmitUserVerification'>;
3766
+ type ResubmitUserVerificationPayload = ApiRequest<'resubmitUserVerification'>;
3422
3767
  declare const userverification: {
3423
3768
  overview: () => Promise<{
3424
3769
  data?: {
@@ -3428,7 +3773,7 @@ declare const userverification: {
3428
3773
  last_calculated_at?: string;
3429
3774
  };
3430
3775
  }>;
3431
- submit: (params: ApiPathParams<"submitUserVerification">, payload: ApiRequest<"submitUserVerification">) => Promise<{
3776
+ submit: (params: SubmitUserVerificationPathParams, payload: SubmitUserVerificationPayload) => Promise<{
3432
3777
  data?: {
3433
3778
  current_level?: number;
3434
3779
  completed_layers?: number;
@@ -3479,7 +3824,7 @@ declare const userverification: {
3479
3824
  };
3480
3825
  };
3481
3826
  }>;
3482
- checkLayerStatus: (params: ApiPathParams<"checkLayerStatus">) => Promise<{
3827
+ checkLayerStatus: (params: CheckLayerStatusPathParams) => Promise<{
3483
3828
  message?: string;
3484
3829
  event?: string | null;
3485
3830
  data?: {
@@ -3487,7 +3832,7 @@ declare const userverification: {
3487
3832
  status?: number;
3488
3833
  };
3489
3834
  }>;
3490
- resubmit: (params: ApiPathParams<"resubmitUserVerification">, payload: ApiRequest<"resubmitUserVerification">) => Promise<{
3835
+ resubmit: (params: ResubmitUserVerificationPathParams, payload: ResubmitUserVerificationPayload) => Promise<{
3491
3836
  data?: {
3492
3837
  current_level?: number;
3493
3838
  completed_layers?: number;
@@ -3497,8 +3842,11 @@ declare const userverification: {
3497
3842
  }>;
3498
3843
  };
3499
3844
 
3845
+ type CreateWishlistPayload = ApiRequest<'createWishlist'>;
3846
+ type RemoveWishlistPathParams = ApiPathParams<'removeWishlist'>;
3847
+ type GetWishlistQuery = Expand<ApiQuery<'getWishlist'>>;
3500
3848
  declare const wishlist: {
3501
- create: (payload: ApiRequest<"createWishlist">) => Promise<{
3849
+ create: (payload: CreateWishlistPayload) => Promise<{
3502
3850
  data?: {
3503
3851
  wishlist_uid?: string;
3504
3852
  listing?: {
@@ -3509,6 +3857,8 @@ declare const wishlist: {
3509
3857
  vertical?: string;
3510
3858
  price?: string | null;
3511
3859
  state?: string;
3860
+ published_at?: string | null;
3861
+ published_since?: string | null;
3512
3862
  is_visible?: boolean;
3513
3863
  summary?: unknown[];
3514
3864
  workflow?: unknown[];
@@ -3516,12 +3866,12 @@ declare const wishlist: {
3516
3866
  };
3517
3867
  };
3518
3868
  }>;
3519
- remove: (params: ApiPathParams<"removeWishlist">) => Promise<{
3869
+ remove: (params: RemoveWishlistPathParams) => Promise<{
3520
3870
  message?: string;
3521
3871
  event?: string | null;
3522
3872
  data?: string | null;
3523
3873
  }>;
3524
- get: (query?: Expand<ApiRequest<"getWishlist">>) => Promise<{
3874
+ get: (query?: GetWishlistQuery) => Promise<{
3525
3875
  data?: {
3526
3876
  wishlist_uid?: string;
3527
3877
  }[];
@@ -3549,4 +3899,4 @@ declare const wishlist: {
3549
3899
  }>;
3550
3900
  };
3551
3901
 
3552
- export { ApiError, type ApiPathParams, type ApiRequest, type ApiResponse, type Expand, type MultipartPayload, type OperationId, admin, api, appointment, auth, booking, conversations, customer, feature, github, google, inspection, landlord, listings, maintenance, notification, plan, review, tenancy, tenant, user, userverification, wishlist };
3902
+ 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 };