Built motion from commit (unavailable).|2.5.11
[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 _0x3870=['INTEGER','BOOLEAN','setDataValue','crudPermissions','join','getDataValue','split','sequelize','exports','STRING'];(function(_0x265003,_0xf0f023){var _0x33c743=function(_0x326a5d){while(--_0x326a5d){_0x265003['push'](_0x265003['shift']());}};_0x33c743(++_0xf0f023);}(_0x3870,0x15b));var _0x0387=function(_0x57da06,_0x4c9d35){_0x57da06=_0x57da06-0x0;var _0x118c39=_0x3870[_0x57da06];return _0x118c39;};'use strict';var Sequelize=require(_0x0387('0x0'));module[_0x0387('0x1')]={'name':{'type':Sequelize[_0x0387('0x2')],'allowNull':![]},'category':{'type':Sequelize[_0x0387('0x2')],'allowNull':![]},'sectionId':{'type':Sequelize[_0x0387('0x3')],'allowNull':![]},'enabled':{'type':Sequelize[_0x0387('0x4')],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0x0387('0x4')],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0x0387('0x2')],'set':function(_0x3169a4){this[_0x0387('0x5')](_0x0387('0x6'),_0x3169a4?_0x3169a4[_0x0387('0x7')](''):[]);},'get':function(){return this[_0x0387('0x8')](_0x0387('0x6'))?this['getDataValue']('crudPermissions')[_0x0387('0x9')](''):[];}}};