<?php

namespace App\Crm\Config;

use App\Facades\Settings;

class FuseCrmConfig
{
    public function enabled(): bool
    {
        return (bool) Settings::get('fuse-crm-enabled');
    }

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

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

    public function apiDomain(): ?string
    {
        return Settings::get('fuse-crm-domain');
    }

    public function syncReservationEnabled(): bool
    {
        return (bool) Settings::get('fuse-crm-sync-reservation-enabled');
    }

    public function syncReservationApiKey(): ?string
    {
        return Settings::get('fuse-crm-sync-reservation-api-key');
    }

    public function syncReservationApiDomain(): ?string
    {
        return Settings::get('fuse-crm-sync-reservation-domain');
    }
}
