5f54d981b19166b89b98fa49d3419ea896b9c2a2
[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 _0xd93c=['Indicates\x20whether\x20to\x20display\x20the\x20plugin\x20in\x20the\x20sidebar.','sequelize','exports','STRING','ENUM','script','TEXT','BOOLEAN','adminOnly','agentOnly','always','never'];(function(_0x57b54c,_0x54ce0d){var _0x59cc19=function(_0xa33bc6){while(--_0xa33bc6){_0x57b54c['push'](_0x57b54c['shift']());}};_0x59cc19(++_0x54ce0d);}(_0xd93c,0x1bd));var _0xcd93=function(_0x30080e,_0x23e2d5){_0x30080e=_0x30080e-0x0;var _0x54f5bd=_0xd93c[_0x30080e];return _0x54f5bd;};'use strict';var Sequelize=require(_0xcd93('0x0'));module[_0xcd93('0x1')]={'name':{'type':Sequelize[_0xcd93('0x2')]},'type':{'type':Sequelize[_0xcd93('0x3')]('html',_0xcd93('0x4'))},'description':{'type':Sequelize[_0xcd93('0x5')]},'version':{'type':Sequelize[_0xcd93('0x5')]},'path':{'type':Sequelize[_0xcd93('0x2')],'comment':'The\x20physical\x20path\x20where\x20the\x20plugin\x20is\x20stored.'},'active':{'type':Sequelize[_0xcd93('0x6')],'defaultValue':0x0,'comment':'Indicates\x20whether\x20the\x20plugin\x20is\x20installed.\x20Updated\x20when\x20the\x20plugin\x20is\x20installed/uninstalled.'},'sidebar':{'type':Sequelize['ENUM'](_0xcd93('0x7'),_0xcd93('0x8'),_0xcd93('0x9'),_0xcd93('0xa')),'defaultValue':_0xcd93('0x9'),'comment':_0xcd93('0xb')},'icon':{'type':Sequelize['STRING']},'adminUrl':{'type':Sequelize[_0xcd93('0x2')]},'agentUrl':{'type':Sequelize[_0xcd93('0x2')]},'scriptName':{'type':Sequelize[_0xcd93('0x2')]},'scriptPath':{'type':Sequelize[_0xcd93('0x2')]}};