refactor: Replace specific Hosting and VPS models and repositories with a generic Service repository and associated customer API endpoints.
This commit is contained in:
@@ -82,6 +82,7 @@ Route::prefix('v1')
|
||||
Route::post('{uuid}/reset-password', [CustomerController::class, 'resetPassword'])->middleware('perm:customer.edit');
|
||||
Route::post('{uuid}/add-credit', [CustomerController::class, 'addCredit'])->middleware('perm:customer.edit');
|
||||
Route::get('{uuid}/services', [CustomerController::class, 'getServices'])->middleware('perm:customer.view');
|
||||
Route::get('{uuid}/orders', [CustomerController::class, 'getOrders'])->middleware('perm:customer.view');
|
||||
Route::get('{uuid}/invoices', [CustomerController::class, 'getInvoices'])->middleware('perm:customer.view');
|
||||
Route::get('{uuid}/transactions', [CustomerController::class, 'getTransactions'])->middleware('perm:customer.view');
|
||||
Route::get('{uuid}/domains', [CustomerController::class, 'getDomains'])->middleware('perm:customer.view');
|
||||
|
||||
Reference in New Issue
Block a user