3a3122a6d0647cc9ed29ebebe2851a23f55941ef
[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 _0x91bc=['TEXT','BOOLEAN','ENUM','agentOnly','never','always','sequelize','exports','STRING','html','script'];(function(_0x540995,_0x3b1dba){var _0x2f89ba=function(_0x7bee84){while(--_0x7bee84){_0x540995['push'](_0x540995['shift']());}};_0x2f89ba(++_0x3b1dba);}(_0x91bc,0x15b));var _0xc91b=function(_0x2762fc,_0x4d21a6){_0x2762fc=_0x2762fc-0x0;var _0x1ae50b=_0x91bc[_0x2762fc];return _0x1ae50b;};'use strict';var Sequelize=require(_0xc91b('0x0'));module[_0xc91b('0x1')]={'name':{'type':Sequelize[_0xc91b('0x2')]},'type':{'type':Sequelize['ENUM'](_0xc91b('0x3'),_0xc91b('0x4'))},'description':{'type':Sequelize['TEXT']},'version':{'type':Sequelize[_0xc91b('0x5')]},'path':{'type':Sequelize['STRING'],'comment':'The\x20physical\x20path\x20where\x20the\x20plugin\x20is\x20stored.'},'active':{'type':Sequelize[_0xc91b('0x6')],'defaultValue':0x0,'comment':'Indicates\x20whether\x20the\x20plugin\x20is\x20installed.\x20Updated\x20when\x20the\x20plugin\x20is\x20installed/uninstalled.'},'sidebar':{'type':Sequelize[_0xc91b('0x7')]('adminOnly',_0xc91b('0x8'),'always',_0xc91b('0x9')),'defaultValue':_0xc91b('0xa'),'comment':'Indicates\x20whether\x20to\x20display\x20the\x20plugin\x20in\x20the\x20sidebar.'},'icon':{'type':Sequelize[_0xc91b('0x2')]},'adminUrl':{'type':Sequelize[_0xc91b('0x2')]},'agentUrl':{'type':Sequelize[_0xc91b('0x2')]},'scriptName':{'type':Sequelize[_0xc91b('0x2')]},'scriptPath':{'type':Sequelize[_0xc91b('0x2')]}};