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