Built motion from commit (unavailable).|2.5.21
[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 _0x20a3=['join','getDataValue','crudPermissions','split','sequelize','STRING','name'];(function(_0x42dc6a,_0x2d92b5){var _0x45b1ce=function(_0x2ad3b4){while(--_0x2ad3b4){_0x42dc6a['push'](_0x42dc6a['shift']());}};_0x45b1ce(++_0x2d92b5);}(_0x20a3,0x15b));var _0x320a=function(_0x3bc85f,_0x49ab22){_0x3bc85f=_0x3bc85f-0x0;var _0x44b771=_0x20a3[_0x3bc85f];return _0x44b771;};'use strict';var Sequelize=require(_0x320a('0x0'));module['exports']={'name':{'type':Sequelize[_0x320a('0x1')],'allowNull':![],'unique':_0x320a('0x2')},'crudPermissions':{'type':Sequelize[_0x320a('0x1')],'set':function(_0x4e93fe){this['setDataValue']('crudPermissions',_0x4e93fe?_0x4e93fe[_0x320a('0x3')](''):[]);},'get':function(){return this[_0x320a('0x4')](_0x320a('0x5'))?this[_0x320a('0x4')](_0x320a('0x5'))[_0x320a('0x6')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize['STRING'],'allowNull':!![]}};