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 _0x0f9f=['crudPermissions','join','getDataValue','split','exports','STRING','BOOLEAN','setDataValue'];(function(_0x194acc,_0x16a88a){var _0x2b7aab=function(_0x52944f){while(--_0x52944f){_0x194acc['push'](_0x194acc['shift']());}};_0x2b7aab(++_0x16a88a);}(_0x0f9f,0x1cc));var _0xf0f9=function(_0x123251,_0x12da20){_0x123251=_0x123251-0x0;var _0x27deb3=_0x0f9f[_0x123251];return _0x27deb3;};'use strict';var Sequelize=require('sequelize');module[_0xf0f9('0x0')]={'name':{'type':Sequelize[_0xf0f9('0x1')],'allowNull':![]},'category':{'type':Sequelize[_0xf0f9('0x1')],'allowNull':![]},'sectionId':{'type':Sequelize['INTEGER'],'allowNull':![]},'enabled':{'type':Sequelize[_0xf0f9('0x2')],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0xf0f9('0x2')],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0xf0f9('0x1')],'set':function(_0x17eab4){this[_0xf0f9('0x3')](_0xf0f9('0x4'),_0x17eab4?_0x17eab4[_0xf0f9('0x5')](''):[]);},'get':function(){return this[_0xf0f9('0x6')](_0xf0f9('0x4'))?this[_0xf0f9('0x6')]('crudPermissions')[_0xf0f9('0x7')](''):[];}}};