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 _0x52b8=['split','exports','name','STRING','setDataValue','join','getDataValue'];(function(_0x9df060,_0x253d33){var _0x338dfe=function(_0x17d9a5){while(--_0x17d9a5){_0x9df060['push'](_0x9df060['shift']());}};_0x338dfe(++_0x253d33);}(_0x52b8,0xd3));var _0x852b=function(_0x1be80e,_0x3f24a4){_0x1be80e=_0x1be80e-0x0;var _0x2bef05=_0x52b8[_0x1be80e];return _0x2bef05;};'use strict';var Sequelize=require('sequelize');module[_0x852b('0x0')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x852b('0x1')},'crudPermissions':{'type':Sequelize[_0x852b('0x2')],'set':function(_0x53cd1f){this[_0x852b('0x3')]('crudPermissions',_0x53cd1f?_0x53cd1f[_0x852b('0x4')](''):[]);},'get':function(){return this['getDataValue']('crudPermissions')?this[_0x852b('0x5')]('crudPermissions')[_0x852b('0x6')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x852b('0x2')],'allowNull':!![]}};