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 _0xe4fb=['crudPermissions','getDataValue','STRING','INTEGER','BOOLEAN'];(function(_0x10ea81,_0x137a5f){var _0x3c3b47=function(_0x2349c8){while(--_0x2349c8){_0x10ea81['push'](_0x10ea81['shift']());}};_0x3c3b47(++_0x137a5f);}(_0xe4fb,0x9d));var _0xbe4f=function(_0x5b644e,_0x2e5e07){_0x5b644e=_0x5b644e-0x0;var _0x49c6bf=_0xe4fb[_0x5b644e];return _0x49c6bf;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize['STRING'],'allowNull':![]},'category':{'type':Sequelize[_0xbe4f('0x0')],'allowNull':![]},'sectionId':{'type':Sequelize[_0xbe4f('0x1')],'allowNull':![]},'enabled':{'type':Sequelize[_0xbe4f('0x2')],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0xbe4f('0x2')],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0xbe4f('0x0')],'set':function(_0x2b5a80){this['setDataValue'](_0xbe4f('0x3'),_0x2b5a80?_0x2b5a80['join'](''):[]);},'get':function(){return this[_0xbe4f('0x4')](_0xbe4f('0x3'))?this['getDataValue'](_0xbe4f('0x3'))['split'](''):[];}}};