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 _0xac55=['BOOLEAN','setDataValue','crudPermissions','join','getDataValue','split','sequelize','exports','STRING'];(function(_0x3f2c44,_0x320482){var _0x26d1b1=function(_0x475ade){while(--_0x475ade){_0x3f2c44['push'](_0x3f2c44['shift']());}};_0x26d1b1(++_0x320482);}(_0xac55,0x1c8));var _0x5ac5=function(_0x4b40c2,_0x5850c4){_0x4b40c2=_0x4b40c2-0x0;var _0x454d29=_0xac55[_0x4b40c2];return _0x454d29;};'use strict';var Sequelize=require(_0x5ac5('0x0'));module[_0x5ac5('0x1')]={'name':{'type':Sequelize[_0x5ac5('0x2')],'allowNull':![]},'category':{'type':Sequelize[_0x5ac5('0x2')],'allowNull':![]},'sectionId':{'type':Sequelize['INTEGER'],'allowNull':![]},'enabled':{'type':Sequelize[_0x5ac5('0x3')],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0x5ac5('0x3')],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0x5ac5('0x2')],'set':function(_0x1cdfec){this[_0x5ac5('0x4')](_0x5ac5('0x5'),_0x1cdfec?_0x1cdfec[_0x5ac5('0x6')](''):[]);},'get':function(){return this['getDataValue']('crudPermissions')?this[_0x5ac5('0x7')](_0x5ac5('0x5'))[_0x5ac5('0x8')](''):[];}}};