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 _0x323b=['BOOLEAN','setDataValue','crudPermissions','join','getDataValue','split','sequelize','STRING','INTEGER'];(function(_0x2ed0d0,_0x373459){var _0x5e1f01=function(_0x28a94d){while(--_0x28a94d){_0x2ed0d0['push'](_0x2ed0d0['shift']());}};_0x5e1f01(++_0x373459);}(_0x323b,0x1ad));var _0xb323=function(_0x1e09a3,_0x539d2){_0x1e09a3=_0x1e09a3-0x0;var _0x2a0f29=_0x323b[_0x1e09a3];return _0x2a0f29;};'use strict';var Sequelize=require(_0xb323('0x0'));module['exports']={'name':{'type':Sequelize[_0xb323('0x1')],'allowNull':![]},'category':{'type':Sequelize[_0xb323('0x1')],'allowNull':![]},'sectionId':{'type':Sequelize[_0xb323('0x2')],'allowNull':![]},'enabled':{'type':Sequelize['BOOLEAN'],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0xb323('0x3')],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0xb323('0x1')],'set':function(_0x3bcab5){this[_0xb323('0x4')](_0xb323('0x5'),_0x3bcab5?_0x3bcab5[_0xb323('0x6')](''):[]);},'get':function(){return this[_0xb323('0x7')](_0xb323('0x5'))?this['getDataValue']('crudPermissions')[_0xb323('0x8')](''):[];}}};