947bdfd00b608b83d8a2d8574499115d6b9be76b
[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 _0x0545=['exports','STRING','ENUM','html','script','TEXT','Indicates\x20whether\x20the\x20plugin\x20is\x20installed.\x20Updated\x20when\x20the\x20plugin\x20is\x20installed/uninstalled.','adminOnly','agentOnly','always','sequelize'];(function(_0x46698a,_0x8de1e4){var _0x356db0=function(_0x19e83c){while(--_0x19e83c){_0x46698a['push'](_0x46698a['shift']());}};_0x356db0(++_0x8de1e4);}(_0x0545,0xba));var _0x5054=function(_0x4d5831,_0x5daba7){_0x4d5831=_0x4d5831-0x0;var _0xa096fd=_0x0545[_0x4d5831];return _0xa096fd;};'use strict';var Sequelize=require(_0x5054('0x0'));module[_0x5054('0x1')]={'name':{'type':Sequelize[_0x5054('0x2')]},'type':{'type':Sequelize[_0x5054('0x3')](_0x5054('0x4'),_0x5054('0x5'))},'description':{'type':Sequelize['TEXT']},'version':{'type':Sequelize[_0x5054('0x6')]},'path':{'type':Sequelize[_0x5054('0x2')],'comment':'The\x20physical\x20path\x20where\x20the\x20plugin\x20is\x20stored.'},'active':{'type':Sequelize['BOOLEAN'],'defaultValue':0x0,'comment':_0x5054('0x7')},'sidebar':{'type':Sequelize['ENUM'](_0x5054('0x8'),_0x5054('0x9'),_0x5054('0xa'),'never'),'defaultValue':_0x5054('0xa'),'comment':'Indicates\x20whether\x20to\x20display\x20the\x20plugin\x20in\x20the\x20sidebar.'},'icon':{'type':Sequelize[_0x5054('0x2')]},'adminUrl':{'type':Sequelize[_0x5054('0x2')]},'agentUrl':{'type':Sequelize['STRING']},'scriptName':{'type':Sequelize['STRING']},'scriptPath':{'type':Sequelize[_0x5054('0x2')]}};