Built motion from commit (unavailable).|2.4.14
[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 _0xa383=['exports','STRING','crudPermissions','join','getDataValue','sequelize'];(function(_0x301b44,_0x136684){var _0xf20e8d=function(_0x21ec42){while(--_0x21ec42){_0x301b44['push'](_0x301b44['shift']());}};_0xf20e8d(++_0x136684);}(_0xa383,0xa1));var _0x3a38=function(_0xaa0309,_0x1c8008){_0xaa0309=_0xaa0309-0x0;var _0x5de7ce=_0xa383[_0xaa0309];return _0x5de7ce;};'use strict';var Sequelize=require(_0x3a38('0x0'));module[_0x3a38('0x1')]={'name':{'type':Sequelize[_0x3a38('0x2')],'allowNull':![],'unique':'name'},'crudPermissions':{'type':Sequelize[_0x3a38('0x2')],'set':function(_0x4e270c){this['setDataValue'](_0x3a38('0x3'),_0x4e270c?_0x4e270c[_0x3a38('0x4')](''):[]);},'get':function(){return this[_0x3a38('0x5')](_0x3a38('0x3'))?this['getDataValue'](_0x3a38('0x3'))['split'](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x3a38('0x2')],'allowNull':!![]}};