8ad80ea79f8f1df0981f9200ff1a43438b6c915d
[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 _0xffde=['adminOnly','agentOnly','always','sequelize','ENUM','html','script','TEXT','STRING','The\x20physical\x20path\x20where\x20the\x20plugin\x20is\x20stored.','BOOLEAN','Indicates\x20whether\x20the\x20plugin\x20is\x20installed.\x20Updated\x20when\x20the\x20plugin\x20is\x20installed/uninstalled.'];(function(_0x5627e1,_0x1b2dbf){var _0x2f013f=function(_0x142015){while(--_0x142015){_0x5627e1['push'](_0x5627e1['shift']());}};_0x2f013f(++_0x1b2dbf);}(_0xffde,0x1e3));var _0xeffd=function(_0x4ba4cc,_0x233b3a){_0x4ba4cc=_0x4ba4cc-0x0;var _0x1c9173=_0xffde[_0x4ba4cc];return _0x1c9173;};'use strict';var Sequelize=require(_0xeffd('0x0'));module['exports']={'name':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0xeffd('0x1')](_0xeffd('0x2'),_0xeffd('0x3'))},'description':{'type':Sequelize[_0xeffd('0x4')]},'version':{'type':Sequelize['TEXT']},'path':{'type':Sequelize[_0xeffd('0x5')],'comment':_0xeffd('0x6')},'active':{'type':Sequelize[_0xeffd('0x7')],'defaultValue':0x0,'comment':_0xeffd('0x8')},'sidebar':{'type':Sequelize['ENUM'](_0xeffd('0x9'),_0xeffd('0xa'),_0xeffd('0xb'),'never'),'defaultValue':_0xeffd('0xb'),'comment':'Indicates\x20whether\x20to\x20display\x20the\x20plugin\x20in\x20the\x20sidebar.'},'icon':{'type':Sequelize[_0xeffd('0x5')]},'adminUrl':{'type':Sequelize[_0xeffd('0x5')]},'agentUrl':{'type':Sequelize[_0xeffd('0x5')]},'scriptName':{'type':Sequelize[_0xeffd('0x5')]},'scriptPath':{'type':Sequelize[_0xeffd('0x5')]}};