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 _0xdfa0=['join','getDataValue','crudPermissions','split','sequelize','exports','name','STRING','setDataValue'];(function(_0x3dff21,_0x1acb0f){var _0x56e7ae=function(_0x2aea1e){while(--_0x2aea1e){_0x3dff21['push'](_0x3dff21['shift']());}};_0x56e7ae(++_0x1acb0f);}(_0xdfa0,0x109));var _0x0dfa=function(_0x7a08c4,_0x2e5f4a){_0x7a08c4=_0x7a08c4-0x0;var _0x3fb037=_0xdfa0[_0x7a08c4];return _0x3fb037;};'use strict';var Sequelize=require(_0x0dfa('0x0'));module[_0x0dfa('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x0dfa('0x2')},'crudPermissions':{'type':Sequelize[_0x0dfa('0x3')],'set':function(_0x148ecf){this[_0x0dfa('0x4')]('crudPermissions',_0x148ecf?_0x148ecf[_0x0dfa('0x5')](''):[]);},'get':function(){return this[_0x0dfa('0x6')](_0x0dfa('0x7'))?this[_0x0dfa('0x6')]('crudPermissions')[_0x0dfa('0x8')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x0dfa('0x3')],'allowNull':!![]}};