Built motion from commit (unavailable).|2.2.0
[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 _0x70e0=['split','sequelize','exports','STRING','BOOLEAN','crudPermissions','getDataValue'];(function(_0x56ef51,_0x381d1e){var _0x46f6d8=function(_0x496f5e){while(--_0x496f5e){_0x56ef51['push'](_0x56ef51['shift']());}};_0x46f6d8(++_0x381d1e);}(_0x70e0,0x17b));var _0x070e=function(_0x112c52,_0x4e89c0){_0x112c52=_0x112c52-0x0;var _0x9a82c4=_0x70e0[_0x112c52];return _0x9a82c4;};'use strict';var Sequelize=require(_0x070e('0x0'));module[_0x070e('0x1')]={'name':{'type':Sequelize[_0x070e('0x2')],'allowNull':![]},'category':{'type':Sequelize['STRING'],'allowNull':![]},'sectionId':{'type':Sequelize['INTEGER'],'allowNull':![]},'enabled':{'type':Sequelize[_0x070e('0x3')],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0x070e('0x3')],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0x070e('0x2')],'set':function(_0x2593e5){this['setDataValue'](_0x070e('0x4'),_0x2593e5?_0x2593e5['join'](''):[]);},'get':function(){return this[_0x070e('0x5')]('crudPermissions')?this['getDataValue']('crudPermissions')[_0x070e('0x6')](''):[];}}};