export interface Merchant {
	marchand_id: string;
	nom: string;
	code: string;
	adresse: string;
	url_succes: string;
	url_echec: string;
	entreprise: number;
	user: number;
}
export type UserData = {
	id: number;
	username: string;
	email: string;
	first_name: string;
	last_name: string;
	role: string;
	marchand: Merchant;
};

export type Token = {
	access: string;
	refresh: string;
};

export type LoginPayload = {
	username: string;
	password: string;
};

export type UserDataAndToken = {
	user: UserData;
	tokens: Token;
};
