Update auth endpoints
This commit is contained in:
parent
f8f81fdd6d
commit
dcb9fd2c53
|
@ -7,6 +7,8 @@ import { BaseAPIClient } from "./types"
|
||||||
|
|
||||||
export interface AuthEndpoints {
|
export interface AuthEndpoints {
|
||||||
logIn: (tenantId: string, username: string, password: string) => Promise<void>
|
logIn: (tenantId: string, username: string, password: string) => Promise<void>
|
||||||
|
|
||||||
|
// Missing request or response types
|
||||||
logOut: () => Promise<{ message: string }>
|
logOut: () => Promise<{ message: string }>
|
||||||
requestForgotPassword: (
|
requestForgotPassword: (
|
||||||
tenantId: string,
|
tenantId: string,
|
||||||
|
@ -17,8 +19,6 @@ export interface AuthEndpoints {
|
||||||
password: string,
|
password: string,
|
||||||
resetCode: string
|
resetCode: string
|
||||||
) => Promise<{ message: string }>
|
) => Promise<{ message: string }>
|
||||||
|
|
||||||
// Missing request or response types
|
|
||||||
setInitInfo: (info: any) => Promise<void>
|
setInitInfo: (info: any) => Promise<void>
|
||||||
getInitInfo: () => Promise<any>
|
getInitInfo: () => Promise<any>
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue