Built motion from commit (unavailable).|2.5.25
[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 _0x2547=['split','BOOLEAN','exports','STRING','name','setDataValue','crudPermissions','join','getDataValue'];(function(_0x42d5f0,_0x151b49){var _0x5d008f=function(_0x1a17ca){while(--_0x1a17ca){_0x42d5f0['push'](_0x42d5f0['shift']());}};_0x5d008f(++_0x151b49);}(_0x2547,0x1cd));var _0x7254=function(_0x10f5a5,_0x5140a5){_0x10f5a5=_0x10f5a5-0x0;var _0x1fe788=_0x2547[_0x10f5a5];return _0x1fe788;};'use strict';var Sequelize=require('sequelize');module[_0x7254('0x0')]={'name':{'type':Sequelize[_0x7254('0x1')],'allowNull':![],'unique':_0x7254('0x2')},'crudPermissions':{'type':Sequelize[_0x7254('0x1')],'set':function(_0xbbc747){this[_0x7254('0x3')](_0x7254('0x4'),_0xbbc747?_0xbbc747[_0x7254('0x5')](''):[]);},'get':function(){return this['getDataValue'](_0x7254('0x4'))?this[_0x7254('0x6')](_0x7254('0x4'))[_0x7254('0x7')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize['STRING'],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0x7254('0x8')],'defaultValue':![]}};