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 _0x5144=['split','exports','STRING','INTEGER','BOOLEAN','setDataValue','crudPermissions','join','getDataValue'];(function(_0x49d40c,_0x3e759a){var _0x499cff=function(_0x31e439){while(--_0x31e439){_0x49d40c['push'](_0x49d40c['shift']());}};_0x499cff(++_0x3e759a);}(_0x5144,0xe2));var _0x4514=function(_0x175479,_0x101985){_0x175479=_0x175479-0x0;var _0x224b3c=_0x5144[_0x175479];return _0x224b3c;};'use strict';var Sequelize=require('sequelize');module[_0x4514('0x0')]={'name':{'type':Sequelize[_0x4514('0x1')],'allowNull':![]},'category':{'type':Sequelize[_0x4514('0x1')],'allowNull':![]},'sectionId':{'type':Sequelize[_0x4514('0x2')],'allowNull':![]},'enabled':{'type':Sequelize[_0x4514('0x3')],'defaultValue':null},'autoAssociation':{'type':Sequelize['BOOLEAN'],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0x4514('0x1')],'set':function(_0x58803f){this[_0x4514('0x4')](_0x4514('0x5'),_0x58803f?_0x58803f[_0x4514('0x6')](''):[]);},'get':function(){return this['getDataValue'](_0x4514('0x5'))?this[_0x4514('0x7')](_0x4514('0x5'))[_0x4514('0x8')](''):[];}}};