import type { Wishlist } from '@entities' import type { HttpClient } from '@services' import type { ApiError, Response } from '@types' type WishlistInput = { house_ids?: number[] title: string } const createWishlist = (http: HttpClient) => { return { query: ( input: WishlistInput, ): Promise> => { return http.post(`v3/user/multi_inquiry_wishlists`, { multi_inquiry_wishlist: { ...input }, }) }, } } export default createWishlist