Built motion from commit (unavailable).|2.4.16
[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 _0x4944=['BOOLEAN','crudPermissions','join','getDataValue','split','sequelize','STRING','INTEGER'];(function(_0x1fc122,_0x5e2c17){var _0xa2cb13=function(_0x263b13){while(--_0x263b13){_0x1fc122['push'](_0x1fc122['shift']());}};_0xa2cb13(++_0x5e2c17);}(_0x4944,0x6d));var _0x4494=function(_0xb9f767,_0x1f2bd1){_0xb9f767=_0xb9f767-0x0;var _0x569169=_0x4944[_0xb9f767];return _0x569169;};'use strict';var Sequelize=require(_0x4494('0x0'));module['exports']={'name':{'type':Sequelize[_0x4494('0x1')],'allowNull':![]},'category':{'type':Sequelize[_0x4494('0x1')],'allowNull':![]},'sectionId':{'type':Sequelize[_0x4494('0x2')],'allowNull':![]},'enabled':{'type':Sequelize[_0x4494('0x3')],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0x4494('0x3')],'defaultValue':null},'crudPermissions':{'type':Sequelize['STRING'],'set':function(_0x187098){this['setDataValue'](_0x4494('0x4'),_0x187098?_0x187098[_0x4494('0x5')](''):[]);},'get':function(){return this[_0x4494('0x6')](_0x4494('0x4'))?this[_0x4494('0x6')](_0x4494('0x4'))[_0x4494('0x7')](''):[];}}};