7c42daa08e0cd394b63b5c6982982b741be06185
[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 _0xc50d=['The\x20physical\x20path\x20where\x20the\x20plugin\x20is\x20stored.','never','exports','STRING','ENUM','html','script','TEXT'];(function(_0x2c91e9,_0x2fb965){var _0x13f0ff=function(_0xb39edf){while(--_0xb39edf){_0x2c91e9['push'](_0x2c91e9['shift']());}};_0x13f0ff(++_0x2fb965);}(_0xc50d,0x1aa));var _0xdc50=function(_0x51bb0b,_0x55b8d4){_0x51bb0b=_0x51bb0b-0x0;var _0x87265a=_0xc50d[_0x51bb0b];return _0x87265a;};'use strict';var Sequelize=require('sequelize');module[_0xdc50('0x0')]={'name':{'type':Sequelize[_0xdc50('0x1')]},'type':{'type':Sequelize[_0xdc50('0x2')](_0xdc50('0x3'),_0xdc50('0x4'))},'description':{'type':Sequelize[_0xdc50('0x5')]},'version':{'type':Sequelize['TEXT']},'path':{'type':Sequelize['STRING'],'comment':_0xdc50('0x6')},'active':{'type':Sequelize['BOOLEAN'],'defaultValue':0x0,'comment':'Indicates\x20whether\x20the\x20plugin\x20is\x20installed.\x20Updated\x20when\x20the\x20plugin\x20is\x20installed/uninstalled.'},'sidebar':{'type':Sequelize[_0xdc50('0x2')]('adminOnly','agentOnly','always',_0xdc50('0x7')),'defaultValue':'always','comment':'Indicates\x20whether\x20to\x20display\x20the\x20plugin\x20in\x20the\x20sidebar.'},'icon':{'type':Sequelize[_0xdc50('0x1')]},'adminUrl':{'type':Sequelize[_0xdc50('0x1')]},'agentUrl':{'type':Sequelize[_0xdc50('0x1')]},'scriptName':{'type':Sequelize['STRING']},'scriptPath':{'type':Sequelize['STRING']}};