import type { OwnerNps } from '@entities' import type { HttpClient } from '@services' import type { ApiError, Response } from '@types' export type OwnerNpsInput = { id: string body: { owner_nps: { form_submitted_at: Date } } } const updateOwnerNps = (http: HttpClient) => { return { query: ( input: OwnerNpsInput, ): Promise> => { return http.put(`v3/user/owner_nps/${input.id}`, input.body) }, } } export default updateOwnerNps