25516c08c8603c114e2af646e5f871726f0d607c
[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 _0x3286=['ENUM','adminOnly','agentOnly','never','always','Indicates\x20whether\x20to\x20display\x20the\x20plugin\x20in\x20the\x20sidebar.','sequelize','STRING','html','script','TEXT','The\x20physical\x20path\x20where\x20the\x20plugin\x20is\x20stored.','BOOLEAN'];(function(_0x512e72,_0x49ffe1){var _0x143086=function(_0x1d3921){while(--_0x1d3921){_0x512e72['push'](_0x512e72['shift']());}};_0x143086(++_0x49ffe1);}(_0x3286,0x1da));var _0x6328=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x3286[_0x14add3];return _0x4a174f;};'use strict';var Sequelize=require(_0x6328('0x0'));module['exports']={'name':{'type':Sequelize[_0x6328('0x1')]},'type':{'type':Sequelize['ENUM'](_0x6328('0x2'),_0x6328('0x3'))},'description':{'type':Sequelize[_0x6328('0x4')]},'version':{'type':Sequelize['TEXT']},'path':{'type':Sequelize[_0x6328('0x1')],'comment':_0x6328('0x5')},'active':{'type':Sequelize[_0x6328('0x6')],'defaultValue':0x0,'comment':'Indicates\x20whether\x20the\x20plugin\x20is\x20installed.\x20Updated\x20when\x20the\x20plugin\x20is\x20installed/uninstalled.'},'sidebar':{'type':Sequelize[_0x6328('0x7')](_0x6328('0x8'),_0x6328('0x9'),'always',_0x6328('0xa')),'defaultValue':_0x6328('0xb'),'comment':_0x6328('0xc')},'icon':{'type':Sequelize[_0x6328('0x1')]},'adminUrl':{'type':Sequelize[_0x6328('0x1')]},'agentUrl':{'type':Sequelize[_0x6328('0x1')]},'scriptName':{'type':Sequelize[_0x6328('0x1')]},'scriptPath':{'type':Sequelize['STRING']}};