import type { User } from '@entities' import type { HttpClient } from '@services' import type { ApiError, Response } from '@types' export type FinishSignUpInput = { user: { email: string signup_token: string civility?: string | null first_name?: string | null last_name?: string | null newsletter?: boolean | null phone?: string | null terms_of_service_signed?: boolean | null } } const finishSignUp = (http: HttpClient) => { return { query: ( input: FinishSignUpInput, ): Promise, undefined, ApiError>> => { return http.post('v3/user/auth/finish_signup', input) }, } } export default finishSignUp