Built motion from commit (unavailable).|2.5.22
[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 _0x34c6=['BOOLEAN','setDataValue','crudPermissions','getDataValue','split','sequelize','STRING','INTEGER'];(function(_0x5e602f,_0x32ceb4){var _0x3060e9=function(_0x192331){while(--_0x192331){_0x5e602f['push'](_0x5e602f['shift']());}};_0x3060e9(++_0x32ceb4);}(_0x34c6,0x1cd));var _0x634c=function(_0xfae23b,_0x2be4ba){_0xfae23b=_0xfae23b-0x0;var _0x200640=_0x34c6[_0xfae23b];return _0x200640;};'use strict';var Sequelize=require(_0x634c('0x0'));module['exports']={'name':{'type':Sequelize[_0x634c('0x1')],'allowNull':![]},'category':{'type':Sequelize[_0x634c('0x1')],'allowNull':![]},'sectionId':{'type':Sequelize[_0x634c('0x2')],'allowNull':![]},'enabled':{'type':Sequelize[_0x634c('0x3')],'defaultValue':null},'autoAssociation':{'type':Sequelize['BOOLEAN'],'defaultValue':null},'crudPermissions':{'type':Sequelize['STRING'],'set':function(_0x2fcac2){this[_0x634c('0x4')](_0x634c('0x5'),_0x2fcac2?_0x2fcac2['join'](''):[]);},'get':function(){return this[_0x634c('0x6')]('crudPermissions')?this[_0x634c('0x6')](_0x634c('0x5'))[_0x634c('0x7')](''):[];}}};