Built motion from commit (unavailable).|2.4.19
[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 _0xbedc=['getDataValue','split','sequelize','exports','STRING','name','crudPermissions','join'];(function(_0x4cf791,_0x2f6585){var _0x3f4bcc=function(_0x45bd6d){while(--_0x45bd6d){_0x4cf791['push'](_0x4cf791['shift']());}};_0x3f4bcc(++_0x2f6585);}(_0xbedc,0x10a));var _0xcbed=function(_0x3c3f97,_0x398b48){_0x3c3f97=_0x3c3f97-0x0;var _0x53da52=_0xbedc[_0x3c3f97];return _0x53da52;};'use strict';var Sequelize=require(_0xcbed('0x0'));module[_0xcbed('0x1')]={'name':{'type':Sequelize[_0xcbed('0x2')],'allowNull':![],'unique':_0xcbed('0x3')},'crudPermissions':{'type':Sequelize['STRING'],'set':function(_0x269376){this['setDataValue'](_0xcbed('0x4'),_0x269376?_0x269376[_0xcbed('0x5')](''):[]);},'get':function(){return this[_0xcbed('0x6')](_0xcbed('0x4'))?this[_0xcbed('0x6')](_0xcbed('0x4'))[_0xcbed('0x7')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0xcbed('0x2')],'allowNull':!![]}};