feat(offers): complete phase five operational controls in QA

This commit is contained in:
2026-11-14 18:08:46 +02:00
parent e431de8b42
commit 528a2597ed
33 changed files with 2383 additions and 19 deletions
+7
View File
@@ -44,6 +44,7 @@ use App\Http\Controllers\PortalManagementController;
use App\Http\Controllers\PortalProfileController;
use App\Http\Controllers\PortalProfileInstallationController;
use App\Http\Controllers\PortalServicesController;
use App\Http\Controllers\PrivateOfferOperationsController;
use App\Http\Controllers\PrivateOfferPreparationController;
use App\Http\Controllers\ProactiveSupplyController;
use App\Http\Controllers\ProductExperimentController;
@@ -252,6 +253,12 @@ Route::middleware(['auth', 'verified', EnsurePortalProfiles::class])->group(func
Route::post('/{id}/confidencialidade', [$offers, 'confidentialityAction'])->whereNumber('id');
Route::get('/{id}/confidencial', [$offers, 'confidentialRead'])->whereNumber('id');
Route::get('/{id}/nda', [$offers, 'nda'])->whereNumber('id');
Route::get('/{id}/operacoes', [PrivateOfferOperationsController::class, 'show'])->whereNumber('id');
Route::post('/{id}/operacoes', [PrivateOfferOperationsController::class, 'owner'])->whereNumber('id');
Route::get('/{id}/denunciar', [PrivateOfferOperationsController::class, 'reportForm'])->whereNumber('id');
Route::post('/{id}/denuncias', [PrivateOfferOperationsController::class, 'report'])->whereNumber('id');
Route::post('/{id}/denuncias/{reportId}', [PrivateOfferOperationsController::class, 'handleReport'])->whereNumber('id')->whereUuid('reportId');
Route::post('/{id}/destaque-administrativo', [PrivateOfferOperationsController::class, 'highlight'])->whereNumber('id');
});
Route::get('/minhas-oportunidades/oferta-interna', [ProactiveSupplyController::class, 'index'])->middleware('throttle:60,1');
Route::get('/minhas-oportunidades/oferta-interna/revisao', [ProactiveSupplyController::class, 'review'])->middleware(['throttle:60,1', PrivateInvestmentResponse::class]);