97e41f7cafab4f3c00a0b193e4f87a95eef36a32
[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 _0xcf90=['TEXT','BOOLEAN','ENUM','adminOnly','always','never','sequelize','exports','STRING'];(function(_0x37a242,_0x380853){var _0x32867e=function(_0x5544cb){while(--_0x5544cb){_0x37a242['push'](_0x37a242['shift']());}};_0x32867e(++_0x380853);}(_0xcf90,0x1e3));var _0x0cf9=function(_0x6c4951,_0x33301b){_0x6c4951=_0x6c4951-0x0;var _0x1a2685=_0xcf90[_0x6c4951];return _0x1a2685;};'use strict';var Sequelize=require(_0x0cf9('0x0'));module[_0x0cf9('0x1')]={'name':{'type':Sequelize[_0x0cf9('0x2')]},'type':{'type':Sequelize['ENUM']('html','script')},'description':{'type':Sequelize[_0x0cf9('0x3')]},'version':{'type':Sequelize[_0x0cf9('0x3')]},'path':{'type':Sequelize[_0x0cf9('0x2')],'comment':'The\x20physical\x20path\x20where\x20the\x20plugin\x20is\x20stored.'},'active':{'type':Sequelize[_0x0cf9('0x4')],'defaultValue':0x0,'comment':'Indicates\x20whether\x20the\x20plugin\x20is\x20installed.\x20Updated\x20when\x20the\x20plugin\x20is\x20installed/uninstalled.'},'sidebar':{'type':Sequelize[_0x0cf9('0x5')](_0x0cf9('0x6'),'agentOnly',_0x0cf9('0x7'),_0x0cf9('0x8')),'defaultValue':_0x0cf9('0x7'),'comment':'Indicates\x20whether\x20to\x20display\x20the\x20plugin\x20in\x20the\x20sidebar.'},'icon':{'type':Sequelize[_0x0cf9('0x2')]},'adminUrl':{'type':Sequelize['STRING']},'agentUrl':{'type':Sequelize[_0x0cf9('0x2')]},'scriptName':{'type':Sequelize[_0x0cf9('0x2')]},'scriptPath':{'type':Sequelize['STRING']}};