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 _0x863f=['getDataValue','exports','STRING','BOOLEAN','setDataValue','crudPermissions','join'];(function(_0x23d428,_0x185b73){var _0x2686ee=function(_0x52d764){while(--_0x52d764){_0x23d428['push'](_0x23d428['shift']());}};_0x2686ee(++_0x185b73);}(_0x863f,0xda));var _0xf863=function(_0x14b39a,_0x1ca14c){_0x14b39a=_0x14b39a-0x0;var _0x5a9727=_0x863f[_0x14b39a];return _0x5a9727;};'use strict';var Sequelize=require('sequelize');module[_0xf863('0x0')]={'name':{'type':Sequelize[_0xf863('0x1')],'allowNull':![]},'category':{'type':Sequelize[_0xf863('0x1')],'allowNull':![]},'sectionId':{'type':Sequelize['INTEGER'],'allowNull':![]},'enabled':{'type':Sequelize[_0xf863('0x2')],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0xf863('0x2')],'defaultValue':null},'crudPermissions':{'type':Sequelize['STRING'],'set':function(_0x1a7377){this[_0xf863('0x3')](_0xf863('0x4'),_0x1a7377?_0x1a7377[_0xf863('0x5')](''):[]);},'get':function(){return this[_0xf863('0x6')](_0xf863('0x4'))?this[_0xf863('0x6')](_0xf863('0x4'))['split'](''):[];}}};