b85aa96e515605e6d8bf340aa4d31d53dfbb9ccc
[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 _0x5300=['agentOnly','never','always','Indicates\x20whether\x20to\x20display\x20the\x20plugin\x20in\x20the\x20sidebar.','sequelize','ENUM','html','script','STRING','The\x20physical\x20path\x20where\x20the\x20plugin\x20is\x20stored.','BOOLEAN','adminOnly'];(function(_0x2dea24,_0x2fc021){var _0x309d58=function(_0x2eb89f){while(--_0x2eb89f){_0x2dea24['push'](_0x2dea24['shift']());}};_0x309d58(++_0x2fc021);}(_0x5300,0x13c));var _0x0530=function(_0x5a0072,_0x410a20){_0x5a0072=_0x5a0072-0x0;var _0x207848=_0x5300[_0x5a0072];return _0x207848;};'use strict';var Sequelize=require(_0x0530('0x0'));module['exports']={'name':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0x0530('0x1')](_0x0530('0x2'),_0x0530('0x3'))},'description':{'type':Sequelize['TEXT']},'version':{'type':Sequelize['TEXT']},'path':{'type':Sequelize[_0x0530('0x4')],'comment':_0x0530('0x5')},'active':{'type':Sequelize[_0x0530('0x6')],'defaultValue':0x0,'comment':'Indicates\x20whether\x20the\x20plugin\x20is\x20installed.\x20Updated\x20when\x20the\x20plugin\x20is\x20installed/uninstalled.'},'sidebar':{'type':Sequelize[_0x0530('0x1')](_0x0530('0x7'),_0x0530('0x8'),'always',_0x0530('0x9')),'defaultValue':_0x0530('0xa'),'comment':_0x0530('0xb')},'icon':{'type':Sequelize[_0x0530('0x4')]},'adminUrl':{'type':Sequelize[_0x0530('0x4')]},'agentUrl':{'type':Sequelize[_0x0530('0x4')]},'scriptName':{'type':Sequelize['STRING']},'scriptPath':{'type':Sequelize[_0x0530('0x4')]}};