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 _0x0daa=['setDataValue','crudPermissions','join','getDataValue','split','STRING','name'];(function(_0x45fe7c,_0x52602d){var _0x5ec06e=function(_0x2c3515){while(--_0x2c3515){_0x45fe7c['push'](_0x45fe7c['shift']());}};_0x5ec06e(++_0x52602d);}(_0x0daa,0x1a9));var _0xa0da=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x0daa[_0x14add3];return _0x4a174f;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize[_0xa0da('0x0')],'allowNull':![],'unique':_0xa0da('0x1')},'crudPermissions':{'type':Sequelize[_0xa0da('0x0')],'set':function(_0xa6dbcd){this[_0xa0da('0x2')](_0xa0da('0x3'),_0xa6dbcd?_0xa6dbcd[_0xa0da('0x4')](''):[]);},'get':function(){return this[_0xa0da('0x5')]('crudPermissions')?this[_0xa0da('0x5')](_0xa0da('0x3'))[_0xa0da('0x6')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0xa0da('0x0')],'allowNull':!![]}};