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 _0x2c79=['crudPermissions','getDataValue','sequelize','STRING','BOOLEAN','setDataValue'];(function(_0x1ee7e4,_0x4ba132){var _0x4a99aa=function(_0x115d2d){while(--_0x115d2d){_0x1ee7e4['push'](_0x1ee7e4['shift']());}};_0x4a99aa(++_0x4ba132);}(_0x2c79,0x164));var _0x92c7=function(_0x38a7eb,_0x128dca){_0x38a7eb=_0x38a7eb-0x0;var _0x1d9e2c=_0x2c79[_0x38a7eb];return _0x1d9e2c;};'use strict';var Sequelize=require(_0x92c7('0x0'));module['exports']={'name':{'type':Sequelize[_0x92c7('0x1')],'allowNull':![]},'category':{'type':Sequelize[_0x92c7('0x1')],'allowNull':![]},'sectionId':{'type':Sequelize['INTEGER'],'allowNull':![]},'enabled':{'type':Sequelize[_0x92c7('0x2')],'defaultValue':null},'autoAssociation':{'type':Sequelize['BOOLEAN'],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0x92c7('0x1')],'set':function(_0x516846){this[_0x92c7('0x3')](_0x92c7('0x4'),_0x516846?_0x516846['join'](''):[]);},'get':function(){return this[_0x92c7('0x5')]('crudPermissions')?this[_0x92c7('0x5')](_0x92c7('0x4'))['split'](''):[];}}};