Built motion from commit (unavailable).|2.5.29
[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 _0x3098=['exports','STRING','BOOLEAN','setDataValue','crudPermissions','join','getDataValue','split','sequelize'];(function(_0x1d5a0e,_0x340fef){var _0x144867=function(_0x33e3ee){while(--_0x33e3ee){_0x1d5a0e['push'](_0x1d5a0e['shift']());}};_0x144867(++_0x340fef);}(_0x3098,0x86));var _0x8309=function(_0x2576d7,_0x167624){_0x2576d7=_0x2576d7-0x0;var _0x16a08c=_0x3098[_0x2576d7];return _0x16a08c;};'use strict';var Sequelize=require(_0x8309('0x0'));module[_0x8309('0x1')]={'name':{'type':Sequelize[_0x8309('0x2')],'allowNull':![]},'category':{'type':Sequelize[_0x8309('0x2')],'allowNull':![]},'sectionId':{'type':Sequelize['INTEGER'],'allowNull':![]},'enabled':{'type':Sequelize[_0x8309('0x3')],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0x8309('0x3')],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0x8309('0x2')],'set':function(_0x2e58f5){this[_0x8309('0x4')](_0x8309('0x5'),_0x2e58f5?_0x2e58f5[_0x8309('0x6')](''):[]);},'get':function(){return this[_0x8309('0x7')](_0x8309('0x5'))?this[_0x8309('0x7')]('crudPermissions')[_0x8309('0x8')](''):[];}}};