prefix('investimentos')->group(function () { Route::get('/', [Path::class, 'index']); Route::get('/iniciar', [InvestorContextController::class, 'start']); Route::get('/contexto-atual', [InvestorContextController::class, 'current']); Route::put('/contexto-atual', [InvestorContextController::class, 'focus']); Route::get('/fontes-contexto', [InvestorContextController::class, 'options']); Route::get('/opcoes-corredor', [InvestorContextController::class, 'corridorOptions']); Route::get('/{id}/contexto', [InvestorContextController::class, 'show'])->whereUuid('id'); Route::get('/{id}/contexto/editar', [InvestorContextController::class, 'edit'])->whereUuid('id'); Route::post('/{id}/contexto/rascunho', [InvestorContextController::class, 'saveDraft'])->whereUuid('id'); Route::post('/{id}/contexto/previa', [InvestorContextController::class, 'preview'])->whereUuid('id'); Route::post('/{id}/contexto/confirmar', [InvestorContextController::class, 'commit'])->whereUuid('id'); Route::get('/a-partir-do-parque/{zoneId}', [Path::class, 'zoneStart'])->whereUuid('zoneId'); Route::post('/{id}/parques', [Path::class, 'zoneAttach'])->whereUuid('id'); Route::get('/a-partir-do-setor/{sectorSlug}', [Path::class, 'sectorStart']); Route::post('/{id}/sectores', [Path::class, 'sectorAttach'])->whereUuid('id'); Route::get('/a-partir-de/{legacySlug}', [LegacyContentController::class, 'start'])->whereIn('legacySlug', array_keys(config('legacy_content.articles', []))); Route::post('/{id}/conteudos', [LegacyContentController::class, 'attach'])->whereUuid('id'); Route::post('/', [Path::class, 'create']); Route::get('/{id}', [Path::class, 'show'])->whereUuid('id'); Route::post('/{id}/fintech', [Path::class, 'fintech'])->whereUuid('id'); Route::post('/{id}/aplicabilidade', [Path::class, 'facts'])->whereUuid('id'); Route::post('/{id}/etapas/{code}', [Path::class, 'stage'])->whereUuid('id')->where('code', 'S(0[1-9]|1[0-9])'); Route::post('/{id}/resultados', [Path::class, 'tool'])->whereUuid('id'); Route::post('/{id}/tarefas', [Path::class, 'task'])->whereUuid('id'); }); Route::middleware(['auth', 'verified', PrivateInvestmentResponse::class, 'can:manage-portal', 'throttle:30,1'])->prefix('management/investor-context-installation')->group(function () { Route::get('/', [InvestorContextController::class, 'installation']); Route::post('/', [InvestorContextController::class, 'install']); });