4d8573118853c29f9df7fed10a021ad03dc3e406
[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 _0x66c5=['The\x20physical\x20path\x20where\x20the\x20plugin\x20is\x20stored.','Indicates\x20whether\x20the\x20plugin\x20is\x20installed.\x20Updated\x20when\x20the\x20plugin\x20is\x20installed/uninstalled.','ENUM','adminOnly','agentOnly','always','never','Indicates\x20whether\x20to\x20display\x20the\x20plugin\x20in\x20the\x20sidebar.','STRING','exports','html','TEXT'];(function(_0xcf3ba4,_0x518116){var _0x16ee30=function(_0x2fb3e2){while(--_0x2fb3e2){_0xcf3ba4['push'](_0xcf3ba4['shift']());}};_0x16ee30(++_0x518116);}(_0x66c5,0xbd));var _0x566c=function(_0x2cd8d0,_0x5ddefb){_0x2cd8d0=_0x2cd8d0-0x0;var _0x49a221=_0x66c5[_0x2cd8d0];return _0x49a221;};'use strict';var Sequelize=require('sequelize');module[_0x566c('0x0')]={'name':{'type':Sequelize['STRING']},'type':{'type':Sequelize['ENUM'](_0x566c('0x1'),'script')},'description':{'type':Sequelize[_0x566c('0x2')]},'version':{'type':Sequelize[_0x566c('0x2')]},'path':{'type':Sequelize['STRING'],'comment':_0x566c('0x3')},'active':{'type':Sequelize['BOOLEAN'],'defaultValue':0x0,'comment':_0x566c('0x4')},'sidebar':{'type':Sequelize[_0x566c('0x5')](_0x566c('0x6'),_0x566c('0x7'),_0x566c('0x8'),_0x566c('0x9')),'defaultValue':_0x566c('0x8'),'comment':_0x566c('0xa')},'icon':{'type':Sequelize[_0x566c('0xb')]},'adminUrl':{'type':Sequelize[_0x566c('0xb')]},'agentUrl':{'type':Sequelize[_0x566c('0xb')]},'scriptName':{'type':Sequelize[_0x566c('0xb')]},'scriptPath':{'type':Sequelize[_0x566c('0xb')]}};