<?php
/*********************************************************************************
 * The contents of this file are subject to the SugarCRM Master Subscription
 * Agreement ("License") which can be viewed at
 * http://www.sugarcrm.com/crm/master-subscription-agreement
 * By installing or using this file, You have unconditionally agreed to the
 * terms and conditions of the License, and You may not use this file except in
 * compliance with the License.  Under the terms of the license, You shall not,
 * among other things: 1) sublicense, resell, rent, lease, redistribute, assign
 * or otherwise transfer Your rights to the Software, and 2) use the Software
 * for timesharing or service bureau purposes such as hosting the Software for
 * commercial gain and/or for the benefit of a third party.  Use of the Software
 * may be subject to applicable fees and any use of the Software without first
 * paying applicable fees is strictly prohibited.  You do not have the right to
 * remove SugarCRM copyrights from the source code or user interface.
 *
 * All copies of the Covered Code must include on each user interface screen:
 *  (i) the "Powered by SugarCRM" logo and
 *  (ii) the SugarCRM copyright notice
 * in the same form as they appear in the distribution.  See full license for
 * requirements.
 *
 * Your Warranty, Limitations of liability and Indemnity are expressly stated
 * in the License.  Please refer to the License for the specific language
 * governing these rights and limitations under the License.  Portions created
 * by SugarCRM are Copyright (C) 2004-2012 SugarCRM, Inc.; All Rights Reserved.
 ********************************************************************************/

$manifest = array(
	'acceptable_sugar_versions' => array(
		'6.*'
	),
	'acceptable_sugar_flavors' => array(
		'CE',
		'PRO',
		'CORP',
		'ENT',
		'ULT'
	),
	'readme' => '',
	'key' => 'mafvc',
	'author' => 'Net-Results, LLC',
	'description' => 'This module integrates your SugarCRM instance with the Net-Results Marketing Automation platform so that records flow seamlessly between the two.',
	'icon' => '',
	'is_uninstallable' => true,
	'name' => 'Net-Results Marketing Automation',
	'published_date' => '2014-10-15',
	'type' => 'module',
	'version' => '6.0.1',
	'remove_tables' => 'prompt',
);

