Built motion from commit (unavailable).|2.5.25
[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 _0xbcbe=['setDataValue','getDataValue','crudPermissions','split','sequelize','exports','STRING','INTEGER','BOOLEAN'];(function(_0x1554fa,_0x488611){var _0x280e4d=function(_0x317b7e){while(--_0x317b7e){_0x1554fa['push'](_0x1554fa['shift']());}};_0x280e4d(++_0x488611);}(_0xbcbe,0x1bd));var _0xebcb=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xbcbe[_0x3dd15e];return _0x231fd0;};'use strict';var Sequelize=require(_0xebcb('0x0'));module[_0xebcb('0x1')]={'name':{'type':Sequelize[_0xebcb('0x2')],'allowNull':![]},'category':{'type':Sequelize[_0xebcb('0x2')],'allowNull':![]},'sectionId':{'type':Sequelize[_0xebcb('0x3')],'allowNull':![]},'enabled':{'type':Sequelize[_0xebcb('0x4')],'defaultValue':null},'autoAssociation':{'type':Sequelize['BOOLEAN'],'defaultValue':null},'crudPermissions':{'type':Sequelize['STRING'],'set':function(_0x1d11cc){this[_0xebcb('0x5')]('crudPermissions',_0x1d11cc?_0x1d11cc['join'](''):[]);},'get':function(){return this[_0xebcb('0x6')](_0xebcb('0x7'))?this[_0xebcb('0x6')](_0xebcb('0x7'))[_0xebcb('0x8')](''):[];}}};