70860bc0dfad05c724f0447f344342de3e4da65c
[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 _0x42e8=['STRING','ENUM','html','script','TEXT','The\x20physical\x20path\x20where\x20the\x20plugin\x20is\x20stored.','BOOLEAN','Indicates\x20whether\x20the\x20plugin\x20is\x20installed.\x20Updated\x20when\x20the\x20plugin\x20is\x20installed/uninstalled.','adminOnly','agentOnly','always','Indicates\x20whether\x20to\x20display\x20the\x20plugin\x20in\x20the\x20sidebar.','sequelize','exports'];(function(_0x17362e,_0x4aabdd){var _0x2944df=function(_0x2aa402){while(--_0x2aa402){_0x17362e['push'](_0x17362e['shift']());}};_0x2944df(++_0x4aabdd);}(_0x42e8,0x186));var _0x842e=function(_0x2b5a97,_0x4efd9a){_0x2b5a97=_0x2b5a97-0x0;var _0x2df915=_0x42e8[_0x2b5a97];return _0x2df915;};'use strict';var Sequelize=require(_0x842e('0x0'));module[_0x842e('0x1')]={'name':{'type':Sequelize[_0x842e('0x2')]},'type':{'type':Sequelize[_0x842e('0x3')](_0x842e('0x4'),_0x842e('0x5'))},'description':{'type':Sequelize[_0x842e('0x6')]},'version':{'type':Sequelize[_0x842e('0x6')]},'path':{'type':Sequelize[_0x842e('0x2')],'comment':_0x842e('0x7')},'active':{'type':Sequelize[_0x842e('0x8')],'defaultValue':0x0,'comment':_0x842e('0x9')},'sidebar':{'type':Sequelize['ENUM'](_0x842e('0xa'),_0x842e('0xb'),'always','never'),'defaultValue':_0x842e('0xc'),'comment':_0x842e('0xd')},'icon':{'type':Sequelize[_0x842e('0x2')]},'adminUrl':{'type':Sequelize[_0x842e('0x2')]},'agentUrl':{'type':Sequelize[_0x842e('0x2')]},'scriptName':{'type':Sequelize[_0x842e('0x2')]},'scriptPath':{'type':Sequelize[_0x842e('0x2')]}};