$installdefs = array (
	'id' => 'MarketingAutomation',
	'beans' => array (
		0 => array (
			'module' => 'mafvc_MarketingAutomation',
			'class' => 'mafvc_MarketingAutomation',
			'path' => 'modules/mafvc_MarketingAutomation/mafvc_MarketingAutomation.php',
			'tab' => true,
		),
	),
	'layoutdefs' => array (
	),
	'relationships' => array (
	),
	'image_dir' => '<basepath>/icons',
	'copy' => array (
		0 => array (
			'from' => '<basepath>/SugarModules/modules/mafvc_MarketingAutomation',
			'to' => 'modules/mafvc_MarketingAutomation',
		),
		1 => array (
			'from' => '<basepath>/SugarModules/modules/Connectors/connectors/sources/ext/rest/mafvm',
			'to' => 'custom/modules/Connectors/connectors/sources/ext/rest/mafvm',
		),
		2 => array(
			'from' => '<basepath>/SugarModules/modules/Accounts/mafvm_Accounts_Save.php',
			'to' => 'custom/modules/Accounts/mafvm_Accounts_Save.php',
		),
		3 => array(
			'from' => '<basepath>/SugarModules/modules/Contacts/mafvm_Contacts_Save.php',
			'to' => 'custom/modules/Contacts/mafvm_Contacts_Save.php',
		),
		4 => array(
			'from' => '<basepath>/SugarModules/modules/Leads/mafvm_Leads_Save.php',
			'to' => 'custom/modules/Leads/mafvm_Leads_Save.php',
		),
	),
	'language' => array (
		0 => array (
			'from' => '<basepath>/SugarModules/language/application/en_us.lang.php',
			'to_module' => 'application',
			'language' => 'en_us',
		),
		1 => array (
			'from' => '<basepath>/SugarModules/modules/Accounts/language/en_us.lang.php',
			'to_module' => 'Accounts',
			'language' => 'en_us',
		),
		2 => array (
			'from' => '<basepath>/SugarModules/modules/Contacts/language/en_us.lang.php',
			'to_module' => 'Contacts',
			'language' => 'en_us',
		),
		3 => array (
			'from' => '<basepath>/SugarModules/modules/Leads/language/en_us.lang.php',
			'to_module' => 'Leads',
			'language' => 'en_us',
		),
	),
	'custom_fields' => array (
		'Accountsnr_account_recent_activity_c' => array (
			'id' => 'Accountsnr_account_recent_activity_c',
			'name' => 'nr_account_recent_activity_c',
			'label' => 'LBL_NR_ACCOUNT_RECENT_ACTIVITY',
			'comments' => NULL,
			'help' => NULL,
			'module' => 'Accounts',
			'type' => 'iframe',
			'max_size' => '255',
			'require_option' => '0',
			'default_value' => NULL,
			'date_modified' => '2012-04-29 23:17:29',
			'deleted' => '0',
			'audited' => '0',
			'mass_update' => '0',
			'duplicate_merge' => '0',
			'reportable' => '1',
			'importable' => 'false',
			'ext1' => NULL,
			'ext2' => NULL,
			'ext3' => NULL,
			'ext4' => '403',
		),
		'Contactsnr_contact_lead_source_c' => array (
			'id' => 'Contactsnr_contact_lead_source_c',
			'name' => 'nr_contact_lead_source_c',
			'label' => 'LBL_NR_CONTACT_LEAD_SOURCE',
			'comments' => '',
			'help' => '',
			'module' => 'Contacts',
			'type' => 'varchar',
			'max_size' => '255',
			'require_option' => '0',
			'default_value' => '',
			'date_modified' => '2012-04-29 20:53:48',
			'deleted' => '0',
			'audited' => '1',
			'mass_update' => '0',
			'duplicate_merge' => '1',
			'reportable' => '1',
			'importable' => 'true',
			'ext1' => '',
			'ext2' => '',
			'ext3' => '',
			'ext4' => '',
		),
		'Contactsnr_contact_lead_score_c' => array (
			'id' => 'Contactsnr_contact_lead_score_c',
			'name' => 'nr_contact_lead_score_c',
			'label' => 'LBL_NR_CONTACT_LEAD_SCORE',
			'comments' => '',
			'help' => '',
			'module' => 'Contacts',
			'type' => 'int',
			'len' => '255',
			'size' => '20',
			'require_option' => '0',
			'default_value' => '0',
			'date_modified' => '2013-06-03 19:10:32',
			'deleted' => '0',
			'audited' => '1',
			'mass_update' => '0',
			'duplicate_merge' => '1',
			'reportable' => '1',
			'importable' => 'true',
			'ext1' => '',
			'ext2' => '',
			'ext3' => '',
			'ext4' => '',
		),
		'Contactsnr_contact_recent_activity_c' => array (
			'id' => 'Contactsnr_contact_recent_activity_c',
			'name' => 'nr_contact_recent_activity_c',
			'label' => 'LBL_NR_CONTACT_RECENT_ACTIVITY',
			'comments' => NULL,
			'help' => NULL,
			'module' => 'Contacts',
			'type' => 'iframe',
			'max_size' => '255',
			'require_option' => '0',
			'default_value' => NULL,
			'date_modified' => '2012-04-29 23:22:10',
			'deleted' => '0',
			'audited' => '0',
			'mass_update' => '0',
			'duplicate_merge' => '0',
			'reportable' => '1',
			'importable' => 'false',
			'ext1' => NULL,
			'ext2' => NULL,
			'ext3' => NULL,
			'ext4' => '444',
		),
		'Leadsnr_lead_lead_score_c' => array (
			'id' => 'Leadsnr_lead_lead_score_c',
			'name' => 'nr_lead_lead_score_c',
			'label' => 'LBL_NR_LEAD_LEAD_SCORE',
			'comments' => '',
			'help' => '',
			'module' => 'Leads',
			'type' => 'int',
			'len' => '255',
			'size' => '20',
			'require_option' => '0',
			'default_value' => '0',
			'date_modified' => '2013-06-03 19:10:32',
			'deleted' => '0',
			'audited' => '1',
			'mass_update' => '0',
			'duplicate_merge' => '1',
			'reportable' => '1',
			'importable' => 'true',
			'ext1' => '',
			'ext2' => '',
			'ext3' => '',
			'ext4' => '',
		),
		'Leadsnr_lead_lead_source_c' => array (
			'id' => 'Leadsnr_lead_lead_source_c',
			'name' => 'nr_lead_lead_source_c',
			'label' => 'LBL_NR_LEAD_LEAD_SOURCE',
			'comments' => '',
			'help' => '',
			'module' => 'Leads',
			'type' => 'varchar',
			'max_size' => '255',
			'require_option' => '0',
			'default_value' => '',
			'date_modified' => '2012-04-29 20:58:54',
			'deleted' => '0',
			'audited' => '1',
			'mass_update' => '0',
			'duplicate_merge' => '1',
			'reportable' => '1',
			'importable' => 'true',
			'ext1' => '',
			'ext2' => '',
			'ext3' => '',
			'ext4' => '',
		),
		'Leadsnr_lead_recent_activity_c' => array (
			'id' => 'Leadsnr_lead_recent_activity_c',
			'name' => 'nr_lead_recent_activity_c',
			'label' => 'LBL_NR_LEAD_RECENT_ACTIVITY',
			'comments' => NULL,
			'help' => NULL,
			'module' => 'Leads',
			'type' => 'iframe',
			'max_size' => '255',
			'require_option' => '0',
			'default_value' => NULL,
			'date_modified' => '2012-04-29 23:33:59',
			'deleted' => '0',
			'audited' => '0',
			'mass_update' => '0',
			'duplicate_merge' => '0',
			'reportable' => '1',
			'importable' => 'false',
			'ext1' => NULL,
			'ext2' => NULL,
			'ext3' => NULL,
			'ext4' => '444',
		),
	),
	'logic_hooks' => array(
		array(
			'module' => 'Accounts',
			'hook' => 'after_save',
			'order' => 99,
			'description' => 'Sync To Net-Results',
			'file' => 'custom/modules/Accounts/mafvm_Accounts_Save.php',
			'class' => 'mafvm_Accounts_Save',
			'function' => 'SyncAccount',
		),
		array(
			'module' => 'Contacts',
			'hook' => 'after_save',
			'order' => 99,
			'description' => 'Sync To Net-Results',
			'file' => 'custom/modules/Contacts/mafvm_Contacts_Save.php',
			'class' => 'mafvm_Contacts_Save',
			'function' => 'SyncContact',
		),
		array(
			'module' => 'Leads',
			'hook' => 'after_save',
			'order' => 99,
			'description' => 'Sync To Net-Results',
			'file' => 'custom/modules/Leads/mafvm_Leads_Save.php',
			'class' => 'mafvm_Leads_Save',
			'function' => 'SyncLead',
		),
	),
);
