Built motion from commit (unavailable).|2.5.29
[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 _0x574d=['split','BOOLEAN','sequelize','exports','STRING','name','setDataValue','join','getDataValue','crudPermissions'];(function(_0x4f750b,_0x4e3e43){var _0x918b39=function(_0x106d8f){while(--_0x106d8f){_0x4f750b['push'](_0x4f750b['shift']());}};_0x918b39(++_0x4e3e43);}(_0x574d,0xc0));var _0xd574=function(_0x342baa,_0x4a110f){_0x342baa=_0x342baa-0x0;var _0x1208f3=_0x574d[_0x342baa];return _0x1208f3;};'use strict';var Sequelize=require(_0xd574('0x0'));module[_0xd574('0x1')]={'name':{'type':Sequelize[_0xd574('0x2')],'allowNull':![],'unique':_0xd574('0x3')},'crudPermissions':{'type':Sequelize[_0xd574('0x2')],'set':function(_0x336175){this[_0xd574('0x4')]('crudPermissions',_0x336175?_0x336175[_0xd574('0x5')](''):[]);},'get':function(){return this[_0xd574('0x6')](_0xd574('0x7'))?this[_0xd574('0x6')]('crudPermissions')[_0xd574('0x8')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0xd574('0x2')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0xd574('0x9')],'defaultValue':![]}};