51fa9b3469d2246a064666e5f416cafdf99a2908
[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 _0x59d8=['exports','STRING','ENUM','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.','adminOnly','agentOnly','always','never','sequelize'];(function(_0x10791d,_0x2562b6){var _0x1b4f9c=function(_0x3b2815){while(--_0x3b2815){_0x10791d['push'](_0x10791d['shift']());}};_0x1b4f9c(++_0x2562b6);}(_0x59d8,0x1db));var _0x859d=function(_0x383dbb,_0x17d41b){_0x383dbb=_0x383dbb-0x0;var _0x6e8bde=_0x59d8[_0x383dbb];return _0x6e8bde;};'use strict';var Sequelize=require(_0x859d('0x0'));module[_0x859d('0x1')]={'name':{'type':Sequelize[_0x859d('0x2')]},'type':{'type':Sequelize[_0x859d('0x3')](_0x859d('0x4'),_0x859d('0x5'))},'description':{'type':Sequelize[_0x859d('0x6')]},'version':{'type':Sequelize['TEXT']},'path':{'type':Sequelize[_0x859d('0x2')],'comment':_0x859d('0x7')},'active':{'type':Sequelize[_0x859d('0x8')],'defaultValue':0x0,'comment':_0x859d('0x9')},'sidebar':{'type':Sequelize[_0x859d('0x3')](_0x859d('0xa'),_0x859d('0xb'),_0x859d('0xc'),_0x859d('0xd')),'defaultValue':_0x859d('0xc'),'comment':'Indicates\x20whether\x20to\x20display\x20the\x20plugin\x20in\x20the\x20sidebar.'},'icon':{'type':Sequelize[_0x859d('0x2')]},'adminUrl':{'type':Sequelize[_0x859d('0x2')]},'agentUrl':{'type':Sequelize['STRING']},'scriptName':{'type':Sequelize['STRING']},'scriptPath':{'type':Sequelize[_0x859d('0x2')]}};