1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0xf0cc=['STRING','BOOLEAN','crudPermissions','join','getDataValue','split','sequelize'];(function(_0x31f783,_0x1cc575){var _0x240e72=function(_0x35f84f){while(--_0x35f84f){_0x31f783['push'](_0x31f783['shift']());}};_0x240e72(++_0x1cc575);}(_0xf0cc,0xa7));var _0xcf0c=function(_0x241cbe,_0x179a60){_0x241cbe=_0x241cbe-0x0;var _0xd5b4ad=_0xf0cc[_0x241cbe];return _0xd5b4ad;};'use strict';var Sequelize=require(_0xcf0c('0x0'));module['exports']={'name':{'type':Sequelize['STRING'],'allowNull':![]},'category':{'type':Sequelize[_0xcf0c('0x1')],'allowNull':![]},'sectionId':{'type':Sequelize['INTEGER'],'allowNull':![]},'enabled':{'type':Sequelize['BOOLEAN'],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0xcf0c('0x2')],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0xcf0c('0x1')],'set':function(_0x4e56db){this['setDataValue'](_0xcf0c('0x3'),_0x4e56db?_0x4e56db[_0xcf0c('0x4')](''):[]);},'get':function(){return this[_0xcf0c('0x5')]('crudPermissions')?this[_0xcf0c('0x5')](_0xcf0c('0x3'))[_0xcf0c('0x6')](''):[];}}};