d9305c0b52566fba1051681fc879dbe724079f6a
[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 _0x5ae9=['never','Indicates\x20whether\x20to\x20display\x20the\x20plugin\x20in\x20the\x20sidebar.','sequelize','exports','STRING','ENUM','html','script','TEXT','Indicates\x20whether\x20the\x20plugin\x20is\x20installed.\x20Updated\x20when\x20the\x20plugin\x20is\x20installed/uninstalled.','adminOnly','agentOnly','always'];(function(_0x2dafbe,_0x5d04de){var _0x58a45a=function(_0x50ac96){while(--_0x50ac96){_0x2dafbe['push'](_0x2dafbe['shift']());}};_0x58a45a(++_0x5d04de);}(_0x5ae9,0x161));var _0x95ae=function(_0x42f247,_0x5bbeca){_0x42f247=_0x42f247-0x0;var _0x411317=_0x5ae9[_0x42f247];return _0x411317;};'use strict';var Sequelize=require(_0x95ae('0x0'));module[_0x95ae('0x1')]={'name':{'type':Sequelize[_0x95ae('0x2')]},'type':{'type':Sequelize[_0x95ae('0x3')](_0x95ae('0x4'),_0x95ae('0x5'))},'description':{'type':Sequelize['TEXT']},'version':{'type':Sequelize[_0x95ae('0x6')]},'path':{'type':Sequelize[_0x95ae('0x2')],'comment':'The\x20physical\x20path\x20where\x20the\x20plugin\x20is\x20stored.'},'active':{'type':Sequelize['BOOLEAN'],'defaultValue':0x0,'comment':_0x95ae('0x7')},'sidebar':{'type':Sequelize[_0x95ae('0x3')](_0x95ae('0x8'),_0x95ae('0x9'),_0x95ae('0xa'),_0x95ae('0xb')),'defaultValue':_0x95ae('0xa'),'comment':_0x95ae('0xc')},'icon':{'type':Sequelize[_0x95ae('0x2')]},'adminUrl':{'type':Sequelize[_0x95ae('0x2')]},'agentUrl':{'type':Sequelize[_0x95ae('0x2')]},'scriptName':{'type':Sequelize[_0x95ae('0x2')]},'scriptPath':{'type':Sequelize[_0x95ae('0x2')]}};