import type { User } from '@entities' import type { HttpClient } from '@services' import type { ApiError, Response } from '@types' export type SignUpTokenInput = { user: { email: string signup_token: string } } const tokenSignUp = (http: HttpClient) => { return { query: ( input: SignUpTokenInput, ): Promise, undefined, ApiError>> => { return http.post('v3/user/auth/sign_up_with_token', input) }, } } export default tokenSignUp