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 _0x55d2=['INTEGER','BOOLEAN','setDataValue','crudPermissions','join','getDataValue','split','STRING'];(function(_0x590da5,_0x298084){var _0x54d4c4=function(_0xf67551){while(--_0xf67551){_0x590da5['push'](_0x590da5['shift']());}};_0x54d4c4(++_0x298084);}(_0x55d2,0x9f));var _0x255d=function(_0x1999ca,_0x2951ea){_0x1999ca=_0x1999ca-0x0;var _0xfcfdf6=_0x55d2[_0x1999ca];return _0xfcfdf6;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize[_0x255d('0x0')],'allowNull':![]},'category':{'type':Sequelize[_0x255d('0x0')],'allowNull':![]},'sectionId':{'type':Sequelize[_0x255d('0x1')],'allowNull':![]},'enabled':{'type':Sequelize[_0x255d('0x2')],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0x255d('0x2')],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0x255d('0x0')],'set':function(_0x57cbc1){this[_0x255d('0x3')](_0x255d('0x4'),_0x57cbc1?_0x57cbc1[_0x255d('0x5')](''):[]);},'get':function(){return this[_0x255d('0x6')]('crudPermissions')?this['getDataValue'](_0x255d('0x4'))[_0x255d('0x7')](''):[];}}};