@justins-home/api-services 1.2.40 → 1.2.42
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 +135 -50
- package/dist/index.d.ts +135 -50
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -1274,16 +1274,14 @@ declare const admin: {
|
|
|
1274
1274
|
uid?: string;
|
|
1275
1275
|
listing_type?: string;
|
|
1276
1276
|
vertical?: string;
|
|
1277
|
-
arrangement_type?: string;
|
|
1278
|
-
arrangement_type_label?: string;
|
|
1277
|
+
arrangement_type?: string | null;
|
|
1278
|
+
arrangement_type_label?: string | null;
|
|
1279
1279
|
price?: string | null;
|
|
1280
1280
|
state?: string;
|
|
1281
1281
|
published_at?: string | null;
|
|
1282
1282
|
published_since?: string | null;
|
|
1283
1283
|
is_visible?: boolean;
|
|
1284
|
-
summary?:
|
|
1285
|
-
availability?: string | null;
|
|
1286
|
-
};
|
|
1284
|
+
summary?: unknown[];
|
|
1287
1285
|
workflow?: unknown[];
|
|
1288
1286
|
media?: unknown[];
|
|
1289
1287
|
}[];
|
|
@@ -2432,6 +2430,7 @@ type UpdateDraftNamePathParams = ApiPathParams<'updateDraftName'>;
|
|
|
2432
2430
|
type UpdateDraftNamePayload = ApiRequest<'updateDraftName'>;
|
|
2433
2431
|
type SaveArrangementTypePathParams = ApiPathParams<'saveArrangementType'>;
|
|
2434
2432
|
type SaveArrangementTypePayload = ApiRequest<'saveArrangementType'>;
|
|
2433
|
+
type GetOwnerListingsQuery = Expand<ApiQuery<'getOwnerListings'>>;
|
|
2435
2434
|
type GetOwnerListingPathParams = ApiPathParams<'getOwnerListing'>;
|
|
2436
2435
|
type SaveListingDetailsPathParams = ApiPathParams<'saveListingDetails'>;
|
|
2437
2436
|
type SaveListingDetailsPayload = ApiRequest<'saveListingDetails'>;
|
|
@@ -2784,67 +2783,149 @@ declare const landlord: {
|
|
|
2784
2783
|
total?: number;
|
|
2785
2784
|
};
|
|
2786
2785
|
}>;
|
|
2787
|
-
getOwnerListings: () => Promise<{
|
|
2786
|
+
getOwnerListings: (query?: GetOwnerListingsQuery) => Promise<{
|
|
2787
|
+
message?: string;
|
|
2788
|
+
event?: string | null;
|
|
2788
2789
|
data?: {
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2790
|
+
items?: {
|
|
2791
|
+
listing_uid?: string;
|
|
2792
|
+
sku?: string;
|
|
2793
|
+
cover?: {
|
|
2794
|
+
uid?: string;
|
|
2795
|
+
media_type?: string;
|
|
2796
|
+
storage_path?: string;
|
|
2797
|
+
order_index?: number;
|
|
2798
|
+
is_cover?: boolean;
|
|
2799
|
+
};
|
|
2800
|
+
details?: {
|
|
2801
|
+
address?: string;
|
|
2802
|
+
title?: string;
|
|
2803
|
+
type?: string;
|
|
2804
|
+
};
|
|
2805
|
+
vertical?: {
|
|
2806
|
+
value?: string;
|
|
2807
|
+
label?: string;
|
|
2808
|
+
};
|
|
2809
|
+
owner?: {
|
|
2810
|
+
uid?: string;
|
|
2811
|
+
name?: string;
|
|
2812
|
+
avatar?: string | null;
|
|
2813
|
+
};
|
|
2814
|
+
compliance_status?: {
|
|
2815
|
+
overall?: string;
|
|
2816
|
+
label?: string;
|
|
2817
|
+
};
|
|
2818
|
+
active_tenancy?: {
|
|
2819
|
+
has_active_tenancy?: boolean;
|
|
2820
|
+
tenancy_uid?: string;
|
|
2821
|
+
};
|
|
2822
|
+
state?: {
|
|
2823
|
+
value?: string;
|
|
2824
|
+
label?: string;
|
|
2825
|
+
};
|
|
2822
2826
|
}[];
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
+
pagination?: {
|
|
2828
|
+
current_page?: number;
|
|
2829
|
+
per_page?: number;
|
|
2830
|
+
total?: number;
|
|
2831
|
+
last_page?: number;
|
|
2832
|
+
from?: number;
|
|
2833
|
+
to?: number;
|
|
2834
|
+
};
|
|
2827
2835
|
};
|
|
2828
2836
|
}>;
|
|
2829
2837
|
getOwnerListing: (params: GetOwnerListingPathParams) => Promise<{
|
|
2838
|
+
message?: string;
|
|
2839
|
+
event?: string | null;
|
|
2830
2840
|
data?: {
|
|
2831
|
-
draft_name?: string;
|
|
2832
|
-
sku?: string;
|
|
2833
2841
|
uid?: string;
|
|
2842
|
+
draft_name?: string | null;
|
|
2843
|
+
sku?: string;
|
|
2844
|
+
published_at?: string | null;
|
|
2845
|
+
published_since?: string | null;
|
|
2846
|
+
details?: {
|
|
2847
|
+
title?: string;
|
|
2848
|
+
description?: string;
|
|
2849
|
+
city?: string;
|
|
2850
|
+
address?: string;
|
|
2851
|
+
postcode?: string;
|
|
2852
|
+
longitude?: string;
|
|
2853
|
+
latitude?: string;
|
|
2854
|
+
country?: string;
|
|
2855
|
+
};
|
|
2834
2856
|
listing_type?: string;
|
|
2835
2857
|
vertical?: string;
|
|
2836
2858
|
arrangement_type?: string;
|
|
2837
2859
|
arrangement_type_label?: string;
|
|
2838
|
-
|
|
2860
|
+
owner?: {
|
|
2861
|
+
uid?: string;
|
|
2862
|
+
name?: string;
|
|
2863
|
+
email?: string;
|
|
2864
|
+
avatar?: string | null;
|
|
2865
|
+
};
|
|
2866
|
+
created_by?: {
|
|
2867
|
+
uid?: string;
|
|
2868
|
+
name?: string;
|
|
2869
|
+
};
|
|
2839
2870
|
state?: string;
|
|
2840
|
-
published_at?: string | null;
|
|
2841
|
-
published_since?: string | null;
|
|
2842
2871
|
is_visible?: boolean;
|
|
2872
|
+
price?: {
|
|
2873
|
+
amount?: string;
|
|
2874
|
+
currency?: string;
|
|
2875
|
+
period?: string;
|
|
2876
|
+
};
|
|
2843
2877
|
summary?: {
|
|
2878
|
+
property_type?: string;
|
|
2879
|
+
bedrooms?: number;
|
|
2880
|
+
bathrooms?: number;
|
|
2881
|
+
size?: string | null;
|
|
2844
2882
|
availability?: string | null;
|
|
2845
2883
|
};
|
|
2846
2884
|
workflow?: unknown[];
|
|
2847
|
-
media?:
|
|
2885
|
+
media?: {
|
|
2886
|
+
gallery?: unknown[];
|
|
2887
|
+
cover?: string | null;
|
|
2888
|
+
count?: number;
|
|
2889
|
+
};
|
|
2890
|
+
viewing_slots?: unknown[];
|
|
2891
|
+
tenant_preferences?: unknown[];
|
|
2892
|
+
rental?: {
|
|
2893
|
+
deposit_amount?: string | null;
|
|
2894
|
+
fixed_term_length?: string | null;
|
|
2895
|
+
availability_date?: string | null;
|
|
2896
|
+
is_company_lease?: boolean;
|
|
2897
|
+
is_subletting_permitted?: boolean;
|
|
2898
|
+
};
|
|
2899
|
+
listing_policy?: {
|
|
2900
|
+
max_occupants?: string | null;
|
|
2901
|
+
allowed_use_type?: string | null;
|
|
2902
|
+
allowed_use_type_label?: string | null;
|
|
2903
|
+
is_subletting_allowed?: boolean;
|
|
2904
|
+
requires_permission_for_subletting?: boolean;
|
|
2905
|
+
event_permission_required?: boolean;
|
|
2906
|
+
no_party_policy?: boolean;
|
|
2907
|
+
commercial_use_flag?: boolean;
|
|
2908
|
+
};
|
|
2909
|
+
short_let?: {
|
|
2910
|
+
nightly_price?: string | null;
|
|
2911
|
+
minimum_stay_nights?: string | null;
|
|
2912
|
+
maximum_stay_nights?: string | null;
|
|
2913
|
+
cleaning_fee?: string | null;
|
|
2914
|
+
check_in_time?: string | null;
|
|
2915
|
+
check_out_time?: string | null;
|
|
2916
|
+
};
|
|
2917
|
+
item?: {
|
|
2918
|
+
item_name?: string | null;
|
|
2919
|
+
item_category?: string | null;
|
|
2920
|
+
condition?: string | null;
|
|
2921
|
+
brand?: string | null;
|
|
2922
|
+
dimensions?: string | null;
|
|
2923
|
+
quantity_available?: string | null;
|
|
2924
|
+
is_negotiable?: string | null;
|
|
2925
|
+
availability_status?: string | null;
|
|
2926
|
+
};
|
|
2927
|
+
features?: unknown[];
|
|
2928
|
+
active_tenancy?: string | null;
|
|
2848
2929
|
compliances?: unknown[];
|
|
2849
2930
|
compliance_status?: {
|
|
2850
2931
|
overall?: string;
|
|
@@ -3154,6 +3235,8 @@ declare const listings: {
|
|
|
3154
3235
|
};
|
|
3155
3236
|
listing_type?: string;
|
|
3156
3237
|
vertical?: string;
|
|
3238
|
+
arrangement_type?: string;
|
|
3239
|
+
arrangement_type_label?: string;
|
|
3157
3240
|
price?: {
|
|
3158
3241
|
amount?: string;
|
|
3159
3242
|
currency?: string;
|
|
@@ -3216,6 +3299,8 @@ declare const listings: {
|
|
|
3216
3299
|
};
|
|
3217
3300
|
listing_type?: string;
|
|
3218
3301
|
vertical?: string;
|
|
3302
|
+
arrangement_type?: string;
|
|
3303
|
+
arrangement_type_label?: string;
|
|
3219
3304
|
price?: {
|
|
3220
3305
|
amount?: string;
|
|
3221
3306
|
currency?: string;
|
|
@@ -4188,4 +4273,4 @@ declare const wishlist: {
|
|
|
4188
4273
|
}>;
|
|
4189
4274
|
};
|
|
4190
4275
|
|
|
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 };
|
|
4276
|
+
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 GetOwnerListingsQuery, 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
|
@@ -1274,16 +1274,14 @@ declare const admin: {
|
|
|
1274
1274
|
uid?: string;
|
|
1275
1275
|
listing_type?: string;
|
|
1276
1276
|
vertical?: string;
|
|
1277
|
-
arrangement_type?: string;
|
|
1278
|
-
arrangement_type_label?: string;
|
|
1277
|
+
arrangement_type?: string | null;
|
|
1278
|
+
arrangement_type_label?: string | null;
|
|
1279
1279
|
price?: string | null;
|
|
1280
1280
|
state?: string;
|
|
1281
1281
|
published_at?: string | null;
|
|
1282
1282
|
published_since?: string | null;
|
|
1283
1283
|
is_visible?: boolean;
|
|
1284
|
-
summary?:
|
|
1285
|
-
availability?: string | null;
|
|
1286
|
-
};
|
|
1284
|
+
summary?: unknown[];
|
|
1287
1285
|
workflow?: unknown[];
|
|
1288
1286
|
media?: unknown[];
|
|
1289
1287
|
}[];
|
|
@@ -2432,6 +2430,7 @@ type UpdateDraftNamePathParams = ApiPathParams<'updateDraftName'>;
|
|
|
2432
2430
|
type UpdateDraftNamePayload = ApiRequest<'updateDraftName'>;
|
|
2433
2431
|
type SaveArrangementTypePathParams = ApiPathParams<'saveArrangementType'>;
|
|
2434
2432
|
type SaveArrangementTypePayload = ApiRequest<'saveArrangementType'>;
|
|
2433
|
+
type GetOwnerListingsQuery = Expand<ApiQuery<'getOwnerListings'>>;
|
|
2435
2434
|
type GetOwnerListingPathParams = ApiPathParams<'getOwnerListing'>;
|
|
2436
2435
|
type SaveListingDetailsPathParams = ApiPathParams<'saveListingDetails'>;
|
|
2437
2436
|
type SaveListingDetailsPayload = ApiRequest<'saveListingDetails'>;
|
|
@@ -2784,67 +2783,149 @@ declare const landlord: {
|
|
|
2784
2783
|
total?: number;
|
|
2785
2784
|
};
|
|
2786
2785
|
}>;
|
|
2787
|
-
getOwnerListings: () => Promise<{
|
|
2786
|
+
getOwnerListings: (query?: GetOwnerListingsQuery) => Promise<{
|
|
2787
|
+
message?: string;
|
|
2788
|
+
event?: string | null;
|
|
2788
2789
|
data?: {
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2790
|
+
items?: {
|
|
2791
|
+
listing_uid?: string;
|
|
2792
|
+
sku?: string;
|
|
2793
|
+
cover?: {
|
|
2794
|
+
uid?: string;
|
|
2795
|
+
media_type?: string;
|
|
2796
|
+
storage_path?: string;
|
|
2797
|
+
order_index?: number;
|
|
2798
|
+
is_cover?: boolean;
|
|
2799
|
+
};
|
|
2800
|
+
details?: {
|
|
2801
|
+
address?: string;
|
|
2802
|
+
title?: string;
|
|
2803
|
+
type?: string;
|
|
2804
|
+
};
|
|
2805
|
+
vertical?: {
|
|
2806
|
+
value?: string;
|
|
2807
|
+
label?: string;
|
|
2808
|
+
};
|
|
2809
|
+
owner?: {
|
|
2810
|
+
uid?: string;
|
|
2811
|
+
name?: string;
|
|
2812
|
+
avatar?: string | null;
|
|
2813
|
+
};
|
|
2814
|
+
compliance_status?: {
|
|
2815
|
+
overall?: string;
|
|
2816
|
+
label?: string;
|
|
2817
|
+
};
|
|
2818
|
+
active_tenancy?: {
|
|
2819
|
+
has_active_tenancy?: boolean;
|
|
2820
|
+
tenancy_uid?: string;
|
|
2821
|
+
};
|
|
2822
|
+
state?: {
|
|
2823
|
+
value?: string;
|
|
2824
|
+
label?: string;
|
|
2825
|
+
};
|
|
2822
2826
|
}[];
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
+
pagination?: {
|
|
2828
|
+
current_page?: number;
|
|
2829
|
+
per_page?: number;
|
|
2830
|
+
total?: number;
|
|
2831
|
+
last_page?: number;
|
|
2832
|
+
from?: number;
|
|
2833
|
+
to?: number;
|
|
2834
|
+
};
|
|
2827
2835
|
};
|
|
2828
2836
|
}>;
|
|
2829
2837
|
getOwnerListing: (params: GetOwnerListingPathParams) => Promise<{
|
|
2838
|
+
message?: string;
|
|
2839
|
+
event?: string | null;
|
|
2830
2840
|
data?: {
|
|
2831
|
-
draft_name?: string;
|
|
2832
|
-
sku?: string;
|
|
2833
2841
|
uid?: string;
|
|
2842
|
+
draft_name?: string | null;
|
|
2843
|
+
sku?: string;
|
|
2844
|
+
published_at?: string | null;
|
|
2845
|
+
published_since?: string | null;
|
|
2846
|
+
details?: {
|
|
2847
|
+
title?: string;
|
|
2848
|
+
description?: string;
|
|
2849
|
+
city?: string;
|
|
2850
|
+
address?: string;
|
|
2851
|
+
postcode?: string;
|
|
2852
|
+
longitude?: string;
|
|
2853
|
+
latitude?: string;
|
|
2854
|
+
country?: string;
|
|
2855
|
+
};
|
|
2834
2856
|
listing_type?: string;
|
|
2835
2857
|
vertical?: string;
|
|
2836
2858
|
arrangement_type?: string;
|
|
2837
2859
|
arrangement_type_label?: string;
|
|
2838
|
-
|
|
2860
|
+
owner?: {
|
|
2861
|
+
uid?: string;
|
|
2862
|
+
name?: string;
|
|
2863
|
+
email?: string;
|
|
2864
|
+
avatar?: string | null;
|
|
2865
|
+
};
|
|
2866
|
+
created_by?: {
|
|
2867
|
+
uid?: string;
|
|
2868
|
+
name?: string;
|
|
2869
|
+
};
|
|
2839
2870
|
state?: string;
|
|
2840
|
-
published_at?: string | null;
|
|
2841
|
-
published_since?: string | null;
|
|
2842
2871
|
is_visible?: boolean;
|
|
2872
|
+
price?: {
|
|
2873
|
+
amount?: string;
|
|
2874
|
+
currency?: string;
|
|
2875
|
+
period?: string;
|
|
2876
|
+
};
|
|
2843
2877
|
summary?: {
|
|
2878
|
+
property_type?: string;
|
|
2879
|
+
bedrooms?: number;
|
|
2880
|
+
bathrooms?: number;
|
|
2881
|
+
size?: string | null;
|
|
2844
2882
|
availability?: string | null;
|
|
2845
2883
|
};
|
|
2846
2884
|
workflow?: unknown[];
|
|
2847
|
-
media?:
|
|
2885
|
+
media?: {
|
|
2886
|
+
gallery?: unknown[];
|
|
2887
|
+
cover?: string | null;
|
|
2888
|
+
count?: number;
|
|
2889
|
+
};
|
|
2890
|
+
viewing_slots?: unknown[];
|
|
2891
|
+
tenant_preferences?: unknown[];
|
|
2892
|
+
rental?: {
|
|
2893
|
+
deposit_amount?: string | null;
|
|
2894
|
+
fixed_term_length?: string | null;
|
|
2895
|
+
availability_date?: string | null;
|
|
2896
|
+
is_company_lease?: boolean;
|
|
2897
|
+
is_subletting_permitted?: boolean;
|
|
2898
|
+
};
|
|
2899
|
+
listing_policy?: {
|
|
2900
|
+
max_occupants?: string | null;
|
|
2901
|
+
allowed_use_type?: string | null;
|
|
2902
|
+
allowed_use_type_label?: string | null;
|
|
2903
|
+
is_subletting_allowed?: boolean;
|
|
2904
|
+
requires_permission_for_subletting?: boolean;
|
|
2905
|
+
event_permission_required?: boolean;
|
|
2906
|
+
no_party_policy?: boolean;
|
|
2907
|
+
commercial_use_flag?: boolean;
|
|
2908
|
+
};
|
|
2909
|
+
short_let?: {
|
|
2910
|
+
nightly_price?: string | null;
|
|
2911
|
+
minimum_stay_nights?: string | null;
|
|
2912
|
+
maximum_stay_nights?: string | null;
|
|
2913
|
+
cleaning_fee?: string | null;
|
|
2914
|
+
check_in_time?: string | null;
|
|
2915
|
+
check_out_time?: string | null;
|
|
2916
|
+
};
|
|
2917
|
+
item?: {
|
|
2918
|
+
item_name?: string | null;
|
|
2919
|
+
item_category?: string | null;
|
|
2920
|
+
condition?: string | null;
|
|
2921
|
+
brand?: string | null;
|
|
2922
|
+
dimensions?: string | null;
|
|
2923
|
+
quantity_available?: string | null;
|
|
2924
|
+
is_negotiable?: string | null;
|
|
2925
|
+
availability_status?: string | null;
|
|
2926
|
+
};
|
|
2927
|
+
features?: unknown[];
|
|
2928
|
+
active_tenancy?: string | null;
|
|
2848
2929
|
compliances?: unknown[];
|
|
2849
2930
|
compliance_status?: {
|
|
2850
2931
|
overall?: string;
|
|
@@ -3154,6 +3235,8 @@ declare const listings: {
|
|
|
3154
3235
|
};
|
|
3155
3236
|
listing_type?: string;
|
|
3156
3237
|
vertical?: string;
|
|
3238
|
+
arrangement_type?: string;
|
|
3239
|
+
arrangement_type_label?: string;
|
|
3157
3240
|
price?: {
|
|
3158
3241
|
amount?: string;
|
|
3159
3242
|
currency?: string;
|
|
@@ -3216,6 +3299,8 @@ declare const listings: {
|
|
|
3216
3299
|
};
|
|
3217
3300
|
listing_type?: string;
|
|
3218
3301
|
vertical?: string;
|
|
3302
|
+
arrangement_type?: string;
|
|
3303
|
+
arrangement_type_label?: string;
|
|
3219
3304
|
price?: {
|
|
3220
3305
|
amount?: string;
|
|
3221
3306
|
currency?: string;
|
|
@@ -4188,4 +4273,4 @@ declare const wishlist: {
|
|
|
4188
4273
|
}>;
|
|
4189
4274
|
};
|
|
4190
4275
|
|
|
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 };
|
|
4276
|
+
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 GetOwnerListingsQuery, 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
|
@@ -668,8 +668,8 @@ var landlord = {
|
|
|
668
668
|
getSubmittedListings: () => {
|
|
669
669
|
return api.get("getSubmittedListings", "/api/v1/portal/landlord/listing/fetch-submitted");
|
|
670
670
|
},
|
|
671
|
-
getOwnerListings: () => {
|
|
672
|
-
return api.get("getOwnerListings", "/api/v1/portal/landlord/listing/fetch-all");
|
|
671
|
+
getOwnerListings: (query) => {
|
|
672
|
+
return api.get("getOwnerListings", "/api/v1/portal/landlord/listing/fetch-all", query);
|
|
673
673
|
},
|
|
674
674
|
getOwnerListing: (params) => {
|
|
675
675
|
return api.get("getOwnerListing", `/api/v1/portal/landlord/listing/fetch-one/${params.listing_uid}`);
|
package/dist/index.mjs
CHANGED
|
@@ -621,8 +621,8 @@ var landlord = {
|
|
|
621
621
|
getSubmittedListings: () => {
|
|
622
622
|
return api.get("getSubmittedListings", "/api/v1/portal/landlord/listing/fetch-submitted");
|
|
623
623
|
},
|
|
624
|
-
getOwnerListings: () => {
|
|
625
|
-
return api.get("getOwnerListings", "/api/v1/portal/landlord/listing/fetch-all");
|
|
624
|
+
getOwnerListings: (query) => {
|
|
625
|
+
return api.get("getOwnerListings", "/api/v1/portal/landlord/listing/fetch-all", query);
|
|
626
626
|
},
|
|
627
627
|
getOwnerListing: (params) => {
|
|
628
628
|
return api.get("getOwnerListing", `/api/v1/portal/landlord/listing/fetch-one/${params.listing_uid}`);
|
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.42",
|
|
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.36",
|
|
20
|
+
"@justins-home/types": "1.1.35"
|
|
21
21
|
},
|
|
22
22
|
"publishConfig": {
|
|
23
23
|
"access": "public"
|