44e442475c47bd80c4e16267fc604fdff30810fb
[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 _0x3f4f=['The\x20physical\x20path\x20where\x20the\x20plugin\x20is\x20stored.','adminOnly','agentOnly','always','never','Indicates\x20whether\x20to\x20display\x20the\x20plugin\x20in\x20the\x20sidebar.','sequelize','exports','STRING','html','script','TEXT'];(function(_0x4dca4f,_0x3d3989){var _0xb1f24e=function(_0x125f21){while(--_0x125f21){_0x4dca4f['push'](_0x4dca4f['shift']());}};_0xb1f24e(++_0x3d3989);}(_0x3f4f,0x156));var _0xf3f4=function(_0x3dcf1c,_0x15f972){_0x3dcf1c=_0x3dcf1c-0x0;var _0x40fa4e=_0x3f4f[_0x3dcf1c];return _0x40fa4e;};'use strict';var Sequelize=require(_0xf3f4('0x0'));module[_0xf3f4('0x1')]={'name':{'type':Sequelize[_0xf3f4('0x2')]},'type':{'type':Sequelize['ENUM'](_0xf3f4('0x3'),_0xf3f4('0x4'))},'description':{'type':Sequelize['TEXT']},'version':{'type':Sequelize[_0xf3f4('0x5')]},'path':{'type':Sequelize[_0xf3f4('0x2')],'comment':_0xf3f4('0x6')},'active':{'type':Sequelize['BOOLEAN'],'defaultValue':0x0,'comment':'Indicates\x20whether\x20the\x20plugin\x20is\x20installed.\x20Updated\x20when\x20the\x20plugin\x20is\x20installed/uninstalled.'},'sidebar':{'type':Sequelize['ENUM'](_0xf3f4('0x7'),_0xf3f4('0x8'),_0xf3f4('0x9'),_0xf3f4('0xa')),'defaultValue':_0xf3f4('0x9'),'comment':_0xf3f4('0xb')},'icon':{'type':Sequelize[_0xf3f4('0x2')]},'adminUrl':{'type':Sequelize[_0xf3f4('0x2')]},'agentUrl':{'type':Sequelize[_0xf3f4('0x2')]},'scriptName':{'type':Sequelize['STRING']},'scriptPath':{'type':Sequelize[_0xf3f4('0x2')]}};