Built motion from commit (unavailable).|2.5.10
[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 _0x018d=['split','sequelize','STRING','INTEGER','BOOLEAN','setDataValue','crudPermissions','getDataValue'];(function(_0x24f04d,_0x198dc7){var _0x2930f0=function(_0x4f3f7c){while(--_0x4f3f7c){_0x24f04d['push'](_0x24f04d['shift']());}};_0x2930f0(++_0x198dc7);}(_0x018d,0x79));var _0xd018=function(_0x29f6f8,_0x3bd3e4){_0x29f6f8=_0x29f6f8-0x0;var _0x6c4589=_0x018d[_0x29f6f8];return _0x6c4589;};'use strict';var Sequelize=require(_0xd018('0x0'));module['exports']={'name':{'type':Sequelize[_0xd018('0x1')],'allowNull':![]},'category':{'type':Sequelize[_0xd018('0x1')],'allowNull':![]},'sectionId':{'type':Sequelize[_0xd018('0x2')],'allowNull':![]},'enabled':{'type':Sequelize[_0xd018('0x3')],'defaultValue':null},'autoAssociation':{'type':Sequelize['BOOLEAN'],'defaultValue':null},'crudPermissions':{'type':Sequelize[_0xd018('0x1')],'set':function(_0x5ee1c7){this[_0xd018('0x4')](_0xd018('0x5'),_0x5ee1c7?_0x5ee1c7['join'](''):[]);},'get':function(){return this[_0xd018('0x6')](_0xd018('0x5'))?this[_0xd018('0x6')]('crudPermissions')[_0xd018('0x7')](''):[];}}};