Built motion from commit (unavailable).|2.3.3
[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 _0x8a95=['split','sequelize','exports','STRING','name','setDataValue','crudPermissions','join','getDataValue'];(function(_0x3de8a4,_0x289a5c){var _0x4635cf=function(_0x2bddb8){while(--_0x2bddb8){_0x3de8a4['push'](_0x3de8a4['shift']());}};_0x4635cf(++_0x289a5c);}(_0x8a95,0x12a));var _0x58a9=function(_0x1863fb,_0x37f99c){_0x1863fb=_0x1863fb-0x0;var _0x12da5d=_0x8a95[_0x1863fb];return _0x12da5d;};'use strict';var Sequelize=require(_0x58a9('0x0'));module[_0x58a9('0x1')]={'name':{'type':Sequelize[_0x58a9('0x2')],'allowNull':![],'unique':_0x58a9('0x3')},'crudPermissions':{'type':Sequelize[_0x58a9('0x2')],'set':function(_0x210dfc){this[_0x58a9('0x4')](_0x58a9('0x5'),_0x210dfc?_0x210dfc[_0x58a9('0x6')](''):[]);},'get':function(){return this[_0x58a9('0x7')]('crudPermissions')?this[_0x58a9('0x7')]('crudPermissions')[_0x58a9('0x8')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x58a9('0x2')],'allowNull':!![]}};