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 _0x96cc=['crudPermissions','join','getDataValue','split','sequelize','STRING','INTEGER','BOOLEAN','setDataValue'];(function(_0x682d41,_0x555e2c){var _0x5f6daf=function(_0x5a6012){while(--_0x5a6012){_0x682d41['push'](_0x682d41['shift']());}};_0x5f6daf(++_0x555e2c);}(_0x96cc,0x16c));var _0xc96c=function(_0x5ac92d,_0x14061b){_0x5ac92d=_0x5ac92d-0x0;var _0x1abd6e=_0x96cc[_0x5ac92d];return _0x1abd6e;};'use strict';var Sequelize=require(_0xc96c('0x0'));module['exports']={'name':{'type':Sequelize[_0xc96c('0x1')],'allowNull':![]},'category':{'type':Sequelize['STRING'],'allowNull':![]},'sectionId':{'type':Sequelize[_0xc96c('0x2')],'allowNull':![]},'enabled':{'type':Sequelize[_0xc96c('0x3')],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0xc96c('0x3')],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0xc96c('0x1')],'set':function(_0x71140d){this[_0xc96c('0x4')](_0xc96c('0x5'),_0x71140d?_0x71140d[_0xc96c('0x6')](''):[]);},'get':function(){return this[_0xc96c('0x7')]('crudPermissions')?this[_0xc96c('0x7')](_0xc96c('0x5'))[_0xc96c('0x8')](''):[];}}};