//#region src/api/auth.ts
function e(e) {
	return {
		me: () => e.get("/api/v1/auth/me").then((e) => e.data),
		getInfo: () => e.get("/api/v1/auth/worker/health").then((e) => e.data),
		hubLogin: (t) => e.post("/api/v1/auth/oauth/hub", t.hubLoginRequestDto).then((e) => e.data),
		refresh: () => e.post("/api/v1/auth/refresh").then((e) => e.data),
		logout: () => e.post("/api/v1/auth/logout").then((e) => e.data)
	};
}
//#endregion
export { e as createAuthApi };
