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 _0xa22a=['INTEGER','BOOLEAN','setDataValue','crudPermissions','join','split','sequelize','exports','STRING'];(function(_0x1b465d,_0x185a6a){var _0x35e6ea=function(_0x450d7c){while(--_0x450d7c){_0x1b465d['push'](_0x1b465d['shift']());}};_0x35e6ea(++_0x185a6a);}(_0xa22a,0x153));var _0xaa22=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0xa22a[_0x2dafbe];return _0x58a45a;};'use strict';var Sequelize=require(_0xaa22('0x0'));module[_0xaa22('0x1')]={'name':{'type':Sequelize[_0xaa22('0x2')],'allowNull':![]},'category':{'type':Sequelize[_0xaa22('0x2')],'allowNull':![]},'sectionId':{'type':Sequelize[_0xaa22('0x3')],'allowNull':![]},'enabled':{'type':Sequelize['BOOLEAN'],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0xaa22('0x4')],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0xaa22('0x2')],'set':function(_0x1912a3){this[_0xaa22('0x5')](_0xaa22('0x6'),_0x1912a3?_0x1912a3[_0xaa22('0x7')](''):[]);},'get':function(){return this['getDataValue'](_0xaa22('0x6'))?this['getDataValue'](_0xaa22('0x6'))[_0xaa22('0x8')](''):[];}}};