905c9d13447c2c43542a8b67decfd9173ea393ba
[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 _0xbe78=['never','sequelize','exports','STRING','ENUM','html','script','The\x20physical\x20path\x20where\x20the\x20plugin\x20is\x20stored.','adminOnly','agentOnly'];(function(_0x11c528,_0x46c26c){var _0x5f1094=function(_0x580cad){while(--_0x580cad){_0x11c528['push'](_0x11c528['shift']());}};_0x5f1094(++_0x46c26c);}(_0xbe78,0x65));var _0x8be7=function(_0x269e95,_0xd86ff3){_0x269e95=_0x269e95-0x0;var _0x11f59c=_0xbe78[_0x269e95];return _0x11f59c;};'use strict';var Sequelize=require(_0x8be7('0x0'));module[_0x8be7('0x1')]={'name':{'type':Sequelize[_0x8be7('0x2')]},'type':{'type':Sequelize[_0x8be7('0x3')](_0x8be7('0x4'),_0x8be7('0x5'))},'description':{'type':Sequelize['TEXT']},'version':{'type':Sequelize['TEXT']},'path':{'type':Sequelize[_0x8be7('0x2')],'comment':_0x8be7('0x6')},'active':{'type':Sequelize['BOOLEAN'],'defaultValue':0x0,'comment':'Indicates\x20whether\x20the\x20plugin\x20is\x20installed.\x20Updated\x20when\x20the\x20plugin\x20is\x20installed/uninstalled.'},'sidebar':{'type':Sequelize[_0x8be7('0x3')](_0x8be7('0x7'),_0x8be7('0x8'),'always',_0x8be7('0x9')),'defaultValue':'always','comment':'Indicates\x20whether\x20to\x20display\x20the\x20plugin\x20in\x20the\x20sidebar.'},'icon':{'type':Sequelize[_0x8be7('0x2')]},'adminUrl':{'type':Sequelize[_0x8be7('0x2')]},'agentUrl':{'type':Sequelize['STRING']},'scriptName':{'type':Sequelize[_0x8be7('0x2')]},'scriptPath':{'type':Sequelize[_0x8be7('0x2')]}};