2023-05-09 09:33:50 +00:00
|
|
|
<?php
|
|
|
|
|
2024-03-01 13:04:29 +00:00
|
|
|
use App\Http\Controllers\Webhook\Bitbucket;
|
2024-05-23 09:30:18 +00:00
|
|
|
use App\Http\Controllers\Webhook\Gitea;
|
2024-03-01 13:04:29 +00:00
|
|
|
use App\Http\Controllers\Webhook\Github;
|
|
|
|
use App\Http\Controllers\Webhook\Gitlab;
|
|
|
|
use App\Http\Controllers\Webhook\Stripe;
|
|
|
|
use App\Http\Controllers\Webhook\Waitlist;
|
2023-05-09 09:33:50 +00:00
|
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
|
2024-03-01 13:04:29 +00:00
|
|
|
Route::get('/source/github/redirect', [Github::class, 'redirect']);
|
|
|
|
Route::get('/source/github/install', [Github::class, 'install']);
|
|
|
|
Route::post('/source/github/events', [Github::class, 'normal']);
|
|
|
|
Route::post('/source/github/events/manual', [Github::class, 'manual']);
|
2023-05-09 09:33:50 +00:00
|
|
|
|
2024-03-01 13:04:29 +00:00
|
|
|
Route::post('/source/gitlab/events/manual', [Gitlab::class, 'manual']);
|
2024-01-23 10:34:25 +00:00
|
|
|
|
2024-03-01 13:04:29 +00:00
|
|
|
Route::post('/source/bitbucket/events/manual', [Bitbucket::class, 'manual']);
|
2024-01-23 10:34:25 +00:00
|
|
|
|
2024-05-23 09:30:18 +00:00
|
|
|
Route::post('/source/gitea/events/manual', [Gitea::class, 'manual']);
|
|
|
|
|
2024-03-01 13:04:29 +00:00
|
|
|
Route::post('/payments/stripe/events', [Stripe::class, 'events']);
|
2023-11-14 12:26:14 +00:00
|
|
|
|
2024-03-01 13:04:29 +00:00
|
|
|
Route::get('/waitlist/confirm', [Waitlist::class, 'confirm'])->name('webhooks.waitlist.confirm');
|
|
|
|
Route::get('/waitlist/cancel', [Waitlist::class, 'cancel'])->name('webhooks.waitlist.cancel');
|