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 _0x3f8c=['split','STRING','INTEGER','BOOLEAN','join','getDataValue','crudPermissions'];(function(_0x556927,_0x34b53f){var _0x5f1235=function(_0x4f4e44){while(--_0x4f4e44){_0x556927['push'](_0x556927['shift']());}};_0x5f1235(++_0x34b53f);}(_0x3f8c,0x104));var _0xc3f8=function(_0x58cc4c,_0x2c9b6d){_0x58cc4c=_0x58cc4c-0x0;var _0x6d4f1d=_0x3f8c[_0x58cc4c];return _0x6d4f1d;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize[_0xc3f8('0x0')],'allowNull':![]},'category':{'type':Sequelize[_0xc3f8('0x0')],'allowNull':![]},'sectionId':{'type':Sequelize[_0xc3f8('0x1')],'allowNull':![]},'enabled':{'type':Sequelize[_0xc3f8('0x2')],'defaultValue':null},'autoAssociation':{'type':Sequelize['BOOLEAN'],'defaultValue':null},'crudPermissions':{'type':Sequelize['STRING'],'set':function(_0x54035a){this['setDataValue']('crudPermissions',_0x54035a?_0x54035a[_0xc3f8('0x3')](''):[]);},'get':function(){return this[_0xc3f8('0x4')](_0xc3f8('0x5'))?this[_0xc3f8('0x4')](_0xc3f8('0x5'))[_0xc3f8('0x6')](''):[];}}};