Built motion from commit (unavailable).|2.5.4
[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 _0xb439=['sequelize','exports','INTEGER','BOOLEAN','setDataValue','crudPermissions','join','getDataValue','split'];(function(_0x918f1c,_0x5d71f8){var _0x4113b7=function(_0x3791c6){while(--_0x3791c6){_0x918f1c['push'](_0x918f1c['shift']());}};_0x4113b7(++_0x5d71f8);}(_0xb439,0x87));var _0x9b43=function(_0xdea41a,_0x552987){_0xdea41a=_0xdea41a-0x0;var _0x15d0d8=_0xb439[_0xdea41a];return _0x15d0d8;};'use strict';var Sequelize=require(_0x9b43('0x0'));module[_0x9b43('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![]},'category':{'type':Sequelize['STRING'],'allowNull':![]},'sectionId':{'type':Sequelize[_0x9b43('0x2')],'allowNull':![]},'enabled':{'type':Sequelize[_0x9b43('0x3')],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0x9b43('0x3')],'defaultValue':null},'crudPermissions':{'type':Sequelize['STRING'],'set':function(_0x17f941){this[_0x9b43('0x4')](_0x9b43('0x5'),_0x17f941?_0x17f941[_0x9b43('0x6')](''):[]);},'get':function(){return this[_0x9b43('0x7')](_0x9b43('0x5'))?this[_0x9b43('0x7')](_0x9b43('0x5'))[_0x9b43('0x8')](''):[];}}};