88bbcb7a9ad0ace724733f94a647ed3bd9215343
[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 _0xed7a=['sequelize','exports','STRING','html','script','TEXT','The\x20physical\x20path\x20where\x20the\x20plugin\x20is\x20stored.','BOOLEAN','Indicates\x20whether\x20the\x20plugin\x20is\x20installed.\x20Updated\x20when\x20the\x20plugin\x20is\x20installed/uninstalled.','ENUM','agentOnly','always','never','Indicates\x20whether\x20to\x20display\x20the\x20plugin\x20in\x20the\x20sidebar.'];(function(_0x2be8c2,_0x14a4b5){var _0x97f531=function(_0xcee58d){while(--_0xcee58d){_0x2be8c2['push'](_0x2be8c2['shift']());}};_0x97f531(++_0x14a4b5);}(_0xed7a,0x17a));var _0xaed7=function(_0x269ac7,_0x40ea9a){_0x269ac7=_0x269ac7-0x0;var _0x4b9606=_0xed7a[_0x269ac7];return _0x4b9606;};'use strict';var Sequelize=require(_0xaed7('0x0'));module[_0xaed7('0x1')]={'name':{'type':Sequelize[_0xaed7('0x2')]},'type':{'type':Sequelize['ENUM'](_0xaed7('0x3'),_0xaed7('0x4'))},'description':{'type':Sequelize[_0xaed7('0x5')]},'version':{'type':Sequelize[_0xaed7('0x5')]},'path':{'type':Sequelize[_0xaed7('0x2')],'comment':_0xaed7('0x6')},'active':{'type':Sequelize[_0xaed7('0x7')],'defaultValue':0x0,'comment':_0xaed7('0x8')},'sidebar':{'type':Sequelize[_0xaed7('0x9')]('adminOnly',_0xaed7('0xa'),_0xaed7('0xb'),_0xaed7('0xc')),'defaultValue':_0xaed7('0xb'),'comment':_0xaed7('0xd')},'icon':{'type':Sequelize['STRING']},'adminUrl':{'type':Sequelize[_0xaed7('0x2')]},'agentUrl':{'type':Sequelize[_0xaed7('0x2')]},'scriptName':{'type':Sequelize[_0xaed7('0x2')]},'scriptPath':{'type':Sequelize[_0xaed7('0x2')]}};