Built motion from commit (unavailable).|2.4.18
[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 _0x8df0=['STRING','name','setDataValue','crudPermissions','join','getDataValue','split','exports'];(function(_0x4e5db3,_0x516e94){var _0x1f3f31=function(_0x98a7a2){while(--_0x98a7a2){_0x4e5db3['push'](_0x4e5db3['shift']());}};_0x1f3f31(++_0x516e94);}(_0x8df0,0x127));var _0x08df=function(_0x534dfd,_0x175626){_0x534dfd=_0x534dfd-0x0;var _0xfe1a40=_0x8df0[_0x534dfd];return _0xfe1a40;};'use strict';var Sequelize=require('sequelize');module[_0x08df('0x0')]={'name':{'type':Sequelize[_0x08df('0x1')],'allowNull':![],'unique':_0x08df('0x2')},'crudPermissions':{'type':Sequelize['STRING'],'set':function(_0x5d0ab5){this[_0x08df('0x3')](_0x08df('0x4'),_0x5d0ab5?_0x5d0ab5[_0x08df('0x5')](''):[]);},'get':function(){return this['getDataValue'](_0x08df('0x4'))?this[_0x08df('0x6')]('crudPermissions')[_0x08df('0x7')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x08df('0x1')],'allowNull':!![]}};