import type { HttpClient } from '@services' import type { ApiError, Response } from '@types' export type PhoneInput = { user: { phone?: string email?: string uuid?: string provider?: 'google' | 'apple' } } export type PhoneResponse = { success: boolean } const phoneSignIn = (http: HttpClient) => { return { query: ( input: PhoneInput, ): Promise> => { return http.post('v3/user/auth/sign_in', input) }, } } export default phoneSignIn