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 _0x0abf=['sequelize','STRING','name','setDataValue','join','getDataValue','crudPermissions','split'];(function(_0x121ed6,_0x59a3c4){var _0x1ad0f7=function(_0x4cabd2){while(--_0x4cabd2){_0x121ed6['push'](_0x121ed6['shift']());}};_0x1ad0f7(++_0x59a3c4);}(_0x0abf,0xe8));var _0xf0ab=function(_0x5b644e,_0x2e5e07){_0x5b644e=_0x5b644e-0x0;var _0x49c6bf=_0x0abf[_0x5b644e];return _0x49c6bf;};'use strict';var Sequelize=require(_0xf0ab('0x0'));module['exports']={'name':{'type':Sequelize[_0xf0ab('0x1')],'allowNull':![],'unique':_0xf0ab('0x2')},'crudPermissions':{'type':Sequelize['STRING'],'set':function(_0x598001){this[_0xf0ab('0x3')]('crudPermissions',_0x598001?_0x598001[_0xf0ab('0x4')](''):[]);},'get':function(){return this[_0xf0ab('0x5')](_0xf0ab('0x6'))?this[_0xf0ab('0x5')](_0xf0ab('0x6'))[_0xf0ab('0x7')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0xf0ab('0x1')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};