update
This commit is contained in:
@@ -129,10 +129,13 @@ Route::prefix('v1')
|
||||
Route::delete('{uuid}/destroy', 'destroy')->middleware('perm:customer.destroy');
|
||||
Route::post('{uuid}/reset-password', 'resetPassword')->middleware('perm:customer.edit');
|
||||
Route::post('{uuid}/send-password', 'sendPasswordEmail')->middleware('perm:customer.edit');
|
||||
Route::post('{uuid}/login-as', 'loginAs')->middleware('perm:customer.edit');
|
||||
Route::post('{uuid}/add-credit', 'addCredit')->middleware('perm:customer.edit');
|
||||
Route::post('{uuid}/add-total', 'addTotal')->middleware('perm:customer.edit');
|
||||
Route::get('{uuid}/services', 'getServices')->middleware('perm:customer.view');
|
||||
Route::post('{uuid}/services', 'createService')->middleware('perm:customer.edit');
|
||||
Route::post('{uuid}/services/bulk-delete', 'bulkDeleteServices')->middleware('perm:customer.edit');
|
||||
Route::put('{uuid}/services/{serviceId}', 'updateService')->middleware('perm:customer.edit');
|
||||
Route::get('{uuid}/orders', 'getOrders')->middleware('perm:customer.view');
|
||||
Route::get('{uuid}/invoices', 'getInvoices')->middleware('perm:customer.view');
|
||||
Route::get('{uuid}/transactions', 'getTransactions')->middleware('perm:customer.view');
|
||||
|
||||
@@ -31,6 +31,7 @@ Route::prefix('v1')
|
||||
Route::post('register', 'register')->name('register');
|
||||
Route::post('refresh', 'refresh')->name('refresh');
|
||||
Route::post('forgot-password', 'forgotPassword')->name('forgot-password');
|
||||
Route::post('impersonate/exchange', 'impersonateExchange')->name('impersonate.exchange');
|
||||
|
||||
Route::group(['middleware' => ['api.auth']], function () {
|
||||
Route::get('me', 'me')->name('me');
|
||||
|
||||
Reference in New Issue
Block a user