@justins-home/api-services 1.2.39 → 1.2.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +108 -1
- package/dist/index.d.ts +108 -1
- package/dist/index.js +15 -0
- package/dist/index.mjs +15 -0
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -135,8 +135,12 @@ type FetchOneListingAdminPathParams = ApiPathParams<'fetchOneListingAdmin'>;
|
|
|
135
135
|
type UpdateDraftNameAdminPathParams = ApiPathParams<'updateDraftNameAdmin'>;
|
|
136
136
|
type UpdateDraftNameAdminPayload = ApiRequest<'updateDraftNameAdmin'>;
|
|
137
137
|
type SubmitListingAdminPathParams = ApiPathParams<'submitListingAdmin'>;
|
|
138
|
+
type SaveArrangementTypeAdminPathParams = ApiPathParams<'saveArrangementTypeAdmin'>;
|
|
139
|
+
type SaveArrangementTypeAdminPayload = ApiRequest<'saveArrangementTypeAdmin'>;
|
|
138
140
|
type SaveListingDetailsAdminPathParams = ApiPathParams<'saveListingDetailsAdmin'>;
|
|
139
141
|
type SaveListingDetailsAdminPayload = ApiRequest<'saveListingDetailsAdmin'>;
|
|
142
|
+
type SaveListingPolicyAdminPathParams = ApiPathParams<'saveListingPolicyAdmin'>;
|
|
143
|
+
type SaveListingPolicyAdminPayload = ApiRequest<'saveListingPolicyAdmin'>;
|
|
140
144
|
type SavePropertyBasicsAdminPathParams = ApiPathParams<'savePropertyBasicsAdmin'>;
|
|
141
145
|
type SavePropertyBasicsAdminPayload = ApiRequest<'savePropertyBasicsAdmin'>;
|
|
142
146
|
type SavePricingAdminPathParams = ApiPathParams<'savePricingAdmin'>;
|
|
@@ -227,6 +231,8 @@ type AssignComplianceToListingVerticalPathParams = ApiPathParams<'assignComplian
|
|
|
227
231
|
type AssignComplianceToListingVerticalPayload = ApiRequest<'assignComplianceToListingVertical'>;
|
|
228
232
|
type AssignComplianceToListingTypePathParams = ApiPathParams<'assignComplianceToListingType'>;
|
|
229
233
|
type AssignComplianceToListingTypePayload = ApiRequest<'assignComplianceToListingType'>;
|
|
234
|
+
type AssignComplianceToArrangementTypePathParams = ApiPathParams<'assignComplianceToArrangementType'>;
|
|
235
|
+
type AssignComplianceToArrangementTypePayload = ApiRequest<'assignComplianceToArrangementType'>;
|
|
230
236
|
type ListingHistoryInspectionAdminPathParams = ApiPathParams<'listingHistoryInspectionAdmin'>;
|
|
231
237
|
type ListingHistoryInspectionAdminQuery = Expand<ApiQuery<'listingHistoryInspectionAdmin'>>;
|
|
232
238
|
type ScheduleInspectionPayload = ApiRequest<'scheduleInspection'>;
|
|
@@ -466,6 +472,8 @@ declare const admin: {
|
|
|
466
472
|
uid?: string;
|
|
467
473
|
listing_type?: string;
|
|
468
474
|
vertical?: string;
|
|
475
|
+
arrangement_type?: string;
|
|
476
|
+
arrangement_type_label?: string;
|
|
469
477
|
price?: string | null;
|
|
470
478
|
state?: string;
|
|
471
479
|
published_at?: string | null;
|
|
@@ -1001,6 +1009,8 @@ declare const admin: {
|
|
|
1001
1009
|
};
|
|
1002
1010
|
listing_type?: string;
|
|
1003
1011
|
vertical?: string;
|
|
1012
|
+
arrangement_type?: string;
|
|
1013
|
+
arrangement_type_label?: string;
|
|
1004
1014
|
owner?: {
|
|
1005
1015
|
uid?: string;
|
|
1006
1016
|
name?: string;
|
|
@@ -1061,6 +1071,18 @@ declare const admin: {
|
|
|
1061
1071
|
deposit_amount?: string | null;
|
|
1062
1072
|
fixed_term_length?: string | null;
|
|
1063
1073
|
availability_date?: string | null;
|
|
1074
|
+
is_company_lease?: boolean;
|
|
1075
|
+
is_subletting_permitted?: boolean;
|
|
1076
|
+
};
|
|
1077
|
+
listing_policy?: {
|
|
1078
|
+
max_occupants?: number;
|
|
1079
|
+
allowed_use_type?: string;
|
|
1080
|
+
allowed_use_type_label?: string;
|
|
1081
|
+
is_subletting_allowed?: boolean;
|
|
1082
|
+
requires_permission_for_subletting?: boolean;
|
|
1083
|
+
event_permission_required?: boolean;
|
|
1084
|
+
no_party_policy?: boolean;
|
|
1085
|
+
commercial_use_flag?: boolean;
|
|
1064
1086
|
};
|
|
1065
1087
|
short_let?: {
|
|
1066
1088
|
nightly_price?: string;
|
|
@@ -1108,6 +1130,9 @@ declare const admin: {
|
|
|
1108
1130
|
validity_type?: string;
|
|
1109
1131
|
grace_period_days?: string | null;
|
|
1110
1132
|
status?: string;
|
|
1133
|
+
responsible_party?: string;
|
|
1134
|
+
responsible_party_label?: string;
|
|
1135
|
+
liability_exclusion_flag?: boolean;
|
|
1111
1136
|
requirements?: string[];
|
|
1112
1137
|
}[];
|
|
1113
1138
|
compliance_status?: {
|
|
@@ -1133,6 +1158,8 @@ declare const admin: {
|
|
|
1133
1158
|
uid?: string;
|
|
1134
1159
|
listing_type?: string;
|
|
1135
1160
|
vertical?: string;
|
|
1161
|
+
arrangement_type?: string;
|
|
1162
|
+
arrangement_type_label?: string;
|
|
1136
1163
|
price?: string | null;
|
|
1137
1164
|
state?: string;
|
|
1138
1165
|
published_at?: string | null;
|
|
@@ -1145,7 +1172,9 @@ declare const admin: {
|
|
|
1145
1172
|
media?: unknown[];
|
|
1146
1173
|
};
|
|
1147
1174
|
}>;
|
|
1175
|
+
saveArrangementType: (params: SaveArrangementTypeAdminPathParams, payload: SaveArrangementTypeAdminPayload) => Promise<unknown>;
|
|
1148
1176
|
saveListingDetails: (params: SaveListingDetailsAdminPathParams, payload: SaveListingDetailsAdminPayload) => Promise<unknown>;
|
|
1177
|
+
saveListingPolicy: (params: SaveListingPolicyAdminPathParams, payload: SaveListingPolicyAdminPayload) => Promise<unknown>;
|
|
1149
1178
|
savePropertyBasics: (params: SavePropertyBasicsAdminPathParams, payload: SavePropertyBasicsAdminPayload) => Promise<unknown>;
|
|
1150
1179
|
savePricing: (params: SavePricingAdminPathParams, payload: SavePricingAdminPayload) => Promise<unknown>;
|
|
1151
1180
|
saveRentalDetails: (params: SaveRentalDetailsAdminPathParams, payload: SaveRentalDetailsAdminPayload) => Promise<unknown>;
|
|
@@ -1245,6 +1274,8 @@ declare const admin: {
|
|
|
1245
1274
|
uid?: string;
|
|
1246
1275
|
listing_type?: string;
|
|
1247
1276
|
vertical?: string;
|
|
1277
|
+
arrangement_type?: string;
|
|
1278
|
+
arrangement_type_label?: string;
|
|
1248
1279
|
price?: string | null;
|
|
1249
1280
|
state?: string;
|
|
1250
1281
|
published_at?: string | null;
|
|
@@ -1306,6 +1337,8 @@ declare const admin: {
|
|
|
1306
1337
|
uid?: string;
|
|
1307
1338
|
listing_type?: string;
|
|
1308
1339
|
vertical?: string;
|
|
1340
|
+
arrangement_type?: string;
|
|
1341
|
+
arrangement_type_label?: string;
|
|
1309
1342
|
price?: string | null;
|
|
1310
1343
|
state?: string;
|
|
1311
1344
|
published_at?: string | null;
|
|
@@ -1325,6 +1358,8 @@ declare const admin: {
|
|
|
1325
1358
|
uid?: string;
|
|
1326
1359
|
listing_type?: string;
|
|
1327
1360
|
vertical?: string;
|
|
1361
|
+
arrangement_type?: string;
|
|
1362
|
+
arrangement_type_label?: string;
|
|
1328
1363
|
price?: string | null;
|
|
1329
1364
|
state?: string;
|
|
1330
1365
|
published_at?: string | null;
|
|
@@ -1344,6 +1379,8 @@ declare const admin: {
|
|
|
1344
1379
|
uid?: string;
|
|
1345
1380
|
listing_type?: string;
|
|
1346
1381
|
vertical?: string;
|
|
1382
|
+
arrangement_type?: string;
|
|
1383
|
+
arrangement_type_label?: string;
|
|
1347
1384
|
price?: string | null;
|
|
1348
1385
|
state?: string;
|
|
1349
1386
|
published_at?: string | null;
|
|
@@ -1363,6 +1400,8 @@ declare const admin: {
|
|
|
1363
1400
|
uid?: string;
|
|
1364
1401
|
listing_type?: string;
|
|
1365
1402
|
vertical?: string;
|
|
1403
|
+
arrangement_type?: string;
|
|
1404
|
+
arrangement_type_label?: string;
|
|
1366
1405
|
price?: string | null;
|
|
1367
1406
|
state?: string;
|
|
1368
1407
|
published_at?: string | null;
|
|
@@ -1754,6 +1793,9 @@ declare const admin: {
|
|
|
1754
1793
|
validity_type?: string;
|
|
1755
1794
|
grace_period_days?: number;
|
|
1756
1795
|
status?: string;
|
|
1796
|
+
responsible_party?: string;
|
|
1797
|
+
responsible_party_label?: string;
|
|
1798
|
+
liability_exclusion_flag?: boolean;
|
|
1757
1799
|
};
|
|
1758
1800
|
}>;
|
|
1759
1801
|
updateComplianceDefinition: (params: UpdateComplianceDefinitionPathParams, payload: UpdateComplianceDefinitionPayload) => Promise<{
|
|
@@ -1766,6 +1808,9 @@ declare const admin: {
|
|
|
1766
1808
|
validity_type?: string;
|
|
1767
1809
|
grace_period_days?: number;
|
|
1768
1810
|
status?: string;
|
|
1811
|
+
responsible_party?: string;
|
|
1812
|
+
responsible_party_label?: string;
|
|
1813
|
+
liability_exclusion_flag?: boolean;
|
|
1769
1814
|
};
|
|
1770
1815
|
}>;
|
|
1771
1816
|
syncComplianceRequirements: (params: SyncComplianceRequirementsPathParams, payload: SyncComplianceRequirementsPayload) => Promise<unknown>;
|
|
@@ -1775,6 +1820,7 @@ declare const admin: {
|
|
|
1775
1820
|
assignComplianceToTenancy: (params: AssignComplianceToTenancyPathParams) => Promise<unknown>;
|
|
1776
1821
|
assignComplianceToListingVertical: (params: AssignComplianceToListingVerticalPathParams, payload: AssignComplianceToListingVerticalPayload) => Promise<unknown>;
|
|
1777
1822
|
assignComplianceToListingType: (params: AssignComplianceToListingTypePathParams, payload: AssignComplianceToListingTypePayload) => Promise<unknown>;
|
|
1823
|
+
assignComplianceToArrangementType: (params: AssignComplianceToArrangementTypePathParams, payload: AssignComplianceToArrangementTypePayload) => Promise<unknown>;
|
|
1778
1824
|
listingHistoryInspection: (params: ListingHistoryInspectionAdminPathParams, query?: ListingHistoryInspectionAdminQuery) => Promise<{
|
|
1779
1825
|
message?: string;
|
|
1780
1826
|
event?: string | null;
|
|
@@ -2162,6 +2208,7 @@ declare const booking: {
|
|
|
2162
2208
|
listing_id?: string | null;
|
|
2163
2209
|
guest_id?: string | null;
|
|
2164
2210
|
host_id?: string | null;
|
|
2211
|
+
guest_count?: string | null;
|
|
2165
2212
|
start_date?: string | null;
|
|
2166
2213
|
end_date?: string | null;
|
|
2167
2214
|
nights?: string | null;
|
|
@@ -2178,6 +2225,7 @@ declare const booking: {
|
|
|
2178
2225
|
listing_id?: string | null;
|
|
2179
2226
|
guest_id?: string | null;
|
|
2180
2227
|
host_id?: string | null;
|
|
2228
|
+
guest_count?: string | null;
|
|
2181
2229
|
start_date?: string | null;
|
|
2182
2230
|
end_date?: string | null;
|
|
2183
2231
|
nights?: string | null;
|
|
@@ -2194,6 +2242,7 @@ declare const booking: {
|
|
|
2194
2242
|
listing_id?: string | null;
|
|
2195
2243
|
guest_id?: string | null;
|
|
2196
2244
|
host_id?: string | null;
|
|
2245
|
+
guest_count?: string | null;
|
|
2197
2246
|
start_date?: string | null;
|
|
2198
2247
|
end_date?: string | null;
|
|
2199
2248
|
nights?: string | null;
|
|
@@ -2210,6 +2259,7 @@ declare const booking: {
|
|
|
2210
2259
|
listing_id?: string | null;
|
|
2211
2260
|
guest_id?: string | null;
|
|
2212
2261
|
host_id?: string | null;
|
|
2262
|
+
guest_count?: string | null;
|
|
2213
2263
|
start_date?: string | null;
|
|
2214
2264
|
end_date?: string | null;
|
|
2215
2265
|
nights?: string | null;
|
|
@@ -2380,9 +2430,13 @@ type UpdateProfilePayload = ApiRequest<'updateProfile'>;
|
|
|
2380
2430
|
type CreateListingDraftPayload = ApiRequest<'createListingDraft'>;
|
|
2381
2431
|
type UpdateDraftNamePathParams = ApiPathParams<'updateDraftName'>;
|
|
2382
2432
|
type UpdateDraftNamePayload = ApiRequest<'updateDraftName'>;
|
|
2433
|
+
type SaveArrangementTypePathParams = ApiPathParams<'saveArrangementType'>;
|
|
2434
|
+
type SaveArrangementTypePayload = ApiRequest<'saveArrangementType'>;
|
|
2383
2435
|
type GetOwnerListingPathParams = ApiPathParams<'getOwnerListing'>;
|
|
2384
2436
|
type SaveListingDetailsPathParams = ApiPathParams<'saveListingDetails'>;
|
|
2385
2437
|
type SaveListingDetailsPayload = ApiRequest<'saveListingDetails'>;
|
|
2438
|
+
type SaveListingPolicyPathParams = ApiPathParams<'saveListingPolicy'>;
|
|
2439
|
+
type SaveListingPolicyPayload = ApiRequest<'saveListingPolicy'>;
|
|
2386
2440
|
type SavePropertyBasicsPathParams = ApiPathParams<'savePropertyBasics'>;
|
|
2387
2441
|
type SavePropertyBasicsPayload = ApiRequest<'savePropertyBasics'>;
|
|
2388
2442
|
type SavePricingPathParams = ApiPathParams<'savePricing'>;
|
|
@@ -2622,6 +2676,8 @@ declare const landlord: {
|
|
|
2622
2676
|
uid?: string;
|
|
2623
2677
|
listing_type?: string;
|
|
2624
2678
|
vertical?: string;
|
|
2679
|
+
arrangement_type?: string;
|
|
2680
|
+
arrangement_type_label?: string;
|
|
2625
2681
|
price?: string | null;
|
|
2626
2682
|
state?: string;
|
|
2627
2683
|
published_at?: string | null;
|
|
@@ -2639,6 +2695,11 @@ declare const landlord: {
|
|
|
2639
2695
|
event?: string | null;
|
|
2640
2696
|
data?: unknown[];
|
|
2641
2697
|
}>;
|
|
2698
|
+
saveArrangementType: (params: SaveArrangementTypePathParams, payload: SaveArrangementTypePayload) => Promise<{
|
|
2699
|
+
message?: string;
|
|
2700
|
+
event?: string;
|
|
2701
|
+
data?: unknown[];
|
|
2702
|
+
}>;
|
|
2642
2703
|
getDraftListings: () => Promise<{
|
|
2643
2704
|
data?: {
|
|
2644
2705
|
draft_name?: string;
|
|
@@ -2646,6 +2707,8 @@ declare const landlord: {
|
|
|
2646
2707
|
uid?: string;
|
|
2647
2708
|
listing_type?: string;
|
|
2648
2709
|
vertical?: string;
|
|
2710
|
+
arrangement_type?: string;
|
|
2711
|
+
arrangement_type_label?: string;
|
|
2649
2712
|
price?: string | null;
|
|
2650
2713
|
state?: string;
|
|
2651
2714
|
published_at?: string | null;
|
|
@@ -2686,6 +2749,8 @@ declare const landlord: {
|
|
|
2686
2749
|
uid?: string;
|
|
2687
2750
|
listing_type?: string;
|
|
2688
2751
|
vertical?: string;
|
|
2752
|
+
arrangement_type?: string;
|
|
2753
|
+
arrangement_type_label?: string;
|
|
2689
2754
|
price?: string | null;
|
|
2690
2755
|
state?: string;
|
|
2691
2756
|
published_at?: string | null;
|
|
@@ -2726,6 +2791,8 @@ declare const landlord: {
|
|
|
2726
2791
|
uid?: string;
|
|
2727
2792
|
listing_type?: string;
|
|
2728
2793
|
vertical?: string;
|
|
2794
|
+
arrangement_type?: string;
|
|
2795
|
+
arrangement_type_label?: string;
|
|
2729
2796
|
price?: string | null;
|
|
2730
2797
|
state?: string;
|
|
2731
2798
|
published_at?: string | null;
|
|
@@ -2766,6 +2833,8 @@ declare const landlord: {
|
|
|
2766
2833
|
uid?: string;
|
|
2767
2834
|
listing_type?: string;
|
|
2768
2835
|
vertical?: string;
|
|
2836
|
+
arrangement_type?: string;
|
|
2837
|
+
arrangement_type_label?: string;
|
|
2769
2838
|
price?: string | null;
|
|
2770
2839
|
state?: string;
|
|
2771
2840
|
published_at?: string | null;
|
|
@@ -2788,6 +2857,11 @@ declare const landlord: {
|
|
|
2788
2857
|
event?: string;
|
|
2789
2858
|
data?: unknown[];
|
|
2790
2859
|
}>;
|
|
2860
|
+
saveListingPolicy: (params: SaveListingPolicyPathParams, payload: SaveListingPolicyPayload) => Promise<{
|
|
2861
|
+
message?: string;
|
|
2862
|
+
event?: string;
|
|
2863
|
+
data?: unknown[];
|
|
2864
|
+
}>;
|
|
2791
2865
|
savePropertyBasics: (params: SavePropertyBasicsPathParams, payload: SavePropertyBasicsPayload) => Promise<{
|
|
2792
2866
|
message?: string;
|
|
2793
2867
|
event?: string;
|
|
@@ -2866,6 +2940,8 @@ declare const landlord: {
|
|
|
2866
2940
|
uid?: string;
|
|
2867
2941
|
listing_type?: string;
|
|
2868
2942
|
vertical?: string;
|
|
2943
|
+
arrangement_type?: string;
|
|
2944
|
+
arrangement_type_label?: string;
|
|
2869
2945
|
price?: string | null;
|
|
2870
2946
|
state?: string;
|
|
2871
2947
|
published_at?: string | null;
|
|
@@ -2953,6 +3029,8 @@ declare const landlord: {
|
|
|
2953
3029
|
start_date?: string;
|
|
2954
3030
|
end_date?: string;
|
|
2955
3031
|
is_periodic?: boolean;
|
|
3032
|
+
company_name?: string | null;
|
|
3033
|
+
company_registration_number?: string | null;
|
|
2956
3034
|
created_at?: string;
|
|
2957
3035
|
}[];
|
|
2958
3036
|
links?: {
|
|
@@ -2989,6 +3067,8 @@ declare const landlord: {
|
|
|
2989
3067
|
start_date?: string;
|
|
2990
3068
|
end_date?: string;
|
|
2991
3069
|
is_periodic?: boolean;
|
|
3070
|
+
company_name?: string | null;
|
|
3071
|
+
company_registration_number?: string | null;
|
|
2992
3072
|
created_at?: string;
|
|
2993
3073
|
}[];
|
|
2994
3074
|
links?: {
|
|
@@ -3074,6 +3154,8 @@ declare const listings: {
|
|
|
3074
3154
|
};
|
|
3075
3155
|
listing_type?: string;
|
|
3076
3156
|
vertical?: string;
|
|
3157
|
+
arrangement_type?: string;
|
|
3158
|
+
arrangement_type_label?: string;
|
|
3077
3159
|
price?: {
|
|
3078
3160
|
amount?: string;
|
|
3079
3161
|
currency?: string;
|
|
@@ -3136,6 +3218,8 @@ declare const listings: {
|
|
|
3136
3218
|
};
|
|
3137
3219
|
listing_type?: string;
|
|
3138
3220
|
vertical?: string;
|
|
3221
|
+
arrangement_type?: string;
|
|
3222
|
+
arrangement_type_label?: string;
|
|
3139
3223
|
price?: {
|
|
3140
3224
|
amount?: string;
|
|
3141
3225
|
currency?: string;
|
|
@@ -3199,6 +3283,8 @@ declare const listings: {
|
|
|
3199
3283
|
};
|
|
3200
3284
|
listing_type?: string;
|
|
3201
3285
|
vertical?: string;
|
|
3286
|
+
arrangement_type?: string;
|
|
3287
|
+
arrangement_type_label?: string;
|
|
3202
3288
|
owner?: {
|
|
3203
3289
|
uid?: string;
|
|
3204
3290
|
name?: string;
|
|
@@ -3259,6 +3345,18 @@ declare const listings: {
|
|
|
3259
3345
|
deposit_amount?: string | null;
|
|
3260
3346
|
fixed_term_length?: string | null;
|
|
3261
3347
|
availability_date?: string | null;
|
|
3348
|
+
is_company_lease?: boolean;
|
|
3349
|
+
is_subletting_permitted?: boolean;
|
|
3350
|
+
};
|
|
3351
|
+
listing_policy?: {
|
|
3352
|
+
max_occupants?: number;
|
|
3353
|
+
allowed_use_type?: string;
|
|
3354
|
+
allowed_use_type_label?: string;
|
|
3355
|
+
is_subletting_allowed?: boolean;
|
|
3356
|
+
requires_permission_for_subletting?: boolean;
|
|
3357
|
+
event_permission_required?: boolean;
|
|
3358
|
+
no_party_policy?: boolean;
|
|
3359
|
+
commercial_use_flag?: boolean;
|
|
3262
3360
|
};
|
|
3263
3361
|
short_let?: {
|
|
3264
3362
|
nightly_price?: string;
|
|
@@ -3306,6 +3404,9 @@ declare const listings: {
|
|
|
3306
3404
|
validity_type?: string;
|
|
3307
3405
|
grace_period_days?: string | null;
|
|
3308
3406
|
status?: string;
|
|
3407
|
+
responsible_party?: string;
|
|
3408
|
+
responsible_party_label?: string;
|
|
3409
|
+
liability_exclusion_flag?: boolean;
|
|
3309
3410
|
requirements?: string[];
|
|
3310
3411
|
}[];
|
|
3311
3412
|
compliance_status?: {
|
|
@@ -3782,6 +3883,8 @@ declare const tenancy: {
|
|
|
3782
3883
|
start_date?: string;
|
|
3783
3884
|
end_date?: string;
|
|
3784
3885
|
is_periodic?: boolean;
|
|
3886
|
+
company_name?: string | null;
|
|
3887
|
+
company_registration_number?: string | null;
|
|
3785
3888
|
created_at?: string;
|
|
3786
3889
|
compliances?: unknown[];
|
|
3787
3890
|
compliance_status?: {
|
|
@@ -3802,6 +3905,8 @@ declare const tenancy: {
|
|
|
3802
3905
|
start_date?: string;
|
|
3803
3906
|
end_date?: string;
|
|
3804
3907
|
is_periodic?: boolean;
|
|
3908
|
+
company_name?: string | null;
|
|
3909
|
+
company_registration_number?: string | null;
|
|
3805
3910
|
created_at?: string;
|
|
3806
3911
|
};
|
|
3807
3912
|
}>;
|
|
@@ -4041,6 +4146,8 @@ declare const wishlist: {
|
|
|
4041
4146
|
uid?: string;
|
|
4042
4147
|
listing_type?: string;
|
|
4043
4148
|
vertical?: string;
|
|
4149
|
+
arrangement_type?: string | null;
|
|
4150
|
+
arrangement_type_label?: string | null;
|
|
4044
4151
|
price?: string | null;
|
|
4045
4152
|
state?: string;
|
|
4046
4153
|
published_at?: string | null;
|
|
@@ -4085,4 +4192,4 @@ declare const wishlist: {
|
|
|
4085
4192
|
}>;
|
|
4086
4193
|
};
|
|
4087
4194
|
|
|
4088
|
-
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 };
|
|
4195
|
+
export { ApiError, type ApiPathParams, type ApiQuery, type ApiRequest, type ApiResponse, type ApproveListingPathParams, type AssignComplianceToArrangementTypePathParams, type AssignComplianceToArrangementTypePayload, 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 SaveArrangementTypeAdminPathParams, type SaveArrangementTypeAdminPayload, type SaveArrangementTypePathParams, type SaveArrangementTypePayload, type SaveListingDetailsAdminPathParams, type SaveListingDetailsAdminPayload, type SaveListingDetailsPathParams, type SaveListingDetailsPayload, type SaveListingFeaturesAdminPathParams, type SaveListingFeaturesAdminPayload, type SaveListingFeaturesPathParams, type SaveListingFeaturesPayload, type SaveListingPolicyAdminPathParams, type SaveListingPolicyAdminPayload, type SaveListingPolicyPathParams, type SaveListingPolicyPayload, 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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -135,8 +135,12 @@ type FetchOneListingAdminPathParams = ApiPathParams<'fetchOneListingAdmin'>;
|
|
|
135
135
|
type UpdateDraftNameAdminPathParams = ApiPathParams<'updateDraftNameAdmin'>;
|
|
136
136
|
type UpdateDraftNameAdminPayload = ApiRequest<'updateDraftNameAdmin'>;
|
|
137
137
|
type SubmitListingAdminPathParams = ApiPathParams<'submitListingAdmin'>;
|
|
138
|
+
type SaveArrangementTypeAdminPathParams = ApiPathParams<'saveArrangementTypeAdmin'>;
|
|
139
|
+
type SaveArrangementTypeAdminPayload = ApiRequest<'saveArrangementTypeAdmin'>;
|
|
138
140
|
type SaveListingDetailsAdminPathParams = ApiPathParams<'saveListingDetailsAdmin'>;
|
|
139
141
|
type SaveListingDetailsAdminPayload = ApiRequest<'saveListingDetailsAdmin'>;
|
|
142
|
+
type SaveListingPolicyAdminPathParams = ApiPathParams<'saveListingPolicyAdmin'>;
|
|
143
|
+
type SaveListingPolicyAdminPayload = ApiRequest<'saveListingPolicyAdmin'>;
|
|
140
144
|
type SavePropertyBasicsAdminPathParams = ApiPathParams<'savePropertyBasicsAdmin'>;
|
|
141
145
|
type SavePropertyBasicsAdminPayload = ApiRequest<'savePropertyBasicsAdmin'>;
|
|
142
146
|
type SavePricingAdminPathParams = ApiPathParams<'savePricingAdmin'>;
|
|
@@ -227,6 +231,8 @@ type AssignComplianceToListingVerticalPathParams = ApiPathParams<'assignComplian
|
|
|
227
231
|
type AssignComplianceToListingVerticalPayload = ApiRequest<'assignComplianceToListingVertical'>;
|
|
228
232
|
type AssignComplianceToListingTypePathParams = ApiPathParams<'assignComplianceToListingType'>;
|
|
229
233
|
type AssignComplianceToListingTypePayload = ApiRequest<'assignComplianceToListingType'>;
|
|
234
|
+
type AssignComplianceToArrangementTypePathParams = ApiPathParams<'assignComplianceToArrangementType'>;
|
|
235
|
+
type AssignComplianceToArrangementTypePayload = ApiRequest<'assignComplianceToArrangementType'>;
|
|
230
236
|
type ListingHistoryInspectionAdminPathParams = ApiPathParams<'listingHistoryInspectionAdmin'>;
|
|
231
237
|
type ListingHistoryInspectionAdminQuery = Expand<ApiQuery<'listingHistoryInspectionAdmin'>>;
|
|
232
238
|
type ScheduleInspectionPayload = ApiRequest<'scheduleInspection'>;
|
|
@@ -466,6 +472,8 @@ declare const admin: {
|
|
|
466
472
|
uid?: string;
|
|
467
473
|
listing_type?: string;
|
|
468
474
|
vertical?: string;
|
|
475
|
+
arrangement_type?: string;
|
|
476
|
+
arrangement_type_label?: string;
|
|
469
477
|
price?: string | null;
|
|
470
478
|
state?: string;
|
|
471
479
|
published_at?: string | null;
|
|
@@ -1001,6 +1009,8 @@ declare const admin: {
|
|
|
1001
1009
|
};
|
|
1002
1010
|
listing_type?: string;
|
|
1003
1011
|
vertical?: string;
|
|
1012
|
+
arrangement_type?: string;
|
|
1013
|
+
arrangement_type_label?: string;
|
|
1004
1014
|
owner?: {
|
|
1005
1015
|
uid?: string;
|
|
1006
1016
|
name?: string;
|
|
@@ -1061,6 +1071,18 @@ declare const admin: {
|
|
|
1061
1071
|
deposit_amount?: string | null;
|
|
1062
1072
|
fixed_term_length?: string | null;
|
|
1063
1073
|
availability_date?: string | null;
|
|
1074
|
+
is_company_lease?: boolean;
|
|
1075
|
+
is_subletting_permitted?: boolean;
|
|
1076
|
+
};
|
|
1077
|
+
listing_policy?: {
|
|
1078
|
+
max_occupants?: number;
|
|
1079
|
+
allowed_use_type?: string;
|
|
1080
|
+
allowed_use_type_label?: string;
|
|
1081
|
+
is_subletting_allowed?: boolean;
|
|
1082
|
+
requires_permission_for_subletting?: boolean;
|
|
1083
|
+
event_permission_required?: boolean;
|
|
1084
|
+
no_party_policy?: boolean;
|
|
1085
|
+
commercial_use_flag?: boolean;
|
|
1064
1086
|
};
|
|
1065
1087
|
short_let?: {
|
|
1066
1088
|
nightly_price?: string;
|
|
@@ -1108,6 +1130,9 @@ declare const admin: {
|
|
|
1108
1130
|
validity_type?: string;
|
|
1109
1131
|
grace_period_days?: string | null;
|
|
1110
1132
|
status?: string;
|
|
1133
|
+
responsible_party?: string;
|
|
1134
|
+
responsible_party_label?: string;
|
|
1135
|
+
liability_exclusion_flag?: boolean;
|
|
1111
1136
|
requirements?: string[];
|
|
1112
1137
|
}[];
|
|
1113
1138
|
compliance_status?: {
|
|
@@ -1133,6 +1158,8 @@ declare const admin: {
|
|
|
1133
1158
|
uid?: string;
|
|
1134
1159
|
listing_type?: string;
|
|
1135
1160
|
vertical?: string;
|
|
1161
|
+
arrangement_type?: string;
|
|
1162
|
+
arrangement_type_label?: string;
|
|
1136
1163
|
price?: string | null;
|
|
1137
1164
|
state?: string;
|
|
1138
1165
|
published_at?: string | null;
|
|
@@ -1145,7 +1172,9 @@ declare const admin: {
|
|
|
1145
1172
|
media?: unknown[];
|
|
1146
1173
|
};
|
|
1147
1174
|
}>;
|
|
1175
|
+
saveArrangementType: (params: SaveArrangementTypeAdminPathParams, payload: SaveArrangementTypeAdminPayload) => Promise<unknown>;
|
|
1148
1176
|
saveListingDetails: (params: SaveListingDetailsAdminPathParams, payload: SaveListingDetailsAdminPayload) => Promise<unknown>;
|
|
1177
|
+
saveListingPolicy: (params: SaveListingPolicyAdminPathParams, payload: SaveListingPolicyAdminPayload) => Promise<unknown>;
|
|
1149
1178
|
savePropertyBasics: (params: SavePropertyBasicsAdminPathParams, payload: SavePropertyBasicsAdminPayload) => Promise<unknown>;
|
|
1150
1179
|
savePricing: (params: SavePricingAdminPathParams, payload: SavePricingAdminPayload) => Promise<unknown>;
|
|
1151
1180
|
saveRentalDetails: (params: SaveRentalDetailsAdminPathParams, payload: SaveRentalDetailsAdminPayload) => Promise<unknown>;
|
|
@@ -1245,6 +1274,8 @@ declare const admin: {
|
|
|
1245
1274
|
uid?: string;
|
|
1246
1275
|
listing_type?: string;
|
|
1247
1276
|
vertical?: string;
|
|
1277
|
+
arrangement_type?: string;
|
|
1278
|
+
arrangement_type_label?: string;
|
|
1248
1279
|
price?: string | null;
|
|
1249
1280
|
state?: string;
|
|
1250
1281
|
published_at?: string | null;
|
|
@@ -1306,6 +1337,8 @@ declare const admin: {
|
|
|
1306
1337
|
uid?: string;
|
|
1307
1338
|
listing_type?: string;
|
|
1308
1339
|
vertical?: string;
|
|
1340
|
+
arrangement_type?: string;
|
|
1341
|
+
arrangement_type_label?: string;
|
|
1309
1342
|
price?: string | null;
|
|
1310
1343
|
state?: string;
|
|
1311
1344
|
published_at?: string | null;
|
|
@@ -1325,6 +1358,8 @@ declare const admin: {
|
|
|
1325
1358
|
uid?: string;
|
|
1326
1359
|
listing_type?: string;
|
|
1327
1360
|
vertical?: string;
|
|
1361
|
+
arrangement_type?: string;
|
|
1362
|
+
arrangement_type_label?: string;
|
|
1328
1363
|
price?: string | null;
|
|
1329
1364
|
state?: string;
|
|
1330
1365
|
published_at?: string | null;
|
|
@@ -1344,6 +1379,8 @@ declare const admin: {
|
|
|
1344
1379
|
uid?: string;
|
|
1345
1380
|
listing_type?: string;
|
|
1346
1381
|
vertical?: string;
|
|
1382
|
+
arrangement_type?: string;
|
|
1383
|
+
arrangement_type_label?: string;
|
|
1347
1384
|
price?: string | null;
|
|
1348
1385
|
state?: string;
|
|
1349
1386
|
published_at?: string | null;
|
|
@@ -1363,6 +1400,8 @@ declare const admin: {
|
|
|
1363
1400
|
uid?: string;
|
|
1364
1401
|
listing_type?: string;
|
|
1365
1402
|
vertical?: string;
|
|
1403
|
+
arrangement_type?: string;
|
|
1404
|
+
arrangement_type_label?: string;
|
|
1366
1405
|
price?: string | null;
|
|
1367
1406
|
state?: string;
|
|
1368
1407
|
published_at?: string | null;
|
|
@@ -1754,6 +1793,9 @@ declare const admin: {
|
|
|
1754
1793
|
validity_type?: string;
|
|
1755
1794
|
grace_period_days?: number;
|
|
1756
1795
|
status?: string;
|
|
1796
|
+
responsible_party?: string;
|
|
1797
|
+
responsible_party_label?: string;
|
|
1798
|
+
liability_exclusion_flag?: boolean;
|
|
1757
1799
|
};
|
|
1758
1800
|
}>;
|
|
1759
1801
|
updateComplianceDefinition: (params: UpdateComplianceDefinitionPathParams, payload: UpdateComplianceDefinitionPayload) => Promise<{
|
|
@@ -1766,6 +1808,9 @@ declare const admin: {
|
|
|
1766
1808
|
validity_type?: string;
|
|
1767
1809
|
grace_period_days?: number;
|
|
1768
1810
|
status?: string;
|
|
1811
|
+
responsible_party?: string;
|
|
1812
|
+
responsible_party_label?: string;
|
|
1813
|
+
liability_exclusion_flag?: boolean;
|
|
1769
1814
|
};
|
|
1770
1815
|
}>;
|
|
1771
1816
|
syncComplianceRequirements: (params: SyncComplianceRequirementsPathParams, payload: SyncComplianceRequirementsPayload) => Promise<unknown>;
|
|
@@ -1775,6 +1820,7 @@ declare const admin: {
|
|
|
1775
1820
|
assignComplianceToTenancy: (params: AssignComplianceToTenancyPathParams) => Promise<unknown>;
|
|
1776
1821
|
assignComplianceToListingVertical: (params: AssignComplianceToListingVerticalPathParams, payload: AssignComplianceToListingVerticalPayload) => Promise<unknown>;
|
|
1777
1822
|
assignComplianceToListingType: (params: AssignComplianceToListingTypePathParams, payload: AssignComplianceToListingTypePayload) => Promise<unknown>;
|
|
1823
|
+
assignComplianceToArrangementType: (params: AssignComplianceToArrangementTypePathParams, payload: AssignComplianceToArrangementTypePayload) => Promise<unknown>;
|
|
1778
1824
|
listingHistoryInspection: (params: ListingHistoryInspectionAdminPathParams, query?: ListingHistoryInspectionAdminQuery) => Promise<{
|
|
1779
1825
|
message?: string;
|
|
1780
1826
|
event?: string | null;
|
|
@@ -2162,6 +2208,7 @@ declare const booking: {
|
|
|
2162
2208
|
listing_id?: string | null;
|
|
2163
2209
|
guest_id?: string | null;
|
|
2164
2210
|
host_id?: string | null;
|
|
2211
|
+
guest_count?: string | null;
|
|
2165
2212
|
start_date?: string | null;
|
|
2166
2213
|
end_date?: string | null;
|
|
2167
2214
|
nights?: string | null;
|
|
@@ -2178,6 +2225,7 @@ declare const booking: {
|
|
|
2178
2225
|
listing_id?: string | null;
|
|
2179
2226
|
guest_id?: string | null;
|
|
2180
2227
|
host_id?: string | null;
|
|
2228
|
+
guest_count?: string | null;
|
|
2181
2229
|
start_date?: string | null;
|
|
2182
2230
|
end_date?: string | null;
|
|
2183
2231
|
nights?: string | null;
|
|
@@ -2194,6 +2242,7 @@ declare const booking: {
|
|
|
2194
2242
|
listing_id?: string | null;
|
|
2195
2243
|
guest_id?: string | null;
|
|
2196
2244
|
host_id?: string | null;
|
|
2245
|
+
guest_count?: string | null;
|
|
2197
2246
|
start_date?: string | null;
|
|
2198
2247
|
end_date?: string | null;
|
|
2199
2248
|
nights?: string | null;
|
|
@@ -2210,6 +2259,7 @@ declare const booking: {
|
|
|
2210
2259
|
listing_id?: string | null;
|
|
2211
2260
|
guest_id?: string | null;
|
|
2212
2261
|
host_id?: string | null;
|
|
2262
|
+
guest_count?: string | null;
|
|
2213
2263
|
start_date?: string | null;
|
|
2214
2264
|
end_date?: string | null;
|
|
2215
2265
|
nights?: string | null;
|
|
@@ -2380,9 +2430,13 @@ type UpdateProfilePayload = ApiRequest<'updateProfile'>;
|
|
|
2380
2430
|
type CreateListingDraftPayload = ApiRequest<'createListingDraft'>;
|
|
2381
2431
|
type UpdateDraftNamePathParams = ApiPathParams<'updateDraftName'>;
|
|
2382
2432
|
type UpdateDraftNamePayload = ApiRequest<'updateDraftName'>;
|
|
2433
|
+
type SaveArrangementTypePathParams = ApiPathParams<'saveArrangementType'>;
|
|
2434
|
+
type SaveArrangementTypePayload = ApiRequest<'saveArrangementType'>;
|
|
2383
2435
|
type GetOwnerListingPathParams = ApiPathParams<'getOwnerListing'>;
|
|
2384
2436
|
type SaveListingDetailsPathParams = ApiPathParams<'saveListingDetails'>;
|
|
2385
2437
|
type SaveListingDetailsPayload = ApiRequest<'saveListingDetails'>;
|
|
2438
|
+
type SaveListingPolicyPathParams = ApiPathParams<'saveListingPolicy'>;
|
|
2439
|
+
type SaveListingPolicyPayload = ApiRequest<'saveListingPolicy'>;
|
|
2386
2440
|
type SavePropertyBasicsPathParams = ApiPathParams<'savePropertyBasics'>;
|
|
2387
2441
|
type SavePropertyBasicsPayload = ApiRequest<'savePropertyBasics'>;
|
|
2388
2442
|
type SavePricingPathParams = ApiPathParams<'savePricing'>;
|
|
@@ -2622,6 +2676,8 @@ declare const landlord: {
|
|
|
2622
2676
|
uid?: string;
|
|
2623
2677
|
listing_type?: string;
|
|
2624
2678
|
vertical?: string;
|
|
2679
|
+
arrangement_type?: string;
|
|
2680
|
+
arrangement_type_label?: string;
|
|
2625
2681
|
price?: string | null;
|
|
2626
2682
|
state?: string;
|
|
2627
2683
|
published_at?: string | null;
|
|
@@ -2639,6 +2695,11 @@ declare const landlord: {
|
|
|
2639
2695
|
event?: string | null;
|
|
2640
2696
|
data?: unknown[];
|
|
2641
2697
|
}>;
|
|
2698
|
+
saveArrangementType: (params: SaveArrangementTypePathParams, payload: SaveArrangementTypePayload) => Promise<{
|
|
2699
|
+
message?: string;
|
|
2700
|
+
event?: string;
|
|
2701
|
+
data?: unknown[];
|
|
2702
|
+
}>;
|
|
2642
2703
|
getDraftListings: () => Promise<{
|
|
2643
2704
|
data?: {
|
|
2644
2705
|
draft_name?: string;
|
|
@@ -2646,6 +2707,8 @@ declare const landlord: {
|
|
|
2646
2707
|
uid?: string;
|
|
2647
2708
|
listing_type?: string;
|
|
2648
2709
|
vertical?: string;
|
|
2710
|
+
arrangement_type?: string;
|
|
2711
|
+
arrangement_type_label?: string;
|
|
2649
2712
|
price?: string | null;
|
|
2650
2713
|
state?: string;
|
|
2651
2714
|
published_at?: string | null;
|
|
@@ -2686,6 +2749,8 @@ declare const landlord: {
|
|
|
2686
2749
|
uid?: string;
|
|
2687
2750
|
listing_type?: string;
|
|
2688
2751
|
vertical?: string;
|
|
2752
|
+
arrangement_type?: string;
|
|
2753
|
+
arrangement_type_label?: string;
|
|
2689
2754
|
price?: string | null;
|
|
2690
2755
|
state?: string;
|
|
2691
2756
|
published_at?: string | null;
|
|
@@ -2726,6 +2791,8 @@ declare const landlord: {
|
|
|
2726
2791
|
uid?: string;
|
|
2727
2792
|
listing_type?: string;
|
|
2728
2793
|
vertical?: string;
|
|
2794
|
+
arrangement_type?: string;
|
|
2795
|
+
arrangement_type_label?: string;
|
|
2729
2796
|
price?: string | null;
|
|
2730
2797
|
state?: string;
|
|
2731
2798
|
published_at?: string | null;
|
|
@@ -2766,6 +2833,8 @@ declare const landlord: {
|
|
|
2766
2833
|
uid?: string;
|
|
2767
2834
|
listing_type?: string;
|
|
2768
2835
|
vertical?: string;
|
|
2836
|
+
arrangement_type?: string;
|
|
2837
|
+
arrangement_type_label?: string;
|
|
2769
2838
|
price?: string | null;
|
|
2770
2839
|
state?: string;
|
|
2771
2840
|
published_at?: string | null;
|
|
@@ -2788,6 +2857,11 @@ declare const landlord: {
|
|
|
2788
2857
|
event?: string;
|
|
2789
2858
|
data?: unknown[];
|
|
2790
2859
|
}>;
|
|
2860
|
+
saveListingPolicy: (params: SaveListingPolicyPathParams, payload: SaveListingPolicyPayload) => Promise<{
|
|
2861
|
+
message?: string;
|
|
2862
|
+
event?: string;
|
|
2863
|
+
data?: unknown[];
|
|
2864
|
+
}>;
|
|
2791
2865
|
savePropertyBasics: (params: SavePropertyBasicsPathParams, payload: SavePropertyBasicsPayload) => Promise<{
|
|
2792
2866
|
message?: string;
|
|
2793
2867
|
event?: string;
|
|
@@ -2866,6 +2940,8 @@ declare const landlord: {
|
|
|
2866
2940
|
uid?: string;
|
|
2867
2941
|
listing_type?: string;
|
|
2868
2942
|
vertical?: string;
|
|
2943
|
+
arrangement_type?: string;
|
|
2944
|
+
arrangement_type_label?: string;
|
|
2869
2945
|
price?: string | null;
|
|
2870
2946
|
state?: string;
|
|
2871
2947
|
published_at?: string | null;
|
|
@@ -2953,6 +3029,8 @@ declare const landlord: {
|
|
|
2953
3029
|
start_date?: string;
|
|
2954
3030
|
end_date?: string;
|
|
2955
3031
|
is_periodic?: boolean;
|
|
3032
|
+
company_name?: string | null;
|
|
3033
|
+
company_registration_number?: string | null;
|
|
2956
3034
|
created_at?: string;
|
|
2957
3035
|
}[];
|
|
2958
3036
|
links?: {
|
|
@@ -2989,6 +3067,8 @@ declare const landlord: {
|
|
|
2989
3067
|
start_date?: string;
|
|
2990
3068
|
end_date?: string;
|
|
2991
3069
|
is_periodic?: boolean;
|
|
3070
|
+
company_name?: string | null;
|
|
3071
|
+
company_registration_number?: string | null;
|
|
2992
3072
|
created_at?: string;
|
|
2993
3073
|
}[];
|
|
2994
3074
|
links?: {
|
|
@@ -3074,6 +3154,8 @@ declare const listings: {
|
|
|
3074
3154
|
};
|
|
3075
3155
|
listing_type?: string;
|
|
3076
3156
|
vertical?: string;
|
|
3157
|
+
arrangement_type?: string;
|
|
3158
|
+
arrangement_type_label?: string;
|
|
3077
3159
|
price?: {
|
|
3078
3160
|
amount?: string;
|
|
3079
3161
|
currency?: string;
|
|
@@ -3136,6 +3218,8 @@ declare const listings: {
|
|
|
3136
3218
|
};
|
|
3137
3219
|
listing_type?: string;
|
|
3138
3220
|
vertical?: string;
|
|
3221
|
+
arrangement_type?: string;
|
|
3222
|
+
arrangement_type_label?: string;
|
|
3139
3223
|
price?: {
|
|
3140
3224
|
amount?: string;
|
|
3141
3225
|
currency?: string;
|
|
@@ -3199,6 +3283,8 @@ declare const listings: {
|
|
|
3199
3283
|
};
|
|
3200
3284
|
listing_type?: string;
|
|
3201
3285
|
vertical?: string;
|
|
3286
|
+
arrangement_type?: string;
|
|
3287
|
+
arrangement_type_label?: string;
|
|
3202
3288
|
owner?: {
|
|
3203
3289
|
uid?: string;
|
|
3204
3290
|
name?: string;
|
|
@@ -3259,6 +3345,18 @@ declare const listings: {
|
|
|
3259
3345
|
deposit_amount?: string | null;
|
|
3260
3346
|
fixed_term_length?: string | null;
|
|
3261
3347
|
availability_date?: string | null;
|
|
3348
|
+
is_company_lease?: boolean;
|
|
3349
|
+
is_subletting_permitted?: boolean;
|
|
3350
|
+
};
|
|
3351
|
+
listing_policy?: {
|
|
3352
|
+
max_occupants?: number;
|
|
3353
|
+
allowed_use_type?: string;
|
|
3354
|
+
allowed_use_type_label?: string;
|
|
3355
|
+
is_subletting_allowed?: boolean;
|
|
3356
|
+
requires_permission_for_subletting?: boolean;
|
|
3357
|
+
event_permission_required?: boolean;
|
|
3358
|
+
no_party_policy?: boolean;
|
|
3359
|
+
commercial_use_flag?: boolean;
|
|
3262
3360
|
};
|
|
3263
3361
|
short_let?: {
|
|
3264
3362
|
nightly_price?: string;
|
|
@@ -3306,6 +3404,9 @@ declare const listings: {
|
|
|
3306
3404
|
validity_type?: string;
|
|
3307
3405
|
grace_period_days?: string | null;
|
|
3308
3406
|
status?: string;
|
|
3407
|
+
responsible_party?: string;
|
|
3408
|
+
responsible_party_label?: string;
|
|
3409
|
+
liability_exclusion_flag?: boolean;
|
|
3309
3410
|
requirements?: string[];
|
|
3310
3411
|
}[];
|
|
3311
3412
|
compliance_status?: {
|
|
@@ -3782,6 +3883,8 @@ declare const tenancy: {
|
|
|
3782
3883
|
start_date?: string;
|
|
3783
3884
|
end_date?: string;
|
|
3784
3885
|
is_periodic?: boolean;
|
|
3886
|
+
company_name?: string | null;
|
|
3887
|
+
company_registration_number?: string | null;
|
|
3785
3888
|
created_at?: string;
|
|
3786
3889
|
compliances?: unknown[];
|
|
3787
3890
|
compliance_status?: {
|
|
@@ -3802,6 +3905,8 @@ declare const tenancy: {
|
|
|
3802
3905
|
start_date?: string;
|
|
3803
3906
|
end_date?: string;
|
|
3804
3907
|
is_periodic?: boolean;
|
|
3908
|
+
company_name?: string | null;
|
|
3909
|
+
company_registration_number?: string | null;
|
|
3805
3910
|
created_at?: string;
|
|
3806
3911
|
};
|
|
3807
3912
|
}>;
|
|
@@ -4041,6 +4146,8 @@ declare const wishlist: {
|
|
|
4041
4146
|
uid?: string;
|
|
4042
4147
|
listing_type?: string;
|
|
4043
4148
|
vertical?: string;
|
|
4149
|
+
arrangement_type?: string | null;
|
|
4150
|
+
arrangement_type_label?: string | null;
|
|
4044
4151
|
price?: string | null;
|
|
4045
4152
|
state?: string;
|
|
4046
4153
|
published_at?: string | null;
|
|
@@ -4085,4 +4192,4 @@ declare const wishlist: {
|
|
|
4085
4192
|
}>;
|
|
4086
4193
|
};
|
|
4087
4194
|
|
|
4088
|
-
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 };
|
|
4195
|
+
export { ApiError, type ApiPathParams, type ApiQuery, type ApiRequest, type ApiResponse, type ApproveListingPathParams, type AssignComplianceToArrangementTypePathParams, type AssignComplianceToArrangementTypePayload, 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 SaveArrangementTypeAdminPathParams, type SaveArrangementTypeAdminPayload, type SaveArrangementTypePathParams, type SaveArrangementTypePayload, type SaveListingDetailsAdminPathParams, type SaveListingDetailsAdminPayload, type SaveListingDetailsPathParams, type SaveListingDetailsPayload, type SaveListingFeaturesAdminPathParams, type SaveListingFeaturesAdminPayload, type SaveListingFeaturesPathParams, type SaveListingFeaturesPayload, type SaveListingPolicyAdminPathParams, type SaveListingPolicyAdminPayload, type SaveListingPolicyPathParams, type SaveListingPolicyPayload, 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 };
|
package/dist/index.js
CHANGED
|
@@ -241,9 +241,15 @@ var admin = {
|
|
|
241
241
|
submitListing: (params) => {
|
|
242
242
|
return api.post("submitListingAdmin", `/api/v1/portal/admin/listing/${params.listing_uid}/submit`);
|
|
243
243
|
},
|
|
244
|
+
saveArrangementType: (params, payload) => {
|
|
245
|
+
return api.post("saveArrangementTypeAdmin", `/api/v1/portal/admin/listing/${params.listing_uid}/arrangement-type`, payload);
|
|
246
|
+
},
|
|
244
247
|
saveListingDetails: (params, payload) => {
|
|
245
248
|
return api.post("saveListingDetailsAdmin", `/api/v1/portal/admin/listing/${params.listing_uid}/listing-details`, payload);
|
|
246
249
|
},
|
|
250
|
+
saveListingPolicy: (params, payload) => {
|
|
251
|
+
return api.post("saveListingPolicyAdmin", `/api/v1/portal/admin/listing/${params.listing_uid}/listing-policy`, payload);
|
|
252
|
+
},
|
|
247
253
|
savePropertyBasics: (params, payload) => {
|
|
248
254
|
return api.post("savePropertyBasicsAdmin", `/api/v1/portal/admin/listing/${params.listing_uid}/property-basics`, payload);
|
|
249
255
|
},
|
|
@@ -448,6 +454,9 @@ var admin = {
|
|
|
448
454
|
assignComplianceToListingType: (params, payload) => {
|
|
449
455
|
return api.post("assignComplianceToListingType", `/api/v1/portal/admin/compliances/${params.compliance_id}/assign-to-listing-type`, payload);
|
|
450
456
|
},
|
|
457
|
+
assignComplianceToArrangementType: (params, payload) => {
|
|
458
|
+
return api.post("assignComplianceToArrangementType", `/api/v1/portal/admin/compliances/${params.compliance_id}/assign-to-arrangement-type`, payload);
|
|
459
|
+
},
|
|
451
460
|
listingHistoryInspection: (params, query) => {
|
|
452
461
|
return api.get("listingHistoryInspectionAdmin", `/api/v1/portal/admin/inspections/fetch-history/${params.listing_uid}`, query);
|
|
453
462
|
},
|
|
@@ -650,6 +659,9 @@ var landlord = {
|
|
|
650
659
|
updateDraftName: (params, payload) => {
|
|
651
660
|
return api.post("updateDraftName", `/api/v1/portal/landlord/listing/${params.listing_uid}/draft-name`, payload);
|
|
652
661
|
},
|
|
662
|
+
saveArrangementType: (params, payload) => {
|
|
663
|
+
return api.post("saveArrangementType", `/api/v1/portal/landlord/listing/${params.listing_uid}/arrangement-type`, payload);
|
|
664
|
+
},
|
|
653
665
|
getDraftListings: () => {
|
|
654
666
|
return api.get("getDraftListings", "/api/v1/portal/landlord/listing/drafts");
|
|
655
667
|
},
|
|
@@ -665,6 +677,9 @@ var landlord = {
|
|
|
665
677
|
saveListingDetails: (params, payload) => {
|
|
666
678
|
return api.post("saveListingDetails", `/api/v1/portal/landlord/listing/${params.listing_uid}/listing-details`, payload);
|
|
667
679
|
},
|
|
680
|
+
saveListingPolicy: (params, payload) => {
|
|
681
|
+
return api.post("saveListingPolicy", `/api/v1/portal/landlord/listing/${params.listing_uid}/listing-policy`, payload);
|
|
682
|
+
},
|
|
668
683
|
savePropertyBasics: (params, payload) => {
|
|
669
684
|
return api.post("savePropertyBasics", `/api/v1/portal/landlord/listing/${params.listing_uid}/property-basics`, payload);
|
|
670
685
|
},
|
package/dist/index.mjs
CHANGED
|
@@ -194,9 +194,15 @@ var admin = {
|
|
|
194
194
|
submitListing: (params) => {
|
|
195
195
|
return api.post("submitListingAdmin", `/api/v1/portal/admin/listing/${params.listing_uid}/submit`);
|
|
196
196
|
},
|
|
197
|
+
saveArrangementType: (params, payload) => {
|
|
198
|
+
return api.post("saveArrangementTypeAdmin", `/api/v1/portal/admin/listing/${params.listing_uid}/arrangement-type`, payload);
|
|
199
|
+
},
|
|
197
200
|
saveListingDetails: (params, payload) => {
|
|
198
201
|
return api.post("saveListingDetailsAdmin", `/api/v1/portal/admin/listing/${params.listing_uid}/listing-details`, payload);
|
|
199
202
|
},
|
|
203
|
+
saveListingPolicy: (params, payload) => {
|
|
204
|
+
return api.post("saveListingPolicyAdmin", `/api/v1/portal/admin/listing/${params.listing_uid}/listing-policy`, payload);
|
|
205
|
+
},
|
|
200
206
|
savePropertyBasics: (params, payload) => {
|
|
201
207
|
return api.post("savePropertyBasicsAdmin", `/api/v1/portal/admin/listing/${params.listing_uid}/property-basics`, payload);
|
|
202
208
|
},
|
|
@@ -401,6 +407,9 @@ var admin = {
|
|
|
401
407
|
assignComplianceToListingType: (params, payload) => {
|
|
402
408
|
return api.post("assignComplianceToListingType", `/api/v1/portal/admin/compliances/${params.compliance_id}/assign-to-listing-type`, payload);
|
|
403
409
|
},
|
|
410
|
+
assignComplianceToArrangementType: (params, payload) => {
|
|
411
|
+
return api.post("assignComplianceToArrangementType", `/api/v1/portal/admin/compliances/${params.compliance_id}/assign-to-arrangement-type`, payload);
|
|
412
|
+
},
|
|
404
413
|
listingHistoryInspection: (params, query) => {
|
|
405
414
|
return api.get("listingHistoryInspectionAdmin", `/api/v1/portal/admin/inspections/fetch-history/${params.listing_uid}`, query);
|
|
406
415
|
},
|
|
@@ -603,6 +612,9 @@ var landlord = {
|
|
|
603
612
|
updateDraftName: (params, payload) => {
|
|
604
613
|
return api.post("updateDraftName", `/api/v1/portal/landlord/listing/${params.listing_uid}/draft-name`, payload);
|
|
605
614
|
},
|
|
615
|
+
saveArrangementType: (params, payload) => {
|
|
616
|
+
return api.post("saveArrangementType", `/api/v1/portal/landlord/listing/${params.listing_uid}/arrangement-type`, payload);
|
|
617
|
+
},
|
|
606
618
|
getDraftListings: () => {
|
|
607
619
|
return api.get("getDraftListings", "/api/v1/portal/landlord/listing/drafts");
|
|
608
620
|
},
|
|
@@ -618,6 +630,9 @@ var landlord = {
|
|
|
618
630
|
saveListingDetails: (params, payload) => {
|
|
619
631
|
return api.post("saveListingDetails", `/api/v1/portal/landlord/listing/${params.listing_uid}/listing-details`, payload);
|
|
620
632
|
},
|
|
633
|
+
saveListingPolicy: (params, payload) => {
|
|
634
|
+
return api.post("saveListingPolicy", `/api/v1/portal/landlord/listing/${params.listing_uid}/listing-policy`, payload);
|
|
635
|
+
},
|
|
621
636
|
savePropertyBasics: (params, payload) => {
|
|
622
637
|
return api.post("savePropertyBasics", `/api/v1/portal/landlord/listing/${params.listing_uid}/property-basics`, payload);
|
|
623
638
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@justins-home/api-services",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.41",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"dist"
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@justins-home/http-client": "1.1.
|
|
20
|
-
"@justins-home/types": "1.1.
|
|
19
|
+
"@justins-home/http-client": "1.1.35",
|
|
20
|
+
"@justins-home/types": "1.1.34"
|
|
21
21
|
},
|
|
22
22
|
"publishConfig": {
|
|
23
23
|
"access": "public"
|