842bce08c6046dbfe8e94bbbc14632adc1969822
[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 _0xcfe5=['BOOLEAN','ENUM','agentOnly','never','always','Indicates\x20whether\x20to\x20display\x20the\x20plugin\x20in\x20the\x20sidebar.','sequelize','exports','TEXT','STRING','The\x20physical\x20path\x20where\x20the\x20plugin\x20is\x20stored.'];(function(_0x57a8e7,_0x1e576d){var _0x4ee93a=function(_0x2d5f8b){while(--_0x2d5f8b){_0x57a8e7['push'](_0x57a8e7['shift']());}};_0x4ee93a(++_0x1e576d);}(_0xcfe5,0x1c9));var _0x5cfe=function(_0x54613d,_0x4b8872){_0x54613d=_0x54613d-0x0;var _0x11c35b=_0xcfe5[_0x54613d];return _0x11c35b;};'use strict';var Sequelize=require(_0x5cfe('0x0'));module[_0x5cfe('0x1')]={'name':{'type':Sequelize['STRING']},'type':{'type':Sequelize['ENUM']('html','script')},'description':{'type':Sequelize[_0x5cfe('0x2')]},'version':{'type':Sequelize['TEXT']},'path':{'type':Sequelize[_0x5cfe('0x3')],'comment':_0x5cfe('0x4')},'active':{'type':Sequelize[_0x5cfe('0x5')],'defaultValue':0x0,'comment':'Indicates\x20whether\x20the\x20plugin\x20is\x20installed.\x20Updated\x20when\x20the\x20plugin\x20is\x20installed/uninstalled.'},'sidebar':{'type':Sequelize[_0x5cfe('0x6')]('adminOnly',_0x5cfe('0x7'),'always',_0x5cfe('0x8')),'defaultValue':_0x5cfe('0x9'),'comment':_0x5cfe('0xa')},'icon':{'type':Sequelize[_0x5cfe('0x3')]},'adminUrl':{'type':Sequelize[_0x5cfe('0x3')]},'agentUrl':{'type':Sequelize[_0x5cfe('0x3')]},'scriptName':{'type':Sequelize[_0x5cfe('0x3')]},'scriptPath':{'type':Sequelize[_0x5cfe('0x3')]}};