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 _0xa244=['STRING','name','setDataValue','crudPermissions','join','getDataValue','split','sequelize','exports'];(function(_0x4ddc7a,_0x5b6cb8){var _0x4547c1=function(_0x3739e7){while(--_0x3739e7){_0x4ddc7a['push'](_0x4ddc7a['shift']());}};_0x4547c1(++_0x5b6cb8);}(_0xa244,0xf1));var _0x4a24=function(_0x1c57a5,_0x433064){_0x1c57a5=_0x1c57a5-0x0;var _0x3dadb9=_0xa244[_0x1c57a5];return _0x3dadb9;};'use strict';var Sequelize=require(_0x4a24('0x0'));module[_0x4a24('0x1')]={'name':{'type':Sequelize[_0x4a24('0x2')],'allowNull':![],'unique':_0x4a24('0x3')},'crudPermissions':{'type':Sequelize[_0x4a24('0x2')],'set':function(_0x2b8d0d){this[_0x4a24('0x4')](_0x4a24('0x5'),_0x2b8d0d?_0x2b8d0d[_0x4a24('0x6')](''):[]);},'get':function(){return this['getDataValue']('crudPermissions')?this[_0x4a24('0x7')]('crudPermissions')[_0x4a24('0x8')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x4a24('0x2')],'allowNull':!![]}};