Built motion from commit 14588770.|2.5.38
[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 _0x1cf8=['adminOnly','always','sequelize','exports','STRING','script','TEXT','BOOLEAN','Indicates\x20whether\x20the\x20plugin\x20is\x20installed.\x20Updated\x20when\x20the\x20plugin\x20is\x20installed/uninstalled.','ENUM'];(function(_0x9df060,_0x253d33){var _0x338dfe=function(_0x17d9a5){while(--_0x17d9a5){_0x9df060['push'](_0x9df060['shift']());}};_0x338dfe(++_0x253d33);}(_0x1cf8,0x160));var _0x81cf=function(_0x2f1753,_0x458f6d){_0x2f1753=_0x2f1753-0x0;var _0x56a164=_0x1cf8[_0x2f1753];return _0x56a164;};'use strict';var Sequelize=require(_0x81cf('0x0'));module[_0x81cf('0x1')]={'name':{'type':Sequelize[_0x81cf('0x2')]},'type':{'type':Sequelize['ENUM']('html',_0x81cf('0x3'))},'description':{'type':Sequelize[_0x81cf('0x4')]},'version':{'type':Sequelize[_0x81cf('0x4')]},'path':{'type':Sequelize[_0x81cf('0x2')],'comment':'The\x20physical\x20path\x20where\x20the\x20plugin\x20is\x20stored.'},'active':{'type':Sequelize[_0x81cf('0x5')],'defaultValue':0x0,'comment':_0x81cf('0x6')},'sidebar':{'type':Sequelize[_0x81cf('0x7')](_0x81cf('0x8'),'agentOnly','always','never'),'defaultValue':_0x81cf('0x9'),'comment':'Indicates\x20whether\x20to\x20display\x20the\x20plugin\x20in\x20the\x20sidebar.'},'icon':{'type':Sequelize[_0x81cf('0x2')]},'adminUrl':{'type':Sequelize[_0x81cf('0x2')]},'agentUrl':{'type':Sequelize[_0x81cf('0x2')]},'scriptName':{'type':Sequelize[_0x81cf('0x2')]},'scriptPath':{'type':Sequelize[_0x81cf('0x2')]}};