import client from './client'

export const migrateApi = {
  requestCode: () => client.post('/migrate/request-code'),

  generateKey: (code: string) =>
    client.post<{ data: { migrationKey: string } }>('/migrate/generate-key', { code }),
}
