Built motion from commit 87cd5f02.|2.5.48
[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 _0xcf2f=['INTEGER','BOOLEAN','setDataValue','crudPermissions','join','getDataValue','split','sequelize','exports','STRING'];(function(_0x3a99e5,_0x2d8904){var _0x1ab63d=function(_0x1eb74){while(--_0x1eb74){_0x3a99e5['push'](_0x3a99e5['shift']());}};_0x1ab63d(++_0x2d8904);}(_0xcf2f,0xa7));var _0xfcf2=function(_0x5b5473,_0x1ab426){_0x5b5473=_0x5b5473-0x0;var _0x54ca8c=_0xcf2f[_0x5b5473];return _0x54ca8c;};'use strict';var Sequelize=require(_0xfcf2('0x0'));module[_0xfcf2('0x1')]={'name':{'type':Sequelize[_0xfcf2('0x2')],'allowNull':![]},'category':{'type':Sequelize[_0xfcf2('0x2')],'allowNull':![]},'sectionId':{'type':Sequelize[_0xfcf2('0x3')],'allowNull':![]},'enabled':{'type':Sequelize['BOOLEAN'],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0xfcf2('0x4')],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0xfcf2('0x2')],'set':function(_0x1e3661){this[_0xfcf2('0x5')](_0xfcf2('0x6'),_0x1e3661?_0x1e3661[_0xfcf2('0x7')](''):[]);},'get':function(){return this[_0xfcf2('0x8')](_0xfcf2('0x6'))?this[_0xfcf2('0x8')](_0xfcf2('0x6'))[_0xfcf2('0x9')](''):[];}}};