@justins-home/api-services 1.2.38 → 1.2.40
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 +112 -1
- package/dist/index.d.ts +112 -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;
|
|
@@ -987,6 +995,8 @@ declare const admin: {
|
|
|
987
995
|
uid?: string;
|
|
988
996
|
draft_name?: string | null;
|
|
989
997
|
sku?: string;
|
|
998
|
+
published_at?: string | null;
|
|
999
|
+
published_since?: string | null;
|
|
990
1000
|
details?: {
|
|
991
1001
|
title?: string;
|
|
992
1002
|
description?: string;
|
|
@@ -999,6 +1009,8 @@ declare const admin: {
|
|
|
999
1009
|
};
|
|
1000
1010
|
listing_type?: string;
|
|
1001
1011
|
vertical?: string;
|
|
1012
|
+
arrangement_type?: string;
|
|
1013
|
+
arrangement_type_label?: string;
|
|
1002
1014
|
owner?: {
|
|
1003
1015
|
uid?: string;
|
|
1004
1016
|
name?: string;
|
|
@@ -1059,6 +1071,18 @@ declare const admin: {
|
|
|
1059
1071
|
deposit_amount?: string | null;
|
|
1060
1072
|
fixed_term_length?: string | null;
|
|
1061
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;
|
|
1062
1086
|
};
|
|
1063
1087
|
short_let?: {
|
|
1064
1088
|
nightly_price?: string;
|
|
@@ -1106,6 +1130,9 @@ declare const admin: {
|
|
|
1106
1130
|
validity_type?: string;
|
|
1107
1131
|
grace_period_days?: string | null;
|
|
1108
1132
|
status?: string;
|
|
1133
|
+
responsible_party?: string;
|
|
1134
|
+
responsible_party_label?: string;
|
|
1135
|
+
liability_exclusion_flag?: boolean;
|
|
1109
1136
|
requirements?: string[];
|
|
1110
1137
|
}[];
|
|
1111
1138
|
compliance_status?: {
|
|
@@ -1131,6 +1158,8 @@ declare const admin: {
|
|
|
1131
1158
|
uid?: string;
|
|
1132
1159
|
listing_type?: string;
|
|
1133
1160
|
vertical?: string;
|
|
1161
|
+
arrangement_type?: string;
|
|
1162
|
+
arrangement_type_label?: string;
|
|
1134
1163
|
price?: string | null;
|
|
1135
1164
|
state?: string;
|
|
1136
1165
|
published_at?: string | null;
|
|
@@ -1143,7 +1172,9 @@ declare const admin: {
|
|
|
1143
1172
|
media?: unknown[];
|
|
1144
1173
|
};
|
|
1145
1174
|
}>;
|
|
1175
|
+
saveArrangementType: (params: SaveArrangementTypeAdminPathParams, payload: SaveArrangementTypeAdminPayload) => Promise<unknown>;
|
|
1146
1176
|
saveListingDetails: (params: SaveListingDetailsAdminPathParams, payload: SaveListingDetailsAdminPayload) => Promise<unknown>;
|
|
1177
|
+
saveListingPolicy: (params: SaveListingPolicyAdminPathParams, payload: SaveListingPolicyAdminPayload) => Promise<unknown>;
|
|
1147
1178
|
savePropertyBasics: (params: SavePropertyBasicsAdminPathParams, payload: SavePropertyBasicsAdminPayload) => Promise<unknown>;
|
|
1148
1179
|
savePricing: (params: SavePricingAdminPathParams, payload: SavePricingAdminPayload) => Promise<unknown>;
|
|
1149
1180
|
saveRentalDetails: (params: SaveRentalDetailsAdminPathParams, payload: SaveRentalDetailsAdminPayload) => Promise<unknown>;
|
|
@@ -1243,6 +1274,8 @@ declare const admin: {
|
|
|
1243
1274
|
uid?: string;
|
|
1244
1275
|
listing_type?: string;
|
|
1245
1276
|
vertical?: string;
|
|
1277
|
+
arrangement_type?: string;
|
|
1278
|
+
arrangement_type_label?: string;
|
|
1246
1279
|
price?: string | null;
|
|
1247
1280
|
state?: string;
|
|
1248
1281
|
published_at?: string | null;
|
|
@@ -1304,6 +1337,8 @@ declare const admin: {
|
|
|
1304
1337
|
uid?: string;
|
|
1305
1338
|
listing_type?: string;
|
|
1306
1339
|
vertical?: string;
|
|
1340
|
+
arrangement_type?: string;
|
|
1341
|
+
arrangement_type_label?: string;
|
|
1307
1342
|
price?: string | null;
|
|
1308
1343
|
state?: string;
|
|
1309
1344
|
published_at?: string | null;
|
|
@@ -1323,6 +1358,8 @@ declare const admin: {
|
|
|
1323
1358
|
uid?: string;
|
|
1324
1359
|
listing_type?: string;
|
|
1325
1360
|
vertical?: string;
|
|
1361
|
+
arrangement_type?: string;
|
|
1362
|
+
arrangement_type_label?: string;
|
|
1326
1363
|
price?: string | null;
|
|
1327
1364
|
state?: string;
|
|
1328
1365
|
published_at?: string | null;
|
|
@@ -1342,6 +1379,8 @@ declare const admin: {
|
|
|
1342
1379
|
uid?: string;
|
|
1343
1380
|
listing_type?: string;
|
|
1344
1381
|
vertical?: string;
|
|
1382
|
+
arrangement_type?: string;
|
|
1383
|
+
arrangement_type_label?: string;
|
|
1345
1384
|
price?: string | null;
|
|
1346
1385
|
state?: string;
|
|
1347
1386
|
published_at?: string | null;
|
|
@@ -1361,6 +1400,8 @@ declare const admin: {
|
|
|
1361
1400
|
uid?: string;
|
|
1362
1401
|
listing_type?: string;
|
|
1363
1402
|
vertical?: string;
|
|
1403
|
+
arrangement_type?: string;
|
|
1404
|
+
arrangement_type_label?: string;
|
|
1364
1405
|
price?: string | null;
|
|
1365
1406
|
state?: string;
|
|
1366
1407
|
published_at?: string | null;
|
|
@@ -1434,6 +1475,7 @@ declare const admin: {
|
|
|
1434
1475
|
name?: string;
|
|
1435
1476
|
description?: string;
|
|
1436
1477
|
display_order?: number;
|
|
1478
|
+
applicable_verticals?: string[];
|
|
1437
1479
|
is_active?: boolean;
|
|
1438
1480
|
}[];
|
|
1439
1481
|
}>;
|
|
@@ -1443,6 +1485,7 @@ declare const admin: {
|
|
|
1443
1485
|
name?: string;
|
|
1444
1486
|
description?: string;
|
|
1445
1487
|
display_order?: number;
|
|
1488
|
+
applicable_verticals?: string[];
|
|
1446
1489
|
is_active?: boolean;
|
|
1447
1490
|
};
|
|
1448
1491
|
}>;
|
|
@@ -1452,6 +1495,7 @@ declare const admin: {
|
|
|
1452
1495
|
name?: string;
|
|
1453
1496
|
description?: string;
|
|
1454
1497
|
display_order?: number;
|
|
1498
|
+
applicable_verticals?: string[];
|
|
1455
1499
|
is_active?: boolean;
|
|
1456
1500
|
};
|
|
1457
1501
|
}>;
|
|
@@ -1461,6 +1505,7 @@ declare const admin: {
|
|
|
1461
1505
|
name?: string;
|
|
1462
1506
|
description?: string;
|
|
1463
1507
|
display_order?: number;
|
|
1508
|
+
applicable_verticals?: string[];
|
|
1464
1509
|
is_active?: boolean;
|
|
1465
1510
|
};
|
|
1466
1511
|
}>;
|
|
@@ -1748,6 +1793,9 @@ declare const admin: {
|
|
|
1748
1793
|
validity_type?: string;
|
|
1749
1794
|
grace_period_days?: number;
|
|
1750
1795
|
status?: string;
|
|
1796
|
+
responsible_party?: string;
|
|
1797
|
+
responsible_party_label?: string;
|
|
1798
|
+
liability_exclusion_flag?: boolean;
|
|
1751
1799
|
};
|
|
1752
1800
|
}>;
|
|
1753
1801
|
updateComplianceDefinition: (params: UpdateComplianceDefinitionPathParams, payload: UpdateComplianceDefinitionPayload) => Promise<{
|
|
@@ -1760,6 +1808,9 @@ declare const admin: {
|
|
|
1760
1808
|
validity_type?: string;
|
|
1761
1809
|
grace_period_days?: number;
|
|
1762
1810
|
status?: string;
|
|
1811
|
+
responsible_party?: string;
|
|
1812
|
+
responsible_party_label?: string;
|
|
1813
|
+
liability_exclusion_flag?: boolean;
|
|
1763
1814
|
};
|
|
1764
1815
|
}>;
|
|
1765
1816
|
syncComplianceRequirements: (params: SyncComplianceRequirementsPathParams, payload: SyncComplianceRequirementsPayload) => Promise<unknown>;
|
|
@@ -1769,6 +1820,7 @@ declare const admin: {
|
|
|
1769
1820
|
assignComplianceToTenancy: (params: AssignComplianceToTenancyPathParams) => Promise<unknown>;
|
|
1770
1821
|
assignComplianceToListingVertical: (params: AssignComplianceToListingVerticalPathParams, payload: AssignComplianceToListingVerticalPayload) => Promise<unknown>;
|
|
1771
1822
|
assignComplianceToListingType: (params: AssignComplianceToListingTypePathParams, payload: AssignComplianceToListingTypePayload) => Promise<unknown>;
|
|
1823
|
+
assignComplianceToArrangementType: (params: AssignComplianceToArrangementTypePathParams, payload: AssignComplianceToArrangementTypePayload) => Promise<unknown>;
|
|
1772
1824
|
listingHistoryInspection: (params: ListingHistoryInspectionAdminPathParams, query?: ListingHistoryInspectionAdminQuery) => Promise<{
|
|
1773
1825
|
message?: string;
|
|
1774
1826
|
event?: string | null;
|
|
@@ -2156,6 +2208,7 @@ declare const booking: {
|
|
|
2156
2208
|
listing_id?: string | null;
|
|
2157
2209
|
guest_id?: string | null;
|
|
2158
2210
|
host_id?: string | null;
|
|
2211
|
+
guest_count?: string | null;
|
|
2159
2212
|
start_date?: string | null;
|
|
2160
2213
|
end_date?: string | null;
|
|
2161
2214
|
nights?: string | null;
|
|
@@ -2172,6 +2225,7 @@ declare const booking: {
|
|
|
2172
2225
|
listing_id?: string | null;
|
|
2173
2226
|
guest_id?: string | null;
|
|
2174
2227
|
host_id?: string | null;
|
|
2228
|
+
guest_count?: string | null;
|
|
2175
2229
|
start_date?: string | null;
|
|
2176
2230
|
end_date?: string | null;
|
|
2177
2231
|
nights?: string | null;
|
|
@@ -2188,6 +2242,7 @@ declare const booking: {
|
|
|
2188
2242
|
listing_id?: string | null;
|
|
2189
2243
|
guest_id?: string | null;
|
|
2190
2244
|
host_id?: string | null;
|
|
2245
|
+
guest_count?: string | null;
|
|
2191
2246
|
start_date?: string | null;
|
|
2192
2247
|
end_date?: string | null;
|
|
2193
2248
|
nights?: string | null;
|
|
@@ -2204,6 +2259,7 @@ declare const booking: {
|
|
|
2204
2259
|
listing_id?: string | null;
|
|
2205
2260
|
guest_id?: string | null;
|
|
2206
2261
|
host_id?: string | null;
|
|
2262
|
+
guest_count?: string | null;
|
|
2207
2263
|
start_date?: string | null;
|
|
2208
2264
|
end_date?: string | null;
|
|
2209
2265
|
nights?: string | null;
|
|
@@ -2374,9 +2430,13 @@ type UpdateProfilePayload = ApiRequest<'updateProfile'>;
|
|
|
2374
2430
|
type CreateListingDraftPayload = ApiRequest<'createListingDraft'>;
|
|
2375
2431
|
type UpdateDraftNamePathParams = ApiPathParams<'updateDraftName'>;
|
|
2376
2432
|
type UpdateDraftNamePayload = ApiRequest<'updateDraftName'>;
|
|
2433
|
+
type SaveArrangementTypePathParams = ApiPathParams<'saveArrangementType'>;
|
|
2434
|
+
type SaveArrangementTypePayload = ApiRequest<'saveArrangementType'>;
|
|
2377
2435
|
type GetOwnerListingPathParams = ApiPathParams<'getOwnerListing'>;
|
|
2378
2436
|
type SaveListingDetailsPathParams = ApiPathParams<'saveListingDetails'>;
|
|
2379
2437
|
type SaveListingDetailsPayload = ApiRequest<'saveListingDetails'>;
|
|
2438
|
+
type SaveListingPolicyPathParams = ApiPathParams<'saveListingPolicy'>;
|
|
2439
|
+
type SaveListingPolicyPayload = ApiRequest<'saveListingPolicy'>;
|
|
2380
2440
|
type SavePropertyBasicsPathParams = ApiPathParams<'savePropertyBasics'>;
|
|
2381
2441
|
type SavePropertyBasicsPayload = ApiRequest<'savePropertyBasics'>;
|
|
2382
2442
|
type SavePricingPathParams = ApiPathParams<'savePricing'>;
|
|
@@ -2616,6 +2676,8 @@ declare const landlord: {
|
|
|
2616
2676
|
uid?: string;
|
|
2617
2677
|
listing_type?: string;
|
|
2618
2678
|
vertical?: string;
|
|
2679
|
+
arrangement_type?: string;
|
|
2680
|
+
arrangement_type_label?: string;
|
|
2619
2681
|
price?: string | null;
|
|
2620
2682
|
state?: string;
|
|
2621
2683
|
published_at?: string | null;
|
|
@@ -2633,6 +2695,11 @@ declare const landlord: {
|
|
|
2633
2695
|
event?: string | null;
|
|
2634
2696
|
data?: unknown[];
|
|
2635
2697
|
}>;
|
|
2698
|
+
saveArrangementType: (params: SaveArrangementTypePathParams, payload: SaveArrangementTypePayload) => Promise<{
|
|
2699
|
+
message?: string;
|
|
2700
|
+
event?: string;
|
|
2701
|
+
data?: unknown[];
|
|
2702
|
+
}>;
|
|
2636
2703
|
getDraftListings: () => Promise<{
|
|
2637
2704
|
data?: {
|
|
2638
2705
|
draft_name?: string;
|
|
@@ -2640,6 +2707,8 @@ declare const landlord: {
|
|
|
2640
2707
|
uid?: string;
|
|
2641
2708
|
listing_type?: string;
|
|
2642
2709
|
vertical?: string;
|
|
2710
|
+
arrangement_type?: string;
|
|
2711
|
+
arrangement_type_label?: string;
|
|
2643
2712
|
price?: string | null;
|
|
2644
2713
|
state?: string;
|
|
2645
2714
|
published_at?: string | null;
|
|
@@ -2680,6 +2749,8 @@ declare const landlord: {
|
|
|
2680
2749
|
uid?: string;
|
|
2681
2750
|
listing_type?: string;
|
|
2682
2751
|
vertical?: string;
|
|
2752
|
+
arrangement_type?: string;
|
|
2753
|
+
arrangement_type_label?: string;
|
|
2683
2754
|
price?: string | null;
|
|
2684
2755
|
state?: string;
|
|
2685
2756
|
published_at?: string | null;
|
|
@@ -2720,6 +2791,8 @@ declare const landlord: {
|
|
|
2720
2791
|
uid?: string;
|
|
2721
2792
|
listing_type?: string;
|
|
2722
2793
|
vertical?: string;
|
|
2794
|
+
arrangement_type?: string;
|
|
2795
|
+
arrangement_type_label?: string;
|
|
2723
2796
|
price?: string | null;
|
|
2724
2797
|
state?: string;
|
|
2725
2798
|
published_at?: string | null;
|
|
@@ -2760,6 +2833,8 @@ declare const landlord: {
|
|
|
2760
2833
|
uid?: string;
|
|
2761
2834
|
listing_type?: string;
|
|
2762
2835
|
vertical?: string;
|
|
2836
|
+
arrangement_type?: string;
|
|
2837
|
+
arrangement_type_label?: string;
|
|
2763
2838
|
price?: string | null;
|
|
2764
2839
|
state?: string;
|
|
2765
2840
|
published_at?: string | null;
|
|
@@ -2782,6 +2857,11 @@ declare const landlord: {
|
|
|
2782
2857
|
event?: string;
|
|
2783
2858
|
data?: unknown[];
|
|
2784
2859
|
}>;
|
|
2860
|
+
saveListingPolicy: (params: SaveListingPolicyPathParams, payload: SaveListingPolicyPayload) => Promise<{
|
|
2861
|
+
message?: string;
|
|
2862
|
+
event?: string;
|
|
2863
|
+
data?: unknown[];
|
|
2864
|
+
}>;
|
|
2785
2865
|
savePropertyBasics: (params: SavePropertyBasicsPathParams, payload: SavePropertyBasicsPayload) => Promise<{
|
|
2786
2866
|
message?: string;
|
|
2787
2867
|
event?: string;
|
|
@@ -2860,6 +2940,8 @@ declare const landlord: {
|
|
|
2860
2940
|
uid?: string;
|
|
2861
2941
|
listing_type?: string;
|
|
2862
2942
|
vertical?: string;
|
|
2943
|
+
arrangement_type?: string;
|
|
2944
|
+
arrangement_type_label?: string;
|
|
2863
2945
|
price?: string | null;
|
|
2864
2946
|
state?: string;
|
|
2865
2947
|
published_at?: string | null;
|
|
@@ -2947,6 +3029,8 @@ declare const landlord: {
|
|
|
2947
3029
|
start_date?: string;
|
|
2948
3030
|
end_date?: string;
|
|
2949
3031
|
is_periodic?: boolean;
|
|
3032
|
+
company_name?: string | null;
|
|
3033
|
+
company_registration_number?: string | null;
|
|
2950
3034
|
created_at?: string;
|
|
2951
3035
|
}[];
|
|
2952
3036
|
links?: {
|
|
@@ -2983,6 +3067,8 @@ declare const landlord: {
|
|
|
2983
3067
|
start_date?: string;
|
|
2984
3068
|
end_date?: string;
|
|
2985
3069
|
is_periodic?: boolean;
|
|
3070
|
+
company_name?: string | null;
|
|
3071
|
+
company_registration_number?: string | null;
|
|
2986
3072
|
created_at?: string;
|
|
2987
3073
|
}[];
|
|
2988
3074
|
links?: {
|
|
@@ -3179,6 +3265,8 @@ declare const listings: {
|
|
|
3179
3265
|
uid?: string;
|
|
3180
3266
|
draft_name?: string | null;
|
|
3181
3267
|
sku?: string;
|
|
3268
|
+
published_at?: string;
|
|
3269
|
+
published_since?: string;
|
|
3182
3270
|
details?: {
|
|
3183
3271
|
title?: string;
|
|
3184
3272
|
description?: string;
|
|
@@ -3191,6 +3279,8 @@ declare const listings: {
|
|
|
3191
3279
|
};
|
|
3192
3280
|
listing_type?: string;
|
|
3193
3281
|
vertical?: string;
|
|
3282
|
+
arrangement_type?: string;
|
|
3283
|
+
arrangement_type_label?: string;
|
|
3194
3284
|
owner?: {
|
|
3195
3285
|
uid?: string;
|
|
3196
3286
|
name?: string;
|
|
@@ -3251,6 +3341,18 @@ declare const listings: {
|
|
|
3251
3341
|
deposit_amount?: string | null;
|
|
3252
3342
|
fixed_term_length?: string | null;
|
|
3253
3343
|
availability_date?: string | null;
|
|
3344
|
+
is_company_lease?: boolean;
|
|
3345
|
+
is_subletting_permitted?: boolean;
|
|
3346
|
+
};
|
|
3347
|
+
listing_policy?: {
|
|
3348
|
+
max_occupants?: number;
|
|
3349
|
+
allowed_use_type?: string;
|
|
3350
|
+
allowed_use_type_label?: string;
|
|
3351
|
+
is_subletting_allowed?: boolean;
|
|
3352
|
+
requires_permission_for_subletting?: boolean;
|
|
3353
|
+
event_permission_required?: boolean;
|
|
3354
|
+
no_party_policy?: boolean;
|
|
3355
|
+
commercial_use_flag?: boolean;
|
|
3254
3356
|
};
|
|
3255
3357
|
short_let?: {
|
|
3256
3358
|
nightly_price?: string;
|
|
@@ -3298,6 +3400,9 @@ declare const listings: {
|
|
|
3298
3400
|
validity_type?: string;
|
|
3299
3401
|
grace_period_days?: string | null;
|
|
3300
3402
|
status?: string;
|
|
3403
|
+
responsible_party?: string;
|
|
3404
|
+
responsible_party_label?: string;
|
|
3405
|
+
liability_exclusion_flag?: boolean;
|
|
3301
3406
|
requirements?: string[];
|
|
3302
3407
|
}[];
|
|
3303
3408
|
compliance_status?: {
|
|
@@ -3774,6 +3879,8 @@ declare const tenancy: {
|
|
|
3774
3879
|
start_date?: string;
|
|
3775
3880
|
end_date?: string;
|
|
3776
3881
|
is_periodic?: boolean;
|
|
3882
|
+
company_name?: string | null;
|
|
3883
|
+
company_registration_number?: string | null;
|
|
3777
3884
|
created_at?: string;
|
|
3778
3885
|
compliances?: unknown[];
|
|
3779
3886
|
compliance_status?: {
|
|
@@ -3794,6 +3901,8 @@ declare const tenancy: {
|
|
|
3794
3901
|
start_date?: string;
|
|
3795
3902
|
end_date?: string;
|
|
3796
3903
|
is_periodic?: boolean;
|
|
3904
|
+
company_name?: string | null;
|
|
3905
|
+
company_registration_number?: string | null;
|
|
3797
3906
|
created_at?: string;
|
|
3798
3907
|
};
|
|
3799
3908
|
}>;
|
|
@@ -4033,6 +4142,8 @@ declare const wishlist: {
|
|
|
4033
4142
|
uid?: string;
|
|
4034
4143
|
listing_type?: string;
|
|
4035
4144
|
vertical?: string;
|
|
4145
|
+
arrangement_type?: string | null;
|
|
4146
|
+
arrangement_type_label?: string | null;
|
|
4036
4147
|
price?: string | null;
|
|
4037
4148
|
state?: string;
|
|
4038
4149
|
published_at?: string | null;
|
|
@@ -4077,4 +4188,4 @@ declare const wishlist: {
|
|
|
4077
4188
|
}>;
|
|
4078
4189
|
};
|
|
4079
4190
|
|
|
4080
|
-
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 };
|
|
4191
|
+
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;
|
|
@@ -987,6 +995,8 @@ declare const admin: {
|
|
|
987
995
|
uid?: string;
|
|
988
996
|
draft_name?: string | null;
|
|
989
997
|
sku?: string;
|
|
998
|
+
published_at?: string | null;
|
|
999
|
+
published_since?: string | null;
|
|
990
1000
|
details?: {
|
|
991
1001
|
title?: string;
|
|
992
1002
|
description?: string;
|
|
@@ -999,6 +1009,8 @@ declare const admin: {
|
|
|
999
1009
|
};
|
|
1000
1010
|
listing_type?: string;
|
|
1001
1011
|
vertical?: string;
|
|
1012
|
+
arrangement_type?: string;
|
|
1013
|
+
arrangement_type_label?: string;
|
|
1002
1014
|
owner?: {
|
|
1003
1015
|
uid?: string;
|
|
1004
1016
|
name?: string;
|
|
@@ -1059,6 +1071,18 @@ declare const admin: {
|
|
|
1059
1071
|
deposit_amount?: string | null;
|
|
1060
1072
|
fixed_term_length?: string | null;
|
|
1061
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;
|
|
1062
1086
|
};
|
|
1063
1087
|
short_let?: {
|
|
1064
1088
|
nightly_price?: string;
|
|
@@ -1106,6 +1130,9 @@ declare const admin: {
|
|
|
1106
1130
|
validity_type?: string;
|
|
1107
1131
|
grace_period_days?: string | null;
|
|
1108
1132
|
status?: string;
|
|
1133
|
+
responsible_party?: string;
|
|
1134
|
+
responsible_party_label?: string;
|
|
1135
|
+
liability_exclusion_flag?: boolean;
|
|
1109
1136
|
requirements?: string[];
|
|
1110
1137
|
}[];
|
|
1111
1138
|
compliance_status?: {
|
|
@@ -1131,6 +1158,8 @@ declare const admin: {
|
|
|
1131
1158
|
uid?: string;
|
|
1132
1159
|
listing_type?: string;
|
|
1133
1160
|
vertical?: string;
|
|
1161
|
+
arrangement_type?: string;
|
|
1162
|
+
arrangement_type_label?: string;
|
|
1134
1163
|
price?: string | null;
|
|
1135
1164
|
state?: string;
|
|
1136
1165
|
published_at?: string | null;
|
|
@@ -1143,7 +1172,9 @@ declare const admin: {
|
|
|
1143
1172
|
media?: unknown[];
|
|
1144
1173
|
};
|
|
1145
1174
|
}>;
|
|
1175
|
+
saveArrangementType: (params: SaveArrangementTypeAdminPathParams, payload: SaveArrangementTypeAdminPayload) => Promise<unknown>;
|
|
1146
1176
|
saveListingDetails: (params: SaveListingDetailsAdminPathParams, payload: SaveListingDetailsAdminPayload) => Promise<unknown>;
|
|
1177
|
+
saveListingPolicy: (params: SaveListingPolicyAdminPathParams, payload: SaveListingPolicyAdminPayload) => Promise<unknown>;
|
|
1147
1178
|
savePropertyBasics: (params: SavePropertyBasicsAdminPathParams, payload: SavePropertyBasicsAdminPayload) => Promise<unknown>;
|
|
1148
1179
|
savePricing: (params: SavePricingAdminPathParams, payload: SavePricingAdminPayload) => Promise<unknown>;
|
|
1149
1180
|
saveRentalDetails: (params: SaveRentalDetailsAdminPathParams, payload: SaveRentalDetailsAdminPayload) => Promise<unknown>;
|
|
@@ -1243,6 +1274,8 @@ declare const admin: {
|
|
|
1243
1274
|
uid?: string;
|
|
1244
1275
|
listing_type?: string;
|
|
1245
1276
|
vertical?: string;
|
|
1277
|
+
arrangement_type?: string;
|
|
1278
|
+
arrangement_type_label?: string;
|
|
1246
1279
|
price?: string | null;
|
|
1247
1280
|
state?: string;
|
|
1248
1281
|
published_at?: string | null;
|
|
@@ -1304,6 +1337,8 @@ declare const admin: {
|
|
|
1304
1337
|
uid?: string;
|
|
1305
1338
|
listing_type?: string;
|
|
1306
1339
|
vertical?: string;
|
|
1340
|
+
arrangement_type?: string;
|
|
1341
|
+
arrangement_type_label?: string;
|
|
1307
1342
|
price?: string | null;
|
|
1308
1343
|
state?: string;
|
|
1309
1344
|
published_at?: string | null;
|
|
@@ -1323,6 +1358,8 @@ declare const admin: {
|
|
|
1323
1358
|
uid?: string;
|
|
1324
1359
|
listing_type?: string;
|
|
1325
1360
|
vertical?: string;
|
|
1361
|
+
arrangement_type?: string;
|
|
1362
|
+
arrangement_type_label?: string;
|
|
1326
1363
|
price?: string | null;
|
|
1327
1364
|
state?: string;
|
|
1328
1365
|
published_at?: string | null;
|
|
@@ -1342,6 +1379,8 @@ declare const admin: {
|
|
|
1342
1379
|
uid?: string;
|
|
1343
1380
|
listing_type?: string;
|
|
1344
1381
|
vertical?: string;
|
|
1382
|
+
arrangement_type?: string;
|
|
1383
|
+
arrangement_type_label?: string;
|
|
1345
1384
|
price?: string | null;
|
|
1346
1385
|
state?: string;
|
|
1347
1386
|
published_at?: string | null;
|
|
@@ -1361,6 +1400,8 @@ declare const admin: {
|
|
|
1361
1400
|
uid?: string;
|
|
1362
1401
|
listing_type?: string;
|
|
1363
1402
|
vertical?: string;
|
|
1403
|
+
arrangement_type?: string;
|
|
1404
|
+
arrangement_type_label?: string;
|
|
1364
1405
|
price?: string | null;
|
|
1365
1406
|
state?: string;
|
|
1366
1407
|
published_at?: string | null;
|
|
@@ -1434,6 +1475,7 @@ declare const admin: {
|
|
|
1434
1475
|
name?: string;
|
|
1435
1476
|
description?: string;
|
|
1436
1477
|
display_order?: number;
|
|
1478
|
+
applicable_verticals?: string[];
|
|
1437
1479
|
is_active?: boolean;
|
|
1438
1480
|
}[];
|
|
1439
1481
|
}>;
|
|
@@ -1443,6 +1485,7 @@ declare const admin: {
|
|
|
1443
1485
|
name?: string;
|
|
1444
1486
|
description?: string;
|
|
1445
1487
|
display_order?: number;
|
|
1488
|
+
applicable_verticals?: string[];
|
|
1446
1489
|
is_active?: boolean;
|
|
1447
1490
|
};
|
|
1448
1491
|
}>;
|
|
@@ -1452,6 +1495,7 @@ declare const admin: {
|
|
|
1452
1495
|
name?: string;
|
|
1453
1496
|
description?: string;
|
|
1454
1497
|
display_order?: number;
|
|
1498
|
+
applicable_verticals?: string[];
|
|
1455
1499
|
is_active?: boolean;
|
|
1456
1500
|
};
|
|
1457
1501
|
}>;
|
|
@@ -1461,6 +1505,7 @@ declare const admin: {
|
|
|
1461
1505
|
name?: string;
|
|
1462
1506
|
description?: string;
|
|
1463
1507
|
display_order?: number;
|
|
1508
|
+
applicable_verticals?: string[];
|
|
1464
1509
|
is_active?: boolean;
|
|
1465
1510
|
};
|
|
1466
1511
|
}>;
|
|
@@ -1748,6 +1793,9 @@ declare const admin: {
|
|
|
1748
1793
|
validity_type?: string;
|
|
1749
1794
|
grace_period_days?: number;
|
|
1750
1795
|
status?: string;
|
|
1796
|
+
responsible_party?: string;
|
|
1797
|
+
responsible_party_label?: string;
|
|
1798
|
+
liability_exclusion_flag?: boolean;
|
|
1751
1799
|
};
|
|
1752
1800
|
}>;
|
|
1753
1801
|
updateComplianceDefinition: (params: UpdateComplianceDefinitionPathParams, payload: UpdateComplianceDefinitionPayload) => Promise<{
|
|
@@ -1760,6 +1808,9 @@ declare const admin: {
|
|
|
1760
1808
|
validity_type?: string;
|
|
1761
1809
|
grace_period_days?: number;
|
|
1762
1810
|
status?: string;
|
|
1811
|
+
responsible_party?: string;
|
|
1812
|
+
responsible_party_label?: string;
|
|
1813
|
+
liability_exclusion_flag?: boolean;
|
|
1763
1814
|
};
|
|
1764
1815
|
}>;
|
|
1765
1816
|
syncComplianceRequirements: (params: SyncComplianceRequirementsPathParams, payload: SyncComplianceRequirementsPayload) => Promise<unknown>;
|
|
@@ -1769,6 +1820,7 @@ declare const admin: {
|
|
|
1769
1820
|
assignComplianceToTenancy: (params: AssignComplianceToTenancyPathParams) => Promise<unknown>;
|
|
1770
1821
|
assignComplianceToListingVertical: (params: AssignComplianceToListingVerticalPathParams, payload: AssignComplianceToListingVerticalPayload) => Promise<unknown>;
|
|
1771
1822
|
assignComplianceToListingType: (params: AssignComplianceToListingTypePathParams, payload: AssignComplianceToListingTypePayload) => Promise<unknown>;
|
|
1823
|
+
assignComplianceToArrangementType: (params: AssignComplianceToArrangementTypePathParams, payload: AssignComplianceToArrangementTypePayload) => Promise<unknown>;
|
|
1772
1824
|
listingHistoryInspection: (params: ListingHistoryInspectionAdminPathParams, query?: ListingHistoryInspectionAdminQuery) => Promise<{
|
|
1773
1825
|
message?: string;
|
|
1774
1826
|
event?: string | null;
|
|
@@ -2156,6 +2208,7 @@ declare const booking: {
|
|
|
2156
2208
|
listing_id?: string | null;
|
|
2157
2209
|
guest_id?: string | null;
|
|
2158
2210
|
host_id?: string | null;
|
|
2211
|
+
guest_count?: string | null;
|
|
2159
2212
|
start_date?: string | null;
|
|
2160
2213
|
end_date?: string | null;
|
|
2161
2214
|
nights?: string | null;
|
|
@@ -2172,6 +2225,7 @@ declare const booking: {
|
|
|
2172
2225
|
listing_id?: string | null;
|
|
2173
2226
|
guest_id?: string | null;
|
|
2174
2227
|
host_id?: string | null;
|
|
2228
|
+
guest_count?: string | null;
|
|
2175
2229
|
start_date?: string | null;
|
|
2176
2230
|
end_date?: string | null;
|
|
2177
2231
|
nights?: string | null;
|
|
@@ -2188,6 +2242,7 @@ declare const booking: {
|
|
|
2188
2242
|
listing_id?: string | null;
|
|
2189
2243
|
guest_id?: string | null;
|
|
2190
2244
|
host_id?: string | null;
|
|
2245
|
+
guest_count?: string | null;
|
|
2191
2246
|
start_date?: string | null;
|
|
2192
2247
|
end_date?: string | null;
|
|
2193
2248
|
nights?: string | null;
|
|
@@ -2204,6 +2259,7 @@ declare const booking: {
|
|
|
2204
2259
|
listing_id?: string | null;
|
|
2205
2260
|
guest_id?: string | null;
|
|
2206
2261
|
host_id?: string | null;
|
|
2262
|
+
guest_count?: string | null;
|
|
2207
2263
|
start_date?: string | null;
|
|
2208
2264
|
end_date?: string | null;
|
|
2209
2265
|
nights?: string | null;
|
|
@@ -2374,9 +2430,13 @@ type UpdateProfilePayload = ApiRequest<'updateProfile'>;
|
|
|
2374
2430
|
type CreateListingDraftPayload = ApiRequest<'createListingDraft'>;
|
|
2375
2431
|
type UpdateDraftNamePathParams = ApiPathParams<'updateDraftName'>;
|
|
2376
2432
|
type UpdateDraftNamePayload = ApiRequest<'updateDraftName'>;
|
|
2433
|
+
type SaveArrangementTypePathParams = ApiPathParams<'saveArrangementType'>;
|
|
2434
|
+
type SaveArrangementTypePayload = ApiRequest<'saveArrangementType'>;
|
|
2377
2435
|
type GetOwnerListingPathParams = ApiPathParams<'getOwnerListing'>;
|
|
2378
2436
|
type SaveListingDetailsPathParams = ApiPathParams<'saveListingDetails'>;
|
|
2379
2437
|
type SaveListingDetailsPayload = ApiRequest<'saveListingDetails'>;
|
|
2438
|
+
type SaveListingPolicyPathParams = ApiPathParams<'saveListingPolicy'>;
|
|
2439
|
+
type SaveListingPolicyPayload = ApiRequest<'saveListingPolicy'>;
|
|
2380
2440
|
type SavePropertyBasicsPathParams = ApiPathParams<'savePropertyBasics'>;
|
|
2381
2441
|
type SavePropertyBasicsPayload = ApiRequest<'savePropertyBasics'>;
|
|
2382
2442
|
type SavePricingPathParams = ApiPathParams<'savePricing'>;
|
|
@@ -2616,6 +2676,8 @@ declare const landlord: {
|
|
|
2616
2676
|
uid?: string;
|
|
2617
2677
|
listing_type?: string;
|
|
2618
2678
|
vertical?: string;
|
|
2679
|
+
arrangement_type?: string;
|
|
2680
|
+
arrangement_type_label?: string;
|
|
2619
2681
|
price?: string | null;
|
|
2620
2682
|
state?: string;
|
|
2621
2683
|
published_at?: string | null;
|
|
@@ -2633,6 +2695,11 @@ declare const landlord: {
|
|
|
2633
2695
|
event?: string | null;
|
|
2634
2696
|
data?: unknown[];
|
|
2635
2697
|
}>;
|
|
2698
|
+
saveArrangementType: (params: SaveArrangementTypePathParams, payload: SaveArrangementTypePayload) => Promise<{
|
|
2699
|
+
message?: string;
|
|
2700
|
+
event?: string;
|
|
2701
|
+
data?: unknown[];
|
|
2702
|
+
}>;
|
|
2636
2703
|
getDraftListings: () => Promise<{
|
|
2637
2704
|
data?: {
|
|
2638
2705
|
draft_name?: string;
|
|
@@ -2640,6 +2707,8 @@ declare const landlord: {
|
|
|
2640
2707
|
uid?: string;
|
|
2641
2708
|
listing_type?: string;
|
|
2642
2709
|
vertical?: string;
|
|
2710
|
+
arrangement_type?: string;
|
|
2711
|
+
arrangement_type_label?: string;
|
|
2643
2712
|
price?: string | null;
|
|
2644
2713
|
state?: string;
|
|
2645
2714
|
published_at?: string | null;
|
|
@@ -2680,6 +2749,8 @@ declare const landlord: {
|
|
|
2680
2749
|
uid?: string;
|
|
2681
2750
|
listing_type?: string;
|
|
2682
2751
|
vertical?: string;
|
|
2752
|
+
arrangement_type?: string;
|
|
2753
|
+
arrangement_type_label?: string;
|
|
2683
2754
|
price?: string | null;
|
|
2684
2755
|
state?: string;
|
|
2685
2756
|
published_at?: string | null;
|
|
@@ -2720,6 +2791,8 @@ declare const landlord: {
|
|
|
2720
2791
|
uid?: string;
|
|
2721
2792
|
listing_type?: string;
|
|
2722
2793
|
vertical?: string;
|
|
2794
|
+
arrangement_type?: string;
|
|
2795
|
+
arrangement_type_label?: string;
|
|
2723
2796
|
price?: string | null;
|
|
2724
2797
|
state?: string;
|
|
2725
2798
|
published_at?: string | null;
|
|
@@ -2760,6 +2833,8 @@ declare const landlord: {
|
|
|
2760
2833
|
uid?: string;
|
|
2761
2834
|
listing_type?: string;
|
|
2762
2835
|
vertical?: string;
|
|
2836
|
+
arrangement_type?: string;
|
|
2837
|
+
arrangement_type_label?: string;
|
|
2763
2838
|
price?: string | null;
|
|
2764
2839
|
state?: string;
|
|
2765
2840
|
published_at?: string | null;
|
|
@@ -2782,6 +2857,11 @@ declare const landlord: {
|
|
|
2782
2857
|
event?: string;
|
|
2783
2858
|
data?: unknown[];
|
|
2784
2859
|
}>;
|
|
2860
|
+
saveListingPolicy: (params: SaveListingPolicyPathParams, payload: SaveListingPolicyPayload) => Promise<{
|
|
2861
|
+
message?: string;
|
|
2862
|
+
event?: string;
|
|
2863
|
+
data?: unknown[];
|
|
2864
|
+
}>;
|
|
2785
2865
|
savePropertyBasics: (params: SavePropertyBasicsPathParams, payload: SavePropertyBasicsPayload) => Promise<{
|
|
2786
2866
|
message?: string;
|
|
2787
2867
|
event?: string;
|
|
@@ -2860,6 +2940,8 @@ declare const landlord: {
|
|
|
2860
2940
|
uid?: string;
|
|
2861
2941
|
listing_type?: string;
|
|
2862
2942
|
vertical?: string;
|
|
2943
|
+
arrangement_type?: string;
|
|
2944
|
+
arrangement_type_label?: string;
|
|
2863
2945
|
price?: string | null;
|
|
2864
2946
|
state?: string;
|
|
2865
2947
|
published_at?: string | null;
|
|
@@ -2947,6 +3029,8 @@ declare const landlord: {
|
|
|
2947
3029
|
start_date?: string;
|
|
2948
3030
|
end_date?: string;
|
|
2949
3031
|
is_periodic?: boolean;
|
|
3032
|
+
company_name?: string | null;
|
|
3033
|
+
company_registration_number?: string | null;
|
|
2950
3034
|
created_at?: string;
|
|
2951
3035
|
}[];
|
|
2952
3036
|
links?: {
|
|
@@ -2983,6 +3067,8 @@ declare const landlord: {
|
|
|
2983
3067
|
start_date?: string;
|
|
2984
3068
|
end_date?: string;
|
|
2985
3069
|
is_periodic?: boolean;
|
|
3070
|
+
company_name?: string | null;
|
|
3071
|
+
company_registration_number?: string | null;
|
|
2986
3072
|
created_at?: string;
|
|
2987
3073
|
}[];
|
|
2988
3074
|
links?: {
|
|
@@ -3179,6 +3265,8 @@ declare const listings: {
|
|
|
3179
3265
|
uid?: string;
|
|
3180
3266
|
draft_name?: string | null;
|
|
3181
3267
|
sku?: string;
|
|
3268
|
+
published_at?: string;
|
|
3269
|
+
published_since?: string;
|
|
3182
3270
|
details?: {
|
|
3183
3271
|
title?: string;
|
|
3184
3272
|
description?: string;
|
|
@@ -3191,6 +3279,8 @@ declare const listings: {
|
|
|
3191
3279
|
};
|
|
3192
3280
|
listing_type?: string;
|
|
3193
3281
|
vertical?: string;
|
|
3282
|
+
arrangement_type?: string;
|
|
3283
|
+
arrangement_type_label?: string;
|
|
3194
3284
|
owner?: {
|
|
3195
3285
|
uid?: string;
|
|
3196
3286
|
name?: string;
|
|
@@ -3251,6 +3341,18 @@ declare const listings: {
|
|
|
3251
3341
|
deposit_amount?: string | null;
|
|
3252
3342
|
fixed_term_length?: string | null;
|
|
3253
3343
|
availability_date?: string | null;
|
|
3344
|
+
is_company_lease?: boolean;
|
|
3345
|
+
is_subletting_permitted?: boolean;
|
|
3346
|
+
};
|
|
3347
|
+
listing_policy?: {
|
|
3348
|
+
max_occupants?: number;
|
|
3349
|
+
allowed_use_type?: string;
|
|
3350
|
+
allowed_use_type_label?: string;
|
|
3351
|
+
is_subletting_allowed?: boolean;
|
|
3352
|
+
requires_permission_for_subletting?: boolean;
|
|
3353
|
+
event_permission_required?: boolean;
|
|
3354
|
+
no_party_policy?: boolean;
|
|
3355
|
+
commercial_use_flag?: boolean;
|
|
3254
3356
|
};
|
|
3255
3357
|
short_let?: {
|
|
3256
3358
|
nightly_price?: string;
|
|
@@ -3298,6 +3400,9 @@ declare const listings: {
|
|
|
3298
3400
|
validity_type?: string;
|
|
3299
3401
|
grace_period_days?: string | null;
|
|
3300
3402
|
status?: string;
|
|
3403
|
+
responsible_party?: string;
|
|
3404
|
+
responsible_party_label?: string;
|
|
3405
|
+
liability_exclusion_flag?: boolean;
|
|
3301
3406
|
requirements?: string[];
|
|
3302
3407
|
}[];
|
|
3303
3408
|
compliance_status?: {
|
|
@@ -3774,6 +3879,8 @@ declare const tenancy: {
|
|
|
3774
3879
|
start_date?: string;
|
|
3775
3880
|
end_date?: string;
|
|
3776
3881
|
is_periodic?: boolean;
|
|
3882
|
+
company_name?: string | null;
|
|
3883
|
+
company_registration_number?: string | null;
|
|
3777
3884
|
created_at?: string;
|
|
3778
3885
|
compliances?: unknown[];
|
|
3779
3886
|
compliance_status?: {
|
|
@@ -3794,6 +3901,8 @@ declare const tenancy: {
|
|
|
3794
3901
|
start_date?: string;
|
|
3795
3902
|
end_date?: string;
|
|
3796
3903
|
is_periodic?: boolean;
|
|
3904
|
+
company_name?: string | null;
|
|
3905
|
+
company_registration_number?: string | null;
|
|
3797
3906
|
created_at?: string;
|
|
3798
3907
|
};
|
|
3799
3908
|
}>;
|
|
@@ -4033,6 +4142,8 @@ declare const wishlist: {
|
|
|
4033
4142
|
uid?: string;
|
|
4034
4143
|
listing_type?: string;
|
|
4035
4144
|
vertical?: string;
|
|
4145
|
+
arrangement_type?: string | null;
|
|
4146
|
+
arrangement_type_label?: string | null;
|
|
4036
4147
|
price?: string | null;
|
|
4037
4148
|
state?: string;
|
|
4038
4149
|
published_at?: string | null;
|
|
@@ -4077,4 +4188,4 @@ declare const wishlist: {
|
|
|
4077
4188
|
}>;
|
|
4078
4189
|
};
|
|
4079
4190
|
|
|
4080
|
-
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 };
|
|
4191
|
+
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.40",
|
|
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.34",
|
|
20
|
+
"@justins-home/types": "1.1.33"
|
|
21
21
|
},
|
|
22
22
|
"publishConfig": {
|
|
23
23
|
"access": "public"
|