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 _0x1360=['INTEGER','BOOLEAN','setDataValue','crudPermissions','join','getDataValue','sequelize','exports','STRING'];(function(_0x4a39af,_0x86837){var _0x33a9a5=function(_0x5cbaac){while(--_0x5cbaac){_0x4a39af['push'](_0x4a39af['shift']());}};_0x33a9a5(++_0x86837);}(_0x1360,0x180));var _0x0136=function(_0x2a6809,_0x44edde){_0x2a6809=_0x2a6809-0x0;var _0x11c371=_0x1360[_0x2a6809];return _0x11c371;};'use strict';var Sequelize=require(_0x0136('0x0'));module[_0x0136('0x1')]={'name':{'type':Sequelize[_0x0136('0x2')],'allowNull':![]},'category':{'type':Sequelize[_0x0136('0x2')],'allowNull':![]},'sectionId':{'type':Sequelize[_0x0136('0x3')],'allowNull':![]},'enabled':{'type':Sequelize[_0x0136('0x4')],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0x0136('0x4')],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0x0136('0x2')],'set':function(_0x44180e){this[_0x0136('0x5')](_0x0136('0x6'),_0x44180e?_0x44180e[_0x0136('0x7')](''):[]);},'get':function(){return this['getDataValue'](_0x0136('0x6'))?this[_0x0136('0x8')](_0x0136('0x6'))['split'](''):[];}}};