Built motion from commit (unavailable).|2.5.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 _0x9500=['STRING','name','setDataValue','crudPermissions','join','getDataValue','sequelize','exports'];(function(_0x367448,_0x3e9deb){var _0x28b046=function(_0x2c9ff8){while(--_0x2c9ff8){_0x367448['push'](_0x367448['shift']());}};_0x28b046(++_0x3e9deb);}(_0x9500,0xb6));var _0x0950=function(_0x4f66b3,_0x2d6cc4){_0x4f66b3=_0x4f66b3-0x0;var _0x5859d6=_0x9500[_0x4f66b3];return _0x5859d6;};'use strict';var Sequelize=require(_0x0950('0x0'));module[_0x0950('0x1')]={'name':{'type':Sequelize[_0x0950('0x2')],'allowNull':![],'unique':_0x0950('0x3')},'crudPermissions':{'type':Sequelize[_0x0950('0x2')],'set':function(_0x1522fc){this[_0x0950('0x4')](_0x0950('0x5'),_0x1522fc?_0x1522fc[_0x0950('0x6')](''):[]);},'get':function(){return this[_0x0950('0x7')](_0x0950('0x5'))?this['getDataValue']('crudPermissions')['split'](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x0950('0x2')],'allowNull':!![]}};