<?php

namespace App\Http\Controllers\Api\V1;

use App\Http\Controllers\Controller;
use Illuminate\Http\JsonResponse;

class DeepLinkController extends Controller
{
    public function routes(): JsonResponse
    {
        return response()->json([
            'routes' => [
                'enrollment' => '/participants/{participant_uuid}/enrollments',
                'invoice' => '/participants/{participant_uuid}/invoices/{invoice_uuid}',
                'invoice_overdue' => '/participants/{participant_uuid}/invoices/{invoice_uuid}',
                'payment' => '/participants/{participant_uuid}/invoices/{invoice_uuid}',
                'attendance' => '/participants/{participant_uuid}/attendance',
                'attendance_threshold' => '/participants/{participant_uuid}/attendance',
                'evaluation' => '/participants/{participant_uuid}/evaluations/{evaluation_id}',
                'session_cancelled' => '/participants/{participant_uuid}/schedule',
                'session_reminder' => '/participants/{participant_uuid}/schedule',
                'installment_due' => '/participants/{participant_uuid}/installments',
                'installment_overdue' => '/participants/{participant_uuid}/installments',
                'waitlist_spot' => '/participants/{participant_uuid}/enrollments',
                'service_request_resolved' => '/service-requests',
                'announcement' => '/notifications',
                'message' => '/messages',
            ],
        ]);
    }
}
