7b4a00fb319e786cfbdd32508e8f87c1e5107894
[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 _0xaa14=['always','never','sequelize','exports','STRING','ENUM','html','script','TEXT','Indicates\x20whether\x20the\x20plugin\x20is\x20installed.\x20Updated\x20when\x20the\x20plugin\x20is\x20installed/uninstalled.','agentOnly'];(function(_0x29c3a0,_0x32be87){var _0x430f8a=function(_0x4143d9){while(--_0x4143d9){_0x29c3a0['push'](_0x29c3a0['shift']());}};_0x430f8a(++_0x32be87);}(_0xaa14,0x10a));var _0x4aa1=function(_0x16852c,_0x38eb4b){_0x16852c=_0x16852c-0x0;var _0x29b351=_0xaa14[_0x16852c];return _0x29b351;};'use strict';var Sequelize=require(_0x4aa1('0x0'));module[_0x4aa1('0x1')]={'name':{'type':Sequelize[_0x4aa1('0x2')]},'type':{'type':Sequelize[_0x4aa1('0x3')](_0x4aa1('0x4'),_0x4aa1('0x5'))},'description':{'type':Sequelize[_0x4aa1('0x6')]},'version':{'type':Sequelize[_0x4aa1('0x6')]},'path':{'type':Sequelize['STRING'],'comment':'The\x20physical\x20path\x20where\x20the\x20plugin\x20is\x20stored.'},'active':{'type':Sequelize['BOOLEAN'],'defaultValue':0x0,'comment':_0x4aa1('0x7')},'sidebar':{'type':Sequelize[_0x4aa1('0x3')]('adminOnly',_0x4aa1('0x8'),_0x4aa1('0x9'),_0x4aa1('0xa')),'defaultValue':_0x4aa1('0x9'),'comment':'Indicates\x20whether\x20to\x20display\x20the\x20plugin\x20in\x20the\x20sidebar.'},'icon':{'type':Sequelize[_0x4aa1('0x2')]},'adminUrl':{'type':Sequelize[_0x4aa1('0x2')]},'agentUrl':{'type':Sequelize['STRING']},'scriptName':{'type':Sequelize['STRING']},'scriptPath':{'type':Sequelize['STRING']}};