Built motion from commit (unavailable).|2.5.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 _0x93c6=['crudPermissions','getDataValue','split','exports','name','STRING','setDataValue'];(function(_0x1fba8e,_0x38430d){var _0x572665=function(_0xdd3f2f){while(--_0xdd3f2f){_0x1fba8e['push'](_0x1fba8e['shift']());}};_0x572665(++_0x38430d);}(_0x93c6,0x1a0));var _0x693c=function(_0x3a1c72,_0x44b783){_0x3a1c72=_0x3a1c72-0x0;var _0x8fac25=_0x93c6[_0x3a1c72];return _0x8fac25;};'use strict';var Sequelize=require('sequelize');module[_0x693c('0x0')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x693c('0x1')},'crudPermissions':{'type':Sequelize[_0x693c('0x2')],'set':function(_0x2746bd){this[_0x693c('0x3')](_0x693c('0x4'),_0x2746bd?_0x2746bd['join'](''):[]);},'get':function(){return this[_0x693c('0x5')](_0x693c('0x4'))?this['getDataValue']('crudPermissions')[_0x693c('0x6')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x693c('0x2')],'allowNull':!![]}};