import { Integration } from '../../IntegrationsManager';

var Integration: Integration = {
	name: 'Getiyo',
	description: 'Control your Getiyo channel.',
	connections: [
		{
			type: 'channel',
			name: 'Channel',
			fields: [
				{ id: 'protocol', name: 'Server Protocol', type: 'select', value: 'http', values: [{id:'http', text: "HTTP"}, {id:'https', text:"HTTPS"}] },
				{ id: 'address', name: 'Server Address', type: 'text', value: 'getiyo.com' },
				{ id: 'port', name: 'Server Port', type: 'number', value: '443' },
				{ id: 'channel', name: 'Channel Name', type: 'text' },
				{ id: 'key', name: 'API Key', type: 'text' }
			]
		}
	],
	main: require('./main')
};

module.exports = Integration;
