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 _0xee64=['name','setDataValue','crudPermissions','join','sequelize','exports','STRING'];(function(_0x7b7606,_0x559570){var _0x1a5edd=function(_0x5cd0df){while(--_0x5cd0df){_0x7b7606['push'](_0x7b7606['shift']());}};_0x1a5edd(++_0x559570);}(_0xee64,0x14d));var _0x4ee6=function(_0x3b380d,_0x4bf247){_0x3b380d=_0x3b380d-0x0;var _0x54502b=_0xee64[_0x3b380d];return _0x54502b;};'use strict';var Sequelize=require(_0x4ee6('0x0'));module[_0x4ee6('0x1')]={'name':{'type':Sequelize[_0x4ee6('0x2')],'allowNull':![],'unique':_0x4ee6('0x3')},'crudPermissions':{'type':Sequelize[_0x4ee6('0x2')],'set':function(_0x1f499b){this[_0x4ee6('0x4')](_0x4ee6('0x5'),_0x1f499b?_0x1f499b[_0x4ee6('0x6')](''):[]);},'get':function(){return this['getDataValue']('crudPermissions')?this['getDataValue'](_0x4ee6('0x5'))['split'](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x4ee6('0x2')],'allowNull':!![]}};