Add support chat, piggy funds, PWA banner, notification/SSE sync, and messenger legacy guards while keeping boursecu theme; also balance login panels and unblock login navigation. Co-authored-by: Cursor <cursoragent@cursor.com>
7 lines
252 B
TypeScript
7 lines
252 B
TypeScript
import useAxios from '@/utils/useAxios'
|
|
import type { User } from '@/models/login'
|
|
|
|
export const startChat = async (): Promise<{ message: string; user: User }> => {
|
|
return await useAxios.get<{ message: string; user: User }>(`/customer/start-chat`)
|
|
}
|