@alextomas80/api-client-grupeta
Version:
Cliente API Grupeta CBR
20 lines • 567 B
TypeScript
import { User } from "../definitions/models";
export declare const isUserRegistered: ({ email }: {
email: string;
}) => Promise<boolean>;
export declare const getCurrentUser: ({ email, password }: {
email: string;
password: string;
}) => Promise<User>;
type UserUpdateProps = {
access_token: string;
expires_at: number;
expires_in: number;
refresh_token: string;
};
export declare const updateUser: ({ userId, payload }: {
userId: string;
payload: UserUpdateProps;
}) => Promise<User>;
export {};
//# sourceMappingURL=user.d.ts.map