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 _0x22be=['STRING','setDataValue','crudPermissions','getDataValue','split','exports','name'];(function(_0x4e1ab5,_0x16e3fa){var _0x1c1c01=function(_0x55e9e8){while(--_0x55e9e8){_0x4e1ab5['push'](_0x4e1ab5['shift']());}};_0x1c1c01(++_0x16e3fa);}(_0x22be,0x15c));var _0xe22b=function(_0x4de877,_0x340170){_0x4de877=_0x4de877-0x0;var _0xb2cfeb=_0x22be[_0x4de877];return _0xb2cfeb;};'use strict';var Sequelize=require('sequelize');module[_0xe22b('0x0')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0xe22b('0x1')},'crudPermissions':{'type':Sequelize[_0xe22b('0x2')],'set':function(_0x278c92){this[_0xe22b('0x3')](_0xe22b('0x4'),_0x278c92?_0x278c92['join'](''):[]);},'get':function(){return this[_0xe22b('0x5')](_0xe22b('0x4'))?this[_0xe22b('0x5')](_0xe22b('0x4'))[_0xe22b('0x6')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0xe22b('0x2')],'allowNull':!![]}};