29330d1b7e7268df9142929699d739aa0c813161
[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 _0x5a3b=['STRING','html','script','TEXT','The\x20physical\x20path\x20where\x20the\x20plugin\x20is\x20stored.','Indicates\x20whether\x20the\x20plugin\x20is\x20installed.\x20Updated\x20when\x20the\x20plugin\x20is\x20installed/uninstalled.','ENUM','adminOnly','always','never','Indicates\x20whether\x20to\x20display\x20the\x20plugin\x20in\x20the\x20sidebar.','exports'];(function(_0x46612a,_0x94b692){var _0x3a4e1a=function(_0x498fdc){while(--_0x498fdc){_0x46612a['push'](_0x46612a['shift']());}};_0x3a4e1a(++_0x94b692);}(_0x5a3b,0x113));var _0xb5a3=function(_0x505d20,_0x518632){_0x505d20=_0x505d20-0x0;var _0x3ce083=_0x5a3b[_0x505d20];return _0x3ce083;};'use strict';var Sequelize=require('sequelize');module[_0xb5a3('0x0')]={'name':{'type':Sequelize[_0xb5a3('0x1')]},'type':{'type':Sequelize['ENUM'](_0xb5a3('0x2'),_0xb5a3('0x3'))},'description':{'type':Sequelize[_0xb5a3('0x4')]},'version':{'type':Sequelize[_0xb5a3('0x4')]},'path':{'type':Sequelize[_0xb5a3('0x1')],'comment':_0xb5a3('0x5')},'active':{'type':Sequelize['BOOLEAN'],'defaultValue':0x0,'comment':_0xb5a3('0x6')},'sidebar':{'type':Sequelize[_0xb5a3('0x7')](_0xb5a3('0x8'),'agentOnly',_0xb5a3('0x9'),_0xb5a3('0xa')),'defaultValue':_0xb5a3('0x9'),'comment':_0xb5a3('0xb')},'icon':{'type':Sequelize[_0xb5a3('0x1')]},'adminUrl':{'type':Sequelize[_0xb5a3('0x1')]},'agentUrl':{'type':Sequelize[_0xb5a3('0x1')]},'scriptName':{'type':Sequelize['STRING']},'scriptPath':{'type':Sequelize[_0xb5a3('0x1')]}};