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 _0x980f=['STRING','sequelize','name','crudPermissions','join','getDataValue','split'];(function(_0x173441,_0x26b0d9){var _0x2423a8=function(_0x4d96c2){while(--_0x4d96c2){_0x173441['push'](_0x173441['shift']());}};_0x2423a8(++_0x26b0d9);}(_0x980f,0x104));var _0xf980=function(_0x41397b,_0x481d0e){_0x41397b=_0x41397b-0x0;var _0x5f4677=_0x980f[_0x41397b];return _0x5f4677;};'use strict';var Sequelize=require(_0xf980('0x0'));module['exports']={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0xf980('0x1')},'crudPermissions':{'type':Sequelize['STRING'],'set':function(_0x440106){this['setDataValue'](_0xf980('0x2'),_0x440106?_0x440106[_0xf980('0x3')](''):[]);},'get':function(){return this['getDataValue'](_0xf980('0x2'))?this[_0xf980('0x4')](_0xf980('0x2'))[_0xf980('0x5')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0xf980('0x6')],'allowNull':!![]}};