Built motion from commit (unavailable).|2.5.13
[motion2.git] / server / api / userProfile / userProfile.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 _0x12d4=['STRING','name','crudPermissions','getDataValue','split'];(function(_0x19b8d7,_0x6ec36e){var _0xd9aefd=function(_0x29896a){while(--_0x29896a){_0x19b8d7['push'](_0x19b8d7['shift']());}};_0xd9aefd(++_0x6ec36e);}(_0x12d4,0x1e0));var _0x412d=function(_0x5ac1e5,_0x4b5012){_0x5ac1e5=_0x5ac1e5-0x0;var _0x1bccc6=_0x12d4[_0x5ac1e5];return _0x1bccc6;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize[_0x412d('0x0')],'allowNull':![],'unique':_0x412d('0x1')},'crudPermissions':{'type':Sequelize[_0x412d('0x0')],'set':function(_0x412635){this['setDataValue'](_0x412d('0x2'),_0x412635?_0x412635['join'](''):[]);},'get':function(){return this['getDataValue']('crudPermissions')?this[_0x412d('0x3')](_0x412d('0x2'))[_0x412d('0x4')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x412d('0x0')],'allowNull':!![]}};