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 _0xe489=['INTEGER','BOOLEAN','crudPermissions','getDataValue','sequelize','exports','STRING'];(function(_0x27cdd5,_0x300f2d){var _0x5ff701=function(_0x328587){while(--_0x328587){_0x27cdd5['push'](_0x27cdd5['shift']());}};_0x5ff701(++_0x300f2d);}(_0xe489,0x9e));var _0x9e48=function(_0x10de08,_0x22e459){_0x10de08=_0x10de08-0x0;var _0x1ee56b=_0xe489[_0x10de08];return _0x1ee56b;};'use strict';var Sequelize=require(_0x9e48('0x0'));module[_0x9e48('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![]},'category':{'type':Sequelize[_0x9e48('0x2')],'allowNull':![]},'sectionId':{'type':Sequelize[_0x9e48('0x3')],'allowNull':![]},'enabled':{'type':Sequelize[_0x9e48('0x4')],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0x9e48('0x4')],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0x9e48('0x2')],'set':function(_0x5f372b){this['setDataValue'](_0x9e48('0x5'),_0x5f372b?_0x5f372b['join'](''):[]);},'get':function(){return this[_0x9e48('0x6')](_0x9e48('0x5'))?this[_0x9e48('0x6')](_0x9e48('0x5'))['split'](''):[];}}};