Built motion from commit (unavailable).|2.5.30
[motion2.git] / server / api / userProfileSection / userProfileSection.attributes.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xc305=['STRING','INTEGER','BOOLEAN','setDataValue','crudPermissions','getDataValue','split','sequelize'];(function(_0x59e30d,_0x564720){var _0x33d0ce=function(_0x3176aa){while(--_0x3176aa){_0x59e30d['push'](_0x59e30d['shift']());}};_0x33d0ce(++_0x564720);}(_0xc305,0xcf));var _0x5c30=function(_0x802997,_0x5534a2){_0x802997=_0x802997-0x0;var _0x35c641=_0xc305[_0x802997];return _0x35c641;};'use strict';var Sequelize=require(_0x5c30('0x0'));module['exports']={'name':{'type':Sequelize['STRING'],'allowNull':![]},'category':{'type':Sequelize[_0x5c30('0x1')],'allowNull':![]},'sectionId':{'type':Sequelize[_0x5c30('0x2')],'allowNull':![]},'enabled':{'type':Sequelize['BOOLEAN'],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0x5c30('0x3')],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0x5c30('0x1')],'set':function(_0x388cc5){this[_0x5c30('0x4')](_0x5c30('0x5'),_0x388cc5?_0x388cc5['join'](''):[]);},'get':function(){return this[_0x5c30('0x6')](_0x5c30('0x5'))?this[_0x5c30('0x6')](_0x5c30('0x5'))[_0x5c30('0x7')](''):[];}}};