d4da875aab4dc8b14f797b801b3d88460841e6ad
[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 _0x0f43=['never','always','Indicates\x20whether\x20to\x20display\x20the\x20plugin\x20in\x20the\x20sidebar.','exports','ENUM','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.','agentOnly'];(function(_0x35b7d4,_0x5a5c43){var _0x4e8cee=function(_0x66859c){while(--_0x66859c){_0x35b7d4['push'](_0x35b7d4['shift']());}};_0x4e8cee(++_0x5a5c43);}(_0x0f43,0x7b));var _0x30f4=function(_0x411017,_0x4a8117){_0x411017=_0x411017-0x0;var _0x2adeea=_0x0f43[_0x411017];return _0x2adeea;};'use strict';var Sequelize=require('sequelize');module[_0x30f4('0x0')]={'name':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0x30f4('0x1')]('html',_0x30f4('0x2'))},'description':{'type':Sequelize[_0x30f4('0x3')]},'version':{'type':Sequelize['TEXT']},'path':{'type':Sequelize[_0x30f4('0x4')],'comment':_0x30f4('0x5')},'active':{'type':Sequelize[_0x30f4('0x6')],'defaultValue':0x0,'comment':_0x30f4('0x7')},'sidebar':{'type':Sequelize['ENUM']('adminOnly',_0x30f4('0x8'),'always',_0x30f4('0x9')),'defaultValue':_0x30f4('0xa'),'comment':_0x30f4('0xb')},'icon':{'type':Sequelize[_0x30f4('0x4')]},'adminUrl':{'type':Sequelize['STRING']},'agentUrl':{'type':Sequelize[_0x30f4('0x4')]},'scriptName':{'type':Sequelize[_0x30f4('0x4')]},'scriptPath':{'type':Sequelize[_0x30f4('0x4')]}};