Built motion from commit (unavailable).|2.4.12
[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 _0xb2ed=['split','exports','name','STRING','crudPermissions','join','getDataValue'];(function(_0x323162,_0x3f840d){var _0x19688a=function(_0x4247d2){while(--_0x4247d2){_0x323162['push'](_0x323162['shift']());}};_0x19688a(++_0x3f840d);}(_0xb2ed,0x120));var _0xdb2e=function(_0x3cea78,_0x4a6751){_0x3cea78=_0x3cea78-0x0;var _0x33b66b=_0xb2ed[_0x3cea78];return _0x33b66b;};'use strict';var Sequelize=require('sequelize');module[_0xdb2e('0x0')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0xdb2e('0x1')},'crudPermissions':{'type':Sequelize[_0xdb2e('0x2')],'set':function(_0x4d3f0b){this['setDataValue'](_0xdb2e('0x3'),_0x4d3f0b?_0x4d3f0b[_0xdb2e('0x4')](''):[]);},'get':function(){return this[_0xdb2e('0x5')](_0xdb2e('0x3'))?this[_0xdb2e('0x5')](_0xdb2e('0x3'))[_0xdb2e('0x6')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0xdb2e('0x2')],'allowNull':!![]}};