5cbda746fe5202d1b92d8bc2fed1e439a91e63e3
[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 _0x8071=['always','sequelize','ENUM','html','TEXT','STRING','Indicates\x20whether\x20the\x20plugin\x20is\x20installed.\x20Updated\x20when\x20the\x20plugin\x20is\x20installed/uninstalled.','adminOnly','never'];(function(_0xb10dd3,_0x130410){var _0x270180=function(_0x5771bd){while(--_0x5771bd){_0xb10dd3['push'](_0xb10dd3['shift']());}};_0x270180(++_0x130410);}(_0x8071,0x1c3));var _0x1807=function(_0xfad590,_0x2d890a){_0xfad590=_0xfad590-0x0;var _0x38ac7f=_0x8071[_0xfad590];return _0x38ac7f;};'use strict';var Sequelize=require(_0x1807('0x0'));module['exports']={'name':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0x1807('0x1')](_0x1807('0x2'),'script')},'description':{'type':Sequelize[_0x1807('0x3')]},'version':{'type':Sequelize[_0x1807('0x3')]},'path':{'type':Sequelize[_0x1807('0x4')],'comment':'The\x20physical\x20path\x20where\x20the\x20plugin\x20is\x20stored.'},'active':{'type':Sequelize['BOOLEAN'],'defaultValue':0x0,'comment':_0x1807('0x5')},'sidebar':{'type':Sequelize['ENUM'](_0x1807('0x6'),'agentOnly','always',_0x1807('0x7')),'defaultValue':_0x1807('0x8'),'comment':'Indicates\x20whether\x20to\x20display\x20the\x20plugin\x20in\x20the\x20sidebar.'},'icon':{'type':Sequelize['STRING']},'adminUrl':{'type':Sequelize[_0x1807('0x4')]},'agentUrl':{'type':Sequelize[_0x1807('0x4')]},'scriptName':{'type':Sequelize[_0x1807('0x4')]},'scriptPath':{'type':Sequelize['STRING']}};