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 _0x92ac=['split','sequelize','exports','STRING','setDataValue','crudPermissions','join','getDataValue'];(function(_0x2be8c2,_0x14a4b5){var _0x97f531=function(_0xcee58d){while(--_0xcee58d){_0x2be8c2['push'](_0x2be8c2['shift']());}};_0x97f531(++_0x14a4b5);}(_0x92ac,0x151));var _0xc92a=function(_0x725a4c,_0x102507){_0x725a4c=_0x725a4c-0x0;var _0x37b2cc=_0x92ac[_0x725a4c];return _0x37b2cc;};'use strict';var Sequelize=require(_0xc92a('0x0'));module[_0xc92a('0x1')]={'name':{'type':Sequelize[_0xc92a('0x2')],'allowNull':![],'unique':'name'},'crudPermissions':{'type':Sequelize['STRING'],'set':function(_0x2d2db5){this[_0xc92a('0x3')](_0xc92a('0x4'),_0x2d2db5?_0x2d2db5[_0xc92a('0x5')](''):[]);},'get':function(){return this[_0xc92a('0x6')](_0xc92a('0x4'))?this['getDataValue'](_0xc92a('0x4'))[_0xc92a('0x7')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0xc92a('0x2')],'allowNull':!![]}};