<?php
global $runnerTableSettings;
$runnerTableSettings['integration_connection'] = array(
	'name' => 'integration_connection',
	'shortName' => 'integration_connection',
	'pagesByType' => array(
		'add' => array( 
			'add' 
		),
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'edit' => array( 
			'edit' 
		),
		'view' => array( 
			'view' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'pageTypes' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'defaultPages' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'afterEditDetails' => 'integration_connection',
	'afterAddDetail' => 'integration_connection',
	'detailsBadgeColor' => '5f9ea0',
	'sql' => 'SELECT
	id,
	company_id,
	connection_code,
	connection_name,
	provider_code,
	connection_type,
	credential_secret_ref,
	configuration_json,
	status,
	last_success_at,
	last_error_at,
	created_at
FROM
	integration_connection',
	'keyFields' => array( 
		'id' 
	),
	'deviceHideFields' => array(
		'1' => array( 
			 
		),
		'5' => array( 
			 
		) 
	),
	'fields' => array(
		'id' => array(
			'name' => 'id',
			'goodName' => 'id',
			'strField' => 'id',
			'index' => 1,
			'type' => 3,
			'autoinc' => true,
			'sqlExpression' => 'id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'integration_connection' 
		),
		'company_id' => array(
			'name' => 'company_id',
			'goodName' => 'company_id',
			'strField' => 'company_id',
			'index' => 2,
			'type' => 3,
			'sqlExpression' => 'company_id',
			'viewFormats' => array(
				'view' => array(
					'viewLink' => true 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'company',
					'lookupTableConnection' => 'conn1',
					'lookupLinkField' => 'id',
					'lookupDisplayField' => 'company_uuid' 
				) 
			),
			'tableName' => 'integration_connection',
			'viewLinkTable' => 'company',
			'viewLinkLookup' => true 
		),
		'connection_code' => array(
			'name' => 'connection_code',
			'goodName' => 'connection_code',
			'strField' => 'connection_code',
			'index' => 3,
			'sqlExpression' => 'connection_code',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'integration_connection' 
		),
		'connection_name' => array(
			'name' => 'connection_name',
			'goodName' => 'connection_name',
			'strField' => 'connection_name',
			'index' => 4,
			'sqlExpression' => 'connection_name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'integration_connection' 
		),
		'provider_code' => array(
			'name' => 'provider_code',
			'goodName' => 'provider_code',
			'strField' => 'provider_code',
			'index' => 5,
			'sqlExpression' => 'provider_code',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'integration_connection' 
		),
		'connection_type' => array(
			'name' => 'connection_type',
			'goodName' => 'connection_type',
			'strField' => 'connection_type',
			'index' => 6,
			'sqlExpression' => 'connection_type',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'integration_connection' 
		),
		'credential_secret_ref' => array(
			'name' => 'credential_secret_ref',
			'goodName' => 'credential_secret_ref',
			'strField' => 'credential_secret_ref',
			'index' => 7,
			'sqlExpression' => 'credential_secret_ref',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'integration_connection' 
		),
		'configuration_json' => array(
			'name' => 'configuration_json',
			'goodName' => 'configuration_json',
			'strField' => 'configuration_json',
			'index' => 8,
			'type' => 13,
			'sqlExpression' => 'configuration_json',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'integration_connection' 
		),
		'status' => array(
			'name' => 'status',
			'goodName' => 'status',
			'strField' => 'status',
			'index' => 9,
			'sqlExpression' => 'status',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'integration_connection' 
		),
		'last_success_at' => array(
			'name' => 'last_success_at',
			'goodName' => 'last_success_at',
			'strField' => 'last_success_at',
			'index' => 10,
			'type' => 135,
			'sqlExpression' => 'last_success_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'integration_connection' 
		),
		'last_error_at' => array(
			'name' => 'last_error_at',
			'goodName' => 'last_error_at',
			'strField' => 'last_error_at',
			'index' => 11,
			'type' => 135,
			'sqlExpression' => 'last_error_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'integration_connection' 
		),
		'created_at' => array(
			'name' => 'created_at',
			'goodName' => 'created_at',
			'strField' => 'created_at',
			'index' => 12,
			'type' => 135,
			'sqlExpression' => 'created_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'integration_connection' 
		) 
	),
	'masterTables' => array( 
		array(
			'table' => 'company',
			'detailsKeys' => array( 
				'company_id' 
			),
			'masterKeys' => array( 
				'id' 
			) 
		) 
	),
	'query' => array(
		'sql' => 'SELECT
	id,
	company_id,
	connection_code,
	connection_name,
	provider_code,
	connection_type,
	credential_secret_ref,
	configuration_json,
	status,
	last_success_at,
	last_error_at,
	created_at
FROM
	integration_connection',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'integration_connection',
					'name' => 'id' 
				),
				'encrypted' => false,
				'columnName' => 'id' 
			),
			array(
				'sql' => 'company_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'integration_connection',
					'name' => 'company_id' 
				),
				'encrypted' => false,
				'columnName' => 'company_id' 
			),
			array(
				'sql' => 'connection_code',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'integration_connection',
					'name' => 'connection_code' 
				),
				'encrypted' => false,
				'columnName' => 'connection_code' 
			),
			array(
				'sql' => 'connection_name',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'integration_connection',
					'name' => 'connection_name' 
				),
				'encrypted' => false,
				'columnName' => 'connection_name' 
			),
			array(
				'sql' => 'provider_code',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'integration_connection',
					'name' => 'provider_code' 
				),
				'encrypted' => false,
				'columnName' => 'provider_code' 
			),
			array(
				'sql' => 'connection_type',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'integration_connection',
					'name' => 'connection_type' 
				),
				'encrypted' => false,
				'columnName' => 'connection_type' 
			),
			array(
				'sql' => 'credential_secret_ref',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'integration_connection',
					'name' => 'credential_secret_ref' 
				),
				'encrypted' => false,
				'columnName' => 'credential_secret_ref' 
			),
			array(
				'sql' => 'configuration_json',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'integration_connection',
					'name' => 'configuration_json' 
				),
				'encrypted' => false,
				'columnName' => 'configuration_json' 
			),
			array(
				'sql' => 'status',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'integration_connection',
					'name' => 'status' 
				),
				'encrypted' => false,
				'columnName' => 'status' 
			),
			array(
				'sql' => 'last_success_at',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'integration_connection',
					'name' => 'last_success_at' 
				),
				'encrypted' => false,
				'columnName' => 'last_success_at' 
			),
			array(
				'sql' => 'last_error_at',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'integration_connection',
					'name' => 'last_error_at' 
				),
				'encrypted' => false,
				'columnName' => 'last_error_at' 
			),
			array(
				'sql' => 'created_at',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'integration_connection',
					'name' => 'created_at' 
				),
				'encrypted' => false,
				'columnName' => 'created_at' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'integration_connection',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'integration_connection',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'id',
						'company_id',
						'connection_code',
						'connection_name',
						'provider_code',
						'connection_type',
						'credential_secret_ref',
						'configuration_json',
						'status',
						'last_success_at',
						'last_error_at',
						'created_at' 
					),
					'name' => 'integration_connection' 
				),
				'joinOn' => array(
					'sql' => '',
					'parsed' => false,
					'type' => 'LogicalExpression',
					'contained' => array( 
						 
					),
					'unionType' => 0,
					'column' => null 
				),
				'joinList' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'JoinOn',
					'field1' => array( 
						 
					),
					'field2' => array( 
						 
					) 
				),
				'link' => 0 
			) 
		),
		'where' => array(
			'sql' => '',
			'parsed' => false,
			'type' => 'LogicalExpression',
			'contained' => array( 
				 
			),
			'unionType' => 0,
			'column' => null 
		),
		'groupBy' => array( 
			 
		),
		'having' => array(
			'sql' => '',
			'parsed' => false,
			'type' => 'LogicalExpression',
			'contained' => array( 
				 
			),
			'unionType' => 0,
			'column' => null 
		),
		'orderBy' => array( 
			 
		),
		'colsIndex' => array( 
			array(
				'fieldIndex' => 0,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 1,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 2,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 3,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 4,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 5,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 6,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 7,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 8,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 9,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 10,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 11,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			) 
		),
		'headSql' => 'SELECT',
		'fieldListSql' => 'id,
	company_id,
	connection_code,
	connection_name,
	provider_code,
	connection_type,
	credential_secret_ref,
	configuration_json,
	status,
	last_success_at,
	last_error_at,
	created_at',
		'fromListSql' => 'FROM
	integration_connection',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'originalTable' => 'integration_connection',
	'originalPagesByType' => array(
		'add' => array( 
			'add' 
		),
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'edit' => array( 
			'edit' 
		),
		'view' => array( 
			'view' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'originalPageTypes' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'originalDefaultPages' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'searchSettings' => array(
		'caseSensitiveSearch' => false,
		'searchableFields' => array( 
			'id',
			'company_id',
			'connection_code',
			'connection_name',
			'provider_code',
			'connection_type',
			'credential_secret_ref',
			'configuration_json',
			'status',
			'last_success_at',
			'last_error_at',
			'created_at' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'id',
			'company_id',
			'connection_code',
			'connection_name',
			'provider_code',
			'connection_type',
			'credential_secret_ref',
			'configuration_json',
			'status',
			'last_success_at',
			'last_error_at',
			'created_at' 
		) 
	),
	'connId' => 'conn1',
	'clickActions' => array(
		'row' => array(
			'action' => 'noaction' 
		),
		'fields' => array(
			 
		) 
	),
	'geoCoding' => array(
		'enabled' => false,
		'latField' => '',
		'lonField' => '',
		'addressFields' => array( 
			 
		) 
	),
	'whereTabs' => array( 
		 
	),
	'labels' => array(
		 
	),
	'chartSettings' => array(
		 
	),
	'dataSourceOperations' => array(
		 
	),
	'calendarSettings' => array(
		'categoryColors' => array( 
			 
		) 
	),
	'ganttSettings' => array(
		'categoryColors' => array( 
			 
		) 
	) 
);

global $runnerTableLabels;
if( mlang_getcurrentlang() === 'English' ) {
	$runnerTableLabels['integration_connection'] = array(
	'tableCaption' => 'Integration Connection',
	'fieldLabels' => array(
		'id' => 'Id',
		'company_id' => 'Company Id',
		'connection_code' => 'Connection Code',
		'connection_name' => 'Connection Name',
		'provider_code' => 'Provider Code',
		'connection_type' => 'Connection Type',
		'credential_secret_ref' => 'Credential Secret Ref',
		'configuration_json' => 'Configuration Json',
		'status' => 'Status',
		'last_success_at' => 'Last Success At',
		'last_error_at' => 'Last Error At',
		'created_at' => 'Created At' 
	),
	'fieldTooltips' => array(
		'id' => '',
		'company_id' => '',
		'connection_code' => '',
		'connection_name' => '',
		'provider_code' => '',
		'connection_type' => '',
		'credential_secret_ref' => '',
		'configuration_json' => '',
		'status' => '',
		'last_success_at' => '',
		'last_error_at' => '',
		'created_at' => '' 
	),
	'fieldPlaceholders' => array(
		'id' => '',
		'company_id' => '',
		'connection_code' => '',
		'connection_name' => '',
		'provider_code' => '',
		'connection_type' => '',
		'credential_secret_ref' => '',
		'configuration_json' => '',
		'status' => '',
		'last_success_at' => '',
		'last_error_at' => '',
		'created_at' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>