<?php
if($config->edition != 'open' && $config->edition != 'biz' && $config->vision == 'rnd')
{
    $config->message->objectTypes['deploy'][] = 'submit';
    $config->message->objectTypes['deploy'][] = 'recall';
    $config->message->objectTypes['deploy'][] = 'reviewed';

    $config->message->available['mail']['deploy']     = $config->message->objectTypes['deploy'];
    $config->message->available['webhook']['deploy']  = $config->message->objectTypes['deploy'];
    $config->message->available['message']['deploy']  = $config->message->objectTypes['deploy'];
    $config->message->available['sms']['deploy']      = $config->message->objectTypes['deploy'];
    $config->message->available['xuanxuan']['deploy'] = $config->message->objectTypes['deploy'];

    $config->message->objectTypes['instance'][] = 'monitor';

    $config->message->available['mail']['instance']     = $config->message->objectTypes['instance'];
    $config->message->available['webhook']['instance']  = $config->message->objectTypes['instance'];
    $config->message->available['message']['instance']  = $config->message->objectTypes['instance'];
    $config->message->available['sms']['instance']      = $config->message->objectTypes['instance'];
    $config->message->available['xuanxuan']['instance'] = $config->message->objectTypes['instance'];

    $config->message->setting['mail']['setting']     = $config->message->available['mail'];
    $config->message->setting['webhook']['setting']  = $config->message->available['webhook'];
    $config->message->setting['message']['setting']  = $config->message->available['message'];
    $config->message->setting['sms']['setting']      = $config->message->available['sms'];
    $config->message->setting['xuanxuan']['setting'] = $config->message->available['xuanxuan'];
}
