2f825ef4d01c00278d2903b9e702a04d083c448d
[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 _0x8134=['ENUM','html','TEXT','The\x20physical\x20path\x20where\x20the\x20plugin\x20is\x20stored.','Indicates\x20whether\x20the\x20plugin\x20is\x20installed.\x20Updated\x20when\x20the\x20plugin\x20is\x20installed/uninstalled.','always','Indicates\x20whether\x20to\x20display\x20the\x20plugin\x20in\x20the\x20sidebar.','exports','STRING'];(function(_0x201e11,_0x1991e5){var _0x287974=function(_0x47bd72){while(--_0x47bd72){_0x201e11['push'](_0x201e11['shift']());}};_0x287974(++_0x1991e5);}(_0x8134,0xf1));var _0x4813=function(_0x25963a,_0x3a7f59){_0x25963a=_0x25963a-0x0;var _0x58bc5a=_0x8134[_0x25963a];return _0x58bc5a;};'use strict';var Sequelize=require('sequelize');module[_0x4813('0x0')]={'name':{'type':Sequelize[_0x4813('0x1')]},'type':{'type':Sequelize[_0x4813('0x2')](_0x4813('0x3'),'script')},'description':{'type':Sequelize[_0x4813('0x4')]},'version':{'type':Sequelize['TEXT']},'path':{'type':Sequelize[_0x4813('0x1')],'comment':_0x4813('0x5')},'active':{'type':Sequelize['BOOLEAN'],'defaultValue':0x0,'comment':_0x4813('0x6')},'sidebar':{'type':Sequelize[_0x4813('0x2')]('adminOnly','agentOnly',_0x4813('0x7'),'never'),'defaultValue':_0x4813('0x7'),'comment':_0x4813('0x8')},'icon':{'type':Sequelize[_0x4813('0x1')]},'adminUrl':{'type':Sequelize[_0x4813('0x1')]},'agentUrl':{'type':Sequelize[_0x4813('0x1')]},'scriptName':{'type':Sequelize['STRING']},'scriptPath':{'type':Sequelize['STRING']}};