32d213778d957d74f93a7f7663ed827b7ccc2d25
[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 _0x61e8=['html','script','TEXT','STRING','The\x20physical\x20path\x20where\x20the\x20plugin\x20is\x20stored.','Indicates\x20whether\x20the\x20plugin\x20is\x20installed.\x20Updated\x20when\x20the\x20plugin\x20is\x20installed/uninstalled.','always','ENUM'];(function(_0xcd76ee,_0x345953){var _0x289064=function(_0x1e7957){while(--_0x1e7957){_0xcd76ee['push'](_0xcd76ee['shift']());}};_0x289064(++_0x345953);}(_0x61e8,0x18f));var _0x861e=function(_0x312bd4,_0x4cce7b){_0x312bd4=_0x312bd4-0x0;var _0x2f5d6b=_0x61e8[_0x312bd4];return _0x2f5d6b;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0x861e('0x0')](_0x861e('0x1'),_0x861e('0x2'))},'description':{'type':Sequelize[_0x861e('0x3')]},'version':{'type':Sequelize['TEXT']},'path':{'type':Sequelize[_0x861e('0x4')],'comment':_0x861e('0x5')},'active':{'type':Sequelize['BOOLEAN'],'defaultValue':0x0,'comment':_0x861e('0x6')},'sidebar':{'type':Sequelize[_0x861e('0x0')]('adminOnly','agentOnly',_0x861e('0x7'),'never'),'defaultValue':_0x861e('0x7'),'comment':'Indicates\x20whether\x20to\x20display\x20the\x20plugin\x20in\x20the\x20sidebar.'},'icon':{'type':Sequelize[_0x861e('0x4')]},'adminUrl':{'type':Sequelize[_0x861e('0x4')]},'agentUrl':{'type':Sequelize[_0x861e('0x4')]},'scriptName':{'type':Sequelize[_0x861e('0x4')]},'scriptPath':{'type':Sequelize[_0x861e('0x4')]}};