Built motion from commit 43538d75.|2.5.35
[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 _0xa84d=['agentOnly','always','never','Indicates\x20whether\x20to\x20display\x20the\x20plugin\x20in\x20the\x20sidebar.','html','script','TEXT','STRING','The\x20physical\x20path\x20where\x20the\x20plugin\x20is\x20stored.','BOOLEAN','Indicates\x20whether\x20the\x20plugin\x20is\x20installed.\x20Updated\x20when\x20the\x20plugin\x20is\x20installed/uninstalled.','ENUM'];(function(_0x3d5939,_0x3588e4){var _0xc13264=function(_0x4a0389){while(--_0x4a0389){_0x3d5939['push'](_0x3d5939['shift']());}};_0xc13264(++_0x3588e4);}(_0xa84d,0x1d8));var _0xda84=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xa84d[_0x3dd15e];return _0x231fd0;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize['STRING']},'type':{'type':Sequelize['ENUM'](_0xda84('0x0'),_0xda84('0x1'))},'description':{'type':Sequelize[_0xda84('0x2')]},'version':{'type':Sequelize[_0xda84('0x2')]},'path':{'type':Sequelize[_0xda84('0x3')],'comment':_0xda84('0x4')},'active':{'type':Sequelize[_0xda84('0x5')],'defaultValue':0x0,'comment':_0xda84('0x6')},'sidebar':{'type':Sequelize[_0xda84('0x7')]('adminOnly',_0xda84('0x8'),_0xda84('0x9'),_0xda84('0xa')),'defaultValue':_0xda84('0x9'),'comment':_0xda84('0xb')},'icon':{'type':Sequelize[_0xda84('0x3')]},'adminUrl':{'type':Sequelize[_0xda84('0x3')]},'agentUrl':{'type':Sequelize['STRING']},'scriptName':{'type':Sequelize[_0xda84('0x3')]},'scriptPath':{'type':Sequelize[_0xda84('0x3')]}};