e09c1673ff46ed2f77faafb1e80c3881ea99dde5
[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 _0x9663=['TEXT','BOOLEAN','Indicates\x20whether\x20the\x20plugin\x20is\x20installed.\x20Updated\x20when\x20the\x20plugin\x20is\x20installed/uninstalled.','adminOnly','agentOnly','always','never','Indicates\x20whether\x20to\x20display\x20the\x20plugin\x20in\x20the\x20sidebar.','STRING','ENUM','html','script'];(function(_0x492b4b,_0x13b430){var _0x512ce6=function(_0x3aa87){while(--_0x3aa87){_0x492b4b['push'](_0x492b4b['shift']());}};_0x512ce6(++_0x13b430);}(_0x9663,0x1dc));var _0x3966=function(_0x4259d1,_0x4ba69d){_0x4259d1=_0x4259d1-0x0;var _0x232e99=_0x9663[_0x4259d1];return _0x232e99;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize[_0x3966('0x0')]},'type':{'type':Sequelize[_0x3966('0x1')](_0x3966('0x2'),_0x3966('0x3'))},'description':{'type':Sequelize[_0x3966('0x4')]},'version':{'type':Sequelize['TEXT']},'path':{'type':Sequelize[_0x3966('0x0')],'comment':'The\x20physical\x20path\x20where\x20the\x20plugin\x20is\x20stored.'},'active':{'type':Sequelize[_0x3966('0x5')],'defaultValue':0x0,'comment':_0x3966('0x6')},'sidebar':{'type':Sequelize['ENUM'](_0x3966('0x7'),_0x3966('0x8'),_0x3966('0x9'),_0x3966('0xa')),'defaultValue':'always','comment':_0x3966('0xb')},'icon':{'type':Sequelize[_0x3966('0x0')]},'adminUrl':{'type':Sequelize['STRING']},'agentUrl':{'type':Sequelize[_0x3966('0x0')]},'scriptName':{'type':Sequelize[_0x3966('0x0')]},'scriptPath':{'type':Sequelize[_0x3966('0x0')]}};