7c732a5c857bd57636b721e3b78b9eeb3bc18a0f
[motion2.git] / server / api / plugin / plugin.attributes.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xbaca=['exports','script','TEXT','STRING','The\x20physical\x20path\x20where\x20the\x20plugin\x20is\x20stored.','BOOLEAN','Indicates\x20whether\x20the\x20plugin\x20is\x20installed.\x20Updated\x20when\x20the\x20plugin\x20is\x20installed/uninstalled.','ENUM','never','always','Indicates\x20whether\x20to\x20display\x20the\x20plugin\x20in\x20the\x20sidebar.','sequelize'];(function(_0x388dca,_0x31ede2){var _0x45da66=function(_0x12c730){while(--_0x12c730){_0x388dca['push'](_0x388dca['shift']());}};_0x45da66(++_0x31ede2);}(_0xbaca,0x77));var _0xabac=function(_0x4c3ffe,_0x457374){_0x4c3ffe=_0x4c3ffe-0x0;var _0x28d3eb=_0xbaca[_0x4c3ffe];return _0x28d3eb;};'use strict';var Sequelize=require(_0xabac('0x0'));module[_0xabac('0x1')]={'name':{'type':Sequelize['STRING']},'type':{'type':Sequelize['ENUM']('html',_0xabac('0x2'))},'description':{'type':Sequelize['TEXT']},'version':{'type':Sequelize[_0xabac('0x3')]},'path':{'type':Sequelize[_0xabac('0x4')],'comment':_0xabac('0x5')},'active':{'type':Sequelize[_0xabac('0x6')],'defaultValue':0x0,'comment':_0xabac('0x7')},'sidebar':{'type':Sequelize[_0xabac('0x8')]('adminOnly','agentOnly','always',_0xabac('0x9')),'defaultValue':_0xabac('0xa'),'comment':_0xabac('0xb')},'icon':{'type':Sequelize[_0xabac('0x4')]},'adminUrl':{'type':Sequelize[_0xabac('0x4')]},'agentUrl':{'type':Sequelize[_0xabac('0x4')]},'scriptName':{'type':Sequelize['STRING']},'scriptPath':{'type':Sequelize['STRING']}};