ff9c9e5f729fb33bfecd4bb1788bcd97bda96bc1
[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 _0xc035=['script','TEXT','STRING','BOOLEAN','agentOnly','always','never','Indicates\x20whether\x20to\x20display\x20the\x20plugin\x20in\x20the\x20sidebar.','ENUM'];(function(_0x2b45b5,_0x474458){var _0x1d9c06=function(_0x9a3264){while(--_0x9a3264){_0x2b45b5['push'](_0x2b45b5['shift']());}};_0x1d9c06(++_0x474458);}(_0xc035,0xf2));var _0x5c03=function(_0x2186dd,_0x3d1ece){_0x2186dd=_0x2186dd-0x0;var _0x2037c2=_0xc035[_0x2186dd];return _0x2037c2;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0x5c03('0x0')]('html',_0x5c03('0x1'))},'description':{'type':Sequelize[_0x5c03('0x2')]},'version':{'type':Sequelize['TEXT']},'path':{'type':Sequelize[_0x5c03('0x3')],'comment':'The\x20physical\x20path\x20where\x20the\x20plugin\x20is\x20stored.'},'active':{'type':Sequelize[_0x5c03('0x4')],'defaultValue':0x0,'comment':'Indicates\x20whether\x20the\x20plugin\x20is\x20installed.\x20Updated\x20when\x20the\x20plugin\x20is\x20installed/uninstalled.'},'sidebar':{'type':Sequelize[_0x5c03('0x0')]('adminOnly',_0x5c03('0x5'),_0x5c03('0x6'),_0x5c03('0x7')),'defaultValue':_0x5c03('0x6'),'comment':_0x5c03('0x8')},'icon':{'type':Sequelize['STRING']},'adminUrl':{'type':Sequelize[_0x5c03('0x3')]},'agentUrl':{'type':Sequelize['STRING']},'scriptName':{'type':Sequelize[_0x5c03('0x3')]},'scriptPath':{'type':Sequelize[_0x5c03('0x3')]}};