12 lines
474 B
TypeScript
12 lines
474 B
TypeScript
|
|
import request from "../../http.js";
|
||
|
|
import { type LekeApiLoginV1LoginByEmailRes, type DeepRequired, type LekeApiLoginV1LoginByEmailReq } from "../../interface";
|
||
|
|
import { type AxiosRequestConfig } from "axios";
|
||
|
|
|
||
|
|
/**
|
||
|
|
* User Login By Email
|
||
|
|
* /api/login/email
|
||
|
|
*/
|
||
|
|
export function postApiLoginEmail(input?: LekeApiLoginV1LoginByEmailReq, config?: AxiosRequestConfig) {
|
||
|
|
return request.post<DeepRequired<LekeApiLoginV1LoginByEmailRes>>(`/api/login/email`, input, config);
|
||
|
|
}
|