Built motion from commit (unavailable).|2.4.4
[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 _0xc35a=['crudPermissions','join','getDataValue','split','sequelize','exports','STRING','name','setDataValue'];(function(_0x297eea,_0x5060be){var _0x1c42d2=function(_0x3afff4){while(--_0x3afff4){_0x297eea['push'](_0x297eea['shift']());}};_0x1c42d2(++_0x5060be);}(_0xc35a,0x1ea));var _0xac35=function(_0x167cc1,_0x56ef5a){_0x167cc1=_0x167cc1-0x0;var _0x10bc4b=_0xc35a[_0x167cc1];return _0x10bc4b;};'use strict';var Sequelize=require(_0xac35('0x0'));module[_0xac35('0x1')]={'name':{'type':Sequelize[_0xac35('0x2')],'allowNull':![],'unique':_0xac35('0x3')},'crudPermissions':{'type':Sequelize[_0xac35('0x2')],'set':function(_0x57207a){this[_0xac35('0x4')](_0xac35('0x5'),_0x57207a?_0x57207a[_0xac35('0x6')](''):[]);},'get':function(){return this[_0xac35('0x7')](_0xac35('0x5'))?this[_0xac35('0x7')](_0xac35('0x5'))[_0xac35('0x8')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize['STRING'],'allowNull':!![]}};