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 _0x4a81=['STRING','BOOLEAN','setDataValue','getDataValue','split','sequelize','exports'];(function(_0x36c5b0,_0x5001da){var _0xf19333=function(_0x1e880a){while(--_0x1e880a){_0x36c5b0['push'](_0x36c5b0['shift']());}};_0xf19333(++_0x5001da);}(_0x4a81,0x1b7));var _0x14a8=function(_0x5a6c5f,_0x139fc5){_0x5a6c5f=_0x5a6c5f-0x0;var _0x47b2ba=_0x4a81[_0x5a6c5f];return _0x47b2ba;};'use strict';var Sequelize=require(_0x14a8('0x0'));module[_0x14a8('0x1')]={'name':{'type':Sequelize[_0x14a8('0x2')],'allowNull':![]},'category':{'type':Sequelize[_0x14a8('0x2')],'allowNull':![]},'sectionId':{'type':Sequelize['INTEGER'],'allowNull':![]},'enabled':{'type':Sequelize['BOOLEAN'],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0x14a8('0x3')],'defaultValue':null},'crudPermissions':{'type':Sequelize['STRING'],'set':function(_0x39c3d4){this[_0x14a8('0x4')]('crudPermissions',_0x39c3d4?_0x39c3d4['join'](''):[]);},'get':function(){return this[_0x14a8('0x5')]('crudPermissions')?this[_0x14a8('0x5')]('crudPermissions')[_0x14a8('0x6')](''):[];}}};