def _filter_books_bookings(bookings: list[Booking]) -> Tuple[(List[Booking], List[Booking])]:
    books_bookings = []
    other_bookings = []
    for booking in bookings:
        if (booking.stock.offer.subcategoryId == subcategories.LIVRE_PAPIER.id):
            books_bookings.append(booking)
        else:
            other_bookings.append(booking)
    return (books_bookings, other_bookings)
def _filter_books_bookings(bookings: list[Booking]) -> Tuple[(List[Booking], List[Booking])]:
    books_bookings = []
    other_bookings = []
    for booking in bookings:
        if (booking.stock.offer.subcategoryId == subcategories.LIVRE_PAPIER.id):
            books_bookings.append(booking)
        else:
            other_bookings.append(booking)
    return (books_bookings, other_bookings)