import express from 'express';
import clickTtAccountController from '../controllers/clickTtAccountController.js';
import { authenticate } from '../middleware/authMiddleware.js';

const router = express.Router();

router.use(authenticate);

router.get('/account', clickTtAccountController.getAccount);
router.get('/status', clickTtAccountController.getStatus);
router.post('/account', clickTtAccountController.upsertAccount);
router.delete('/account', clickTtAccountController.deleteAccount);
router.post('/verify', clickTtAccountController.verifyLogin);

export default router;
