<?php

namespace ThurData\Servers\KerioEmail\App\Enums;
/**
 *
 * Created by PhpStorm.
 * User: ThurData
 * Date: 09.09.19
 * Time: 14:10
 * Class Kerio
 */
class Kerio
{
    /**
     * attribute statuses
     */
    const ATTR_ENABLED      = 'TRUE';
    const ATTR_DISABLED     = 'FALSE';
    const ENABLED           = 'enabled';
    const DISABLED          = 'disabled';
    const ENABLED_AS_INT    = 1;

    /**
     * connection ports
     */
    const SECURE_PORT   = 4040;
    const PORT          = 4040;

    /**
     *
     */
    const CLIENT_PORT   = 443;

    /**
     * Kerio statuses
     */
    const STATUS_ACCEPT     = 'Allowed';
    const STATUS_APPROVAL   = 'Moderated';
    const STATUS_REJECT     = 'Denied';

    const ACC_STATUS_ACTIVE = 'active';
    const ACC_STATUS_CLOSED = 'closed';

    const RES_TYPE_LOCATION  = 'Room';
    const RES_TYPE_EQUIPMENT = 'Equipment';

    const DEFAULT_LOGIN_LINK = 'https://kerio-server';

    const BASE_ACCOUNT_CONFIG = [
        // fill with attributes like imapEnabled etc.
    ];

}