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 _0x61d0=['STRING','name','crudPermissions','join','getDataValue','split','sequelize'];(function(_0x375095,_0x4ad7fe){var _0x148a8d=function(_0x5c11cc){while(--_0x5c11cc){_0x375095['push'](_0x375095['shift']());}};_0x148a8d(++_0x4ad7fe);}(_0x61d0,0x187));var _0x061d=function(_0x34f7bb,_0x547eb3){_0x34f7bb=_0x34f7bb-0x0;var _0x2efee3=_0x61d0[_0x34f7bb];return _0x2efee3;};'use strict';var Sequelize=require(_0x061d('0x0'));module['exports']={'name':{'type':Sequelize[_0x061d('0x1')],'allowNull':![],'unique':_0x061d('0x2')},'crudPermissions':{'type':Sequelize['STRING'],'set':function(_0x15bbda){this['setDataValue'](_0x061d('0x3'),_0x15bbda?_0x15bbda[_0x061d('0x4')](''):[]);},'get':function(){return this['getDataValue'](_0x061d('0x3'))?this[_0x061d('0x5')](_0x061d('0x3'))[_0x061d('0x6')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x061d('0x1')],'allowNull':!![]}};