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 _0xa062=['STRING','setDataValue','crudPermissions','getDataValue','split','sequelize','exports'];(function(_0x5e3a67,_0x132b2c){var _0xa9604d=function(_0x20f8d6){while(--_0x20f8d6){_0x5e3a67['push'](_0x5e3a67['shift']());}};_0xa9604d(++_0x132b2c);}(_0xa062,0x101));var _0x2a06=function(_0x16f48d,_0x183735){_0x16f48d=_0x16f48d-0x0;var _0x9603c1=_0xa062[_0x16f48d];return _0x9603c1;};'use strict';var Sequelize=require(_0x2a06('0x0'));module[_0x2a06('0x1')]={'name':{'type':Sequelize[_0x2a06('0x2')],'allowNull':![],'unique':'name'},'crudPermissions':{'type':Sequelize[_0x2a06('0x2')],'set':function(_0x13a5a6){this[_0x2a06('0x3')](_0x2a06('0x4'),_0x13a5a6?_0x13a5a6['join'](''):[]);},'get':function(){return this[_0x2a06('0x5')]('crudPermissions')?this['getDataValue'](_0x2a06('0x4'))[_0x2a06('0x6')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x2a06('0x2')],'allowNull':!![]}};