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 _0xbf04=['BOOLEAN','setDataValue','crudPermissions','getDataValue','sequelize','exports','STRING'];(function(_0xc3c2b9,_0x3e6f63){var _0x26d95b=function(_0x2c34aa){while(--_0x2c34aa){_0xc3c2b9['push'](_0xc3c2b9['shift']());}};_0x26d95b(++_0x3e6f63);}(_0xbf04,0xc1));var _0x4bf0=function(_0x3f8d95,_0xf30c58){_0x3f8d95=_0x3f8d95-0x0;var _0x50d325=_0xbf04[_0x3f8d95];return _0x50d325;};'use strict';var Sequelize=require(_0x4bf0('0x0'));module[_0x4bf0('0x1')]={'name':{'type':Sequelize[_0x4bf0('0x2')],'allowNull':![]},'category':{'type':Sequelize[_0x4bf0('0x2')],'allowNull':![]},'sectionId':{'type':Sequelize['INTEGER'],'allowNull':![]},'enabled':{'type':Sequelize[_0x4bf0('0x3')],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0x4bf0('0x3')],'defaultValue':null},'crudPermissions':{'type':Sequelize['STRING'],'set':function(_0x583239){this[_0x4bf0('0x4')](_0x4bf0('0x5'),_0x583239?_0x583239['join'](''):[]);},'get':function(){return this[_0x4bf0('0x6')](_0x4bf0('0x5'))?this[_0x4bf0('0x6')](_0x4bf0('0x5'))['split'](''):[];}}};