import { Hono } from 'hono';

import { calendarMyRouter } from './calendar';
import { callsMyRouter } from './calls';
import { contactsMyRouter } from './contacts';
import { mailMyRouter } from './mail';
import { messagesMyRouter } from './messages';
import { notesMyRouter } from './notes';
import { outboxMyRouter } from './outbox';
import { photosMyRouter } from './photos';
import { prospectsMyRouter } from './prospects';
import { readMyRouter } from './read';
import { remindersMyRouter } from './reminders';
import { searchMyRouter } from './search';

export const mySurface = new Hono()
  .route('/messages', messagesMyRouter)
  .route('/photos', photosMyRouter)
  .route('/mail', mailMyRouter)
  .route('/calendar', calendarMyRouter)
  .route('/calls', callsMyRouter)
  .route('/reminders', remindersMyRouter)
  .route('/notes', notesMyRouter)
  .route('/outbox', outboxMyRouter)
  .route('/read', readMyRouter)
  .route('/search', searchMyRouter)
  .route('/contacts', contactsMyRouter)
  .route('/prospects', prospectsMyRouter);
