34385103c02d86d85a0748f6b343d2bc391018b5
[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 _0x8c1e=['always','Indicates\x20whether\x20to\x20display\x20the\x20plugin\x20in\x20the\x20sidebar.','sequelize','html','TEXT','STRING','The\x20physical\x20path\x20where\x20the\x20plugin\x20is\x20stored.','BOOLEAN','Indicates\x20whether\x20the\x20plugin\x20is\x20installed.\x20Updated\x20when\x20the\x20plugin\x20is\x20installed/uninstalled.','adminOnly','agentOnly'];(function(_0x267d8d,_0xe90f65){var _0x11a98f=function(_0x5703c9){while(--_0x5703c9){_0x267d8d['push'](_0x267d8d['shift']());}};_0x11a98f(++_0xe90f65);}(_0x8c1e,0xde));var _0xe8c1=function(_0x5627e1,_0x1b2dbf){_0x5627e1=_0x5627e1-0x0;var _0x2f013f=_0x8c1e[_0x5627e1];return _0x2f013f;};'use strict';var Sequelize=require(_0xe8c1('0x0'));module['exports']={'name':{'type':Sequelize['STRING']},'type':{'type':Sequelize['ENUM'](_0xe8c1('0x1'),'script')},'description':{'type':Sequelize['TEXT']},'version':{'type':Sequelize[_0xe8c1('0x2')]},'path':{'type':Sequelize[_0xe8c1('0x3')],'comment':_0xe8c1('0x4')},'active':{'type':Sequelize[_0xe8c1('0x5')],'defaultValue':0x0,'comment':_0xe8c1('0x6')},'sidebar':{'type':Sequelize['ENUM'](_0xe8c1('0x7'),_0xe8c1('0x8'),_0xe8c1('0x9'),'never'),'defaultValue':_0xe8c1('0x9'),'comment':_0xe8c1('0xa')},'icon':{'type':Sequelize[_0xe8c1('0x3')]},'adminUrl':{'type':Sequelize['STRING']},'agentUrl':{'type':Sequelize[_0xe8c1('0x3')]},'scriptName':{'type':Sequelize[_0xe8c1('0x3')]},'scriptPath':{'type':Sequelize[_0xe8c1('0x3')]}};