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 _0x13f6=['INTEGER','BOOLEAN','setDataValue','crudPermissions','getDataValue','sequelize','exports'];(function(_0x52b794,_0x6bb727){var _0x52ed0d=function(_0xbb591e){while(--_0xbb591e){_0x52b794['push'](_0x52b794['shift']());}};_0x52ed0d(++_0x6bb727);}(_0x13f6,0x124));var _0x613f=function(_0x22cfcb,_0x1219cb){_0x22cfcb=_0x22cfcb-0x0;var _0x22fd48=_0x13f6[_0x22cfcb];return _0x22fd48;};'use strict';var Sequelize=require(_0x613f('0x0'));module[_0x613f('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![]},'category':{'type':Sequelize['STRING'],'allowNull':![]},'sectionId':{'type':Sequelize[_0x613f('0x2')],'allowNull':![]},'enabled':{'type':Sequelize[_0x613f('0x3')],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0x613f('0x3')],'defaultValue':null},'crudPermissions':{'type':Sequelize['STRING'],'set':function(_0x179f6e){this[_0x613f('0x4')](_0x613f('0x5'),_0x179f6e?_0x179f6e['join'](''):[]);},'get':function(){return this[_0x613f('0x6')](_0x613f('0x5'))?this['getDataValue']('crudPermissions')['split'](''):[];}}};