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 _0xca73=['name','STRING','setDataValue','crudPermissions','join','getDataValue','sequelize','exports'];(function(_0x5511e0,_0x3b240f){var _0x42563c=function(_0x487547){while(--_0x487547){_0x5511e0['push'](_0x5511e0['shift']());}};_0x42563c(++_0x3b240f);}(_0xca73,0x1ee));var _0x3ca7=function(_0x96a2cb,_0x51f751){_0x96a2cb=_0x96a2cb-0x0;var _0x4bccfa=_0xca73[_0x96a2cb];return _0x4bccfa;};'use strict';var Sequelize=require(_0x3ca7('0x0'));module[_0x3ca7('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x3ca7('0x2')},'crudPermissions':{'type':Sequelize[_0x3ca7('0x3')],'set':function(_0xeadd3c){this[_0x3ca7('0x4')](_0x3ca7('0x5'),_0xeadd3c?_0xeadd3c[_0x3ca7('0x6')](''):[]);},'get':function(){return this[_0x3ca7('0x7')](_0x3ca7('0x5'))?this[_0x3ca7('0x7')](_0x3ca7('0x5'))['split'](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x3ca7('0x3')],'allowNull':!![]}};