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