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 _0xa478=['sequelize','exports','STRING','INTEGER','BOOLEAN','setDataValue','crudPermissions','join','getDataValue','split'];(function(_0x5a22bf,_0x3ede6a){var _0x1a7051=function(_0xdac79c){while(--_0xdac79c){_0x5a22bf['push'](_0x5a22bf['shift']());}};_0x1a7051(++_0x3ede6a);}(_0xa478,0x136));var _0x8a47=function(_0x545a3a,_0x3123aa){_0x545a3a=_0x545a3a-0x0;var _0x5a5493=_0xa478[_0x545a3a];return _0x5a5493;};'use strict';var Sequelize=require(_0x8a47('0x0'));module[_0x8a47('0x1')]={'name':{'type':Sequelize[_0x8a47('0x2')],'allowNull':![]},'category':{'type':Sequelize[_0x8a47('0x2')],'allowNull':![]},'sectionId':{'type':Sequelize[_0x8a47('0x3')],'allowNull':![]},'enabled':{'type':Sequelize[_0x8a47('0x4')],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0x8a47('0x4')],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0x8a47('0x2')],'set':function(_0x2b3110){this[_0x8a47('0x5')](_0x8a47('0x6'),_0x2b3110?_0x2b3110[_0x8a47('0x7')](''):[]);},'get':function(){return this['getDataValue'](_0x8a47('0x6'))?this[_0x8a47('0x8')](_0x8a47('0x6'))[_0x8a47('0x9')](''):[];}}};