<?php

use App\Http\Controllers\Api\ContactEnquiryController;
use App\Http\Controllers\Api\VehicleEnquiryController;
use App\Http\Middleware\RateLimitApiRequests;
use Illuminate\Support\Facades\Route;

Route::middleware(['auth:sanctum', RateLimitApiRequests::class])->group(function (): void {
    Route::post('/vehicle-enquiry', VehicleEnquiryController::class);
    Route::post('/contact', ContactEnquiryController::class);
});
