Built motion from commit 87cd5f02.|2.5.48
[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 _0x0c21=['adminOnly','never','always','Indicates\x20whether\x20to\x20display\x20the\x20plugin\x20in\x20the\x20sidebar.','sequelize','exports','STRING','html','script','TEXT','ENUM'];(function(_0x2773ff,_0x1fa644){var _0x7b5e4b=function(_0x188d46){while(--_0x188d46){_0x2773ff['push'](_0x2773ff['shift']());}};_0x7b5e4b(++_0x1fa644);}(_0x0c21,0x185));var _0x10c2=function(_0x377a5c,_0x7f6aa9){_0x377a5c=_0x377a5c-0x0;var _0x4fa2b0=_0x0c21[_0x377a5c];return _0x4fa2b0;};'use strict';var Sequelize=require(_0x10c2('0x0'));module[_0x10c2('0x1')]={'name':{'type':Sequelize[_0x10c2('0x2')]},'type':{'type':Sequelize['ENUM'](_0x10c2('0x3'),_0x10c2('0x4'))},'description':{'type':Sequelize[_0x10c2('0x5')]},'version':{'type':Sequelize['TEXT']},'path':{'type':Sequelize['STRING'],'comment':'The\x20physical\x20path\x20where\x20the\x20plugin\x20is\x20stored.'},'active':{'type':Sequelize['BOOLEAN'],'defaultValue':0x0,'comment':'Indicates\x20whether\x20the\x20plugin\x20is\x20installed.\x20Updated\x20when\x20the\x20plugin\x20is\x20installed/uninstalled.'},'sidebar':{'type':Sequelize[_0x10c2('0x6')](_0x10c2('0x7'),'agentOnly','always',_0x10c2('0x8')),'defaultValue':_0x10c2('0x9'),'comment':_0x10c2('0xa')},'icon':{'type':Sequelize['STRING']},'adminUrl':{'type':Sequelize[_0x10c2('0x2')]},'agentUrl':{'type':Sequelize[_0x10c2('0x2')]},'scriptName':{'type':Sequelize[_0x10c2('0x2')]},'scriptPath':{'type':Sequelize[_0x10c2('0x2')]}};