8922125acf1b59c0c58228f8f016d8f39a55949b
[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 _0x1bae=['BOOLEAN','adminOnly','agentOnly','always','never','Indicates\x20whether\x20to\x20display\x20the\x20plugin\x20in\x20the\x20sidebar.','exports','STRING','ENUM','script','TEXT','The\x20physical\x20path\x20where\x20the\x20plugin\x20is\x20stored.'];(function(_0x2faddb,_0xc18b78){var _0x273c05=function(_0x1a3785){while(--_0x1a3785){_0x2faddb['push'](_0x2faddb['shift']());}};_0x273c05(++_0xc18b78);}(_0x1bae,0x7e));var _0xe1ba=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0x1bae[_0x20a584];return _0x4b41a8;};'use strict';var Sequelize=require('sequelize');module[_0xe1ba('0x0')]={'name':{'type':Sequelize[_0xe1ba('0x1')]},'type':{'type':Sequelize[_0xe1ba('0x2')]('html',_0xe1ba('0x3'))},'description':{'type':Sequelize[_0xe1ba('0x4')]},'version':{'type':Sequelize[_0xe1ba('0x4')]},'path':{'type':Sequelize[_0xe1ba('0x1')],'comment':_0xe1ba('0x5')},'active':{'type':Sequelize[_0xe1ba('0x6')],'defaultValue':0x0,'comment':'Indicates\x20whether\x20the\x20plugin\x20is\x20installed.\x20Updated\x20when\x20the\x20plugin\x20is\x20installed/uninstalled.'},'sidebar':{'type':Sequelize[_0xe1ba('0x2')](_0xe1ba('0x7'),_0xe1ba('0x8'),_0xe1ba('0x9'),_0xe1ba('0xa')),'defaultValue':_0xe1ba('0x9'),'comment':_0xe1ba('0xb')},'icon':{'type':Sequelize['STRING']},'adminUrl':{'type':Sequelize[_0xe1ba('0x1')]},'agentUrl':{'type':Sequelize['STRING']},'scriptName':{'type':Sequelize[_0xe1ba('0x1')]},'scriptPath':{'type':Sequelize[_0xe1ba('0x1')]}};