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 _0x5a69=['join','getDataValue','split','exports','STRING','name','crudPermissions'];(function(_0x24853c,_0xe9f269){var _0x41fade=function(_0x42fd19){while(--_0x42fd19){_0x24853c['push'](_0x24853c['shift']());}};_0x41fade(++_0xe9f269);}(_0x5a69,0x88));var _0x95a6=function(_0x42ec08,_0xa74af2){_0x42ec08=_0x42ec08-0x0;var _0x488aa8=_0x5a69[_0x42ec08];return _0x488aa8;};'use strict';var Sequelize=require('sequelize');module[_0x95a6('0x0')]={'name':{'type':Sequelize[_0x95a6('0x1')],'allowNull':![],'unique':_0x95a6('0x2')},'crudPermissions':{'type':Sequelize['STRING'],'set':function(_0x29222c){this['setDataValue'](_0x95a6('0x3'),_0x29222c?_0x29222c[_0x95a6('0x4')](''):[]);},'get':function(){return this[_0x95a6('0x5')](_0x95a6('0x3'))?this['getDataValue'](_0x95a6('0x3'))[_0x95a6('0x6')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x95a6('0x1')],'allowNull':!![]}};