791583eea5dcc1f539b4606179d7f74b7617834c
[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 _0xf7d3=['html','script','TEXT','BOOLEAN','adminOnly','always','never','Indicates\x20whether\x20to\x20display\x20the\x20plugin\x20in\x20the\x20sidebar.','sequelize','exports','STRING','ENUM'];(function(_0x1d04b5,_0x30792c){var _0x161342=function(_0x94ff92){while(--_0x94ff92){_0x1d04b5['push'](_0x1d04b5['shift']());}};_0x161342(++_0x30792c);}(_0xf7d3,0x194));var _0x3f7d=function(_0x2bdfb8,_0x55db9a){_0x2bdfb8=_0x2bdfb8-0x0;var _0x1b315b=_0xf7d3[_0x2bdfb8];return _0x1b315b;};'use strict';var Sequelize=require(_0x3f7d('0x0'));module[_0x3f7d('0x1')]={'name':{'type':Sequelize[_0x3f7d('0x2')]},'type':{'type':Sequelize[_0x3f7d('0x3')](_0x3f7d('0x4'),_0x3f7d('0x5'))},'description':{'type':Sequelize[_0x3f7d('0x6')]},'version':{'type':Sequelize[_0x3f7d('0x6')]},'path':{'type':Sequelize['STRING'],'comment':'The\x20physical\x20path\x20where\x20the\x20plugin\x20is\x20stored.'},'active':{'type':Sequelize[_0x3f7d('0x7')],'defaultValue':0x0,'comment':'Indicates\x20whether\x20the\x20plugin\x20is\x20installed.\x20Updated\x20when\x20the\x20plugin\x20is\x20installed/uninstalled.'},'sidebar':{'type':Sequelize[_0x3f7d('0x3')](_0x3f7d('0x8'),'agentOnly',_0x3f7d('0x9'),_0x3f7d('0xa')),'defaultValue':_0x3f7d('0x9'),'comment':_0x3f7d('0xb')},'icon':{'type':Sequelize[_0x3f7d('0x2')]},'adminUrl':{'type':Sequelize['STRING']},'agentUrl':{'type':Sequelize['STRING']},'scriptName':{'type':Sequelize[_0x3f7d('0x2')]},'scriptPath':{'type':Sequelize[_0x3f7d('0x2')]}};