import type { SupportedCurrencies } from '@entities' import type { HttpClient } from '@services' import type { ApiError, Response } from '@types' type MakeRequestWishlistInput = { currency: SupportedCurrencies end_date: string private_token: string start_date: string } const makeRequestWishlist = (http: HttpClient) => { return { query: ( input: MakeRequestWishlistInput, ): Promise> => { return http.post(`v3/request_wishlists`, { request_wishlist: { ...input }, }) }, } } export default makeRequestWishlist