Built motion from commit (unavailable).|2.5.27
[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 _0x1d2d=['sequelize','exports','STRING','name','setDataValue','getDataValue','crudPermissions','split'];(function(_0xd0b415,_0x149675){var _0x2bdf2c=function(_0x59fbfa){while(--_0x59fbfa){_0xd0b415['push'](_0xd0b415['shift']());}};_0x2bdf2c(++_0x149675);}(_0x1d2d,0xf0));var _0xd1d2=function(_0x1e116c,_0x10e69e){_0x1e116c=_0x1e116c-0x0;var _0x499718=_0x1d2d[_0x1e116c];return _0x499718;};'use strict';var Sequelize=require(_0xd1d2('0x0'));module[_0xd1d2('0x1')]={'name':{'type':Sequelize[_0xd1d2('0x2')],'allowNull':![],'unique':_0xd1d2('0x3')},'crudPermissions':{'type':Sequelize[_0xd1d2('0x2')],'set':function(_0x4f5f7f){this[_0xd1d2('0x4')]('crudPermissions',_0x4f5f7f?_0x4f5f7f['join'](''):[]);},'get':function(){return this[_0xd1d2('0x5')](_0xd1d2('0x6'))?this[_0xd1d2('0x5')](_0xd1d2('0x6'))[_0xd1d2('0x7')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0xd1d2('0x2')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};