<?php

namespace App\Crm\Config;

use App\Facades\Settings;

class EnquiryMaxConfig
{
    public function enabled(): bool
    {
        return Settings::get('crm-enquiry-max-enabled');
    }

    public function clientId(): string
    {
        return Settings::get('crm-enquiry-max-client-id');
    }

    public function clientSecret(): string
    {
        return Settings::get('crm-enquiry-max-client-secret');
    }

    public function mode(): string
    {
        return config('services.enquiry-max.mode');
    }
}
