interface ReviewReportsService {
    findByHostId(
        hostId: string,
    ): Promise<null | SavedReviewReportWithRating>;
    findByItineraryId(
        itineraryId: string,
    ): Promise<null | SavedReviewReportWithRating>;
    findByTripId(tripId: string): Promise<null | SavedReviewReportWithRating>;
    getReviewReportForHost(
        hostId: string,
    ): Promise<
        null
        | SavedReviewReportWithRating
        | AggregateReviewReportWithRating,
    >;
    listByType(
        type: ReviewType,
        listQueryOptions?: ListQueryOptions<SavedReviewReport>,
    ): Promise<SavedReviewReportWithRating[]>;
}

Methods