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 _0x54da=['getDataValue','sequelize','STRING','BOOLEAN','setDataValue','crudPermissions'];(function(_0x5b644e,_0x2e5e07){var _0x49c6bf=function(_0x3032d9){while(--_0x3032d9){_0x5b644e['push'](_0x5b644e['shift']());}};_0x49c6bf(++_0x2e5e07);}(_0x54da,0x9d));var _0xa54d=function(_0x3f5811,_0xc48b21){_0x3f5811=_0x3f5811-0x0;var _0x36277b=_0x54da[_0x3f5811];return _0x36277b;};'use strict';var Sequelize=require(_0xa54d('0x0'));module['exports']={'name':{'type':Sequelize[_0xa54d('0x1')],'allowNull':![]},'category':{'type':Sequelize['STRING'],'allowNull':![]},'sectionId':{'type':Sequelize['INTEGER'],'allowNull':![]},'enabled':{'type':Sequelize[_0xa54d('0x2')],'defaultValue':null},'autoAssociation':{'type':Sequelize['BOOLEAN'],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0xa54d('0x1')],'set':function(_0x280f78){this[_0xa54d('0x3')](_0xa54d('0x4'),_0x280f78?_0x280f78['join'](''):[]);},'get':function(){return this['getDataValue'](_0xa54d('0x4'))?this[_0xa54d('0x5')]('crudPermissions')['split'](''):[];}}};