Built motion from commit (unavailable).|2.4.18
[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 _0x6afd=['name','setDataValue','join','crudPermissions','split','sequelize','STRING'];(function(_0x17e006,_0x36b1e4){var _0xbf3698=function(_0x5f4d4d){while(--_0x5f4d4d){_0x17e006['push'](_0x17e006['shift']());}};_0xbf3698(++_0x36b1e4);}(_0x6afd,0x67));var _0xd6af=function(_0x5b561d,_0x422b7c){_0x5b561d=_0x5b561d-0x0;var _0x431060=_0x6afd[_0x5b561d];return _0x431060;};'use strict';var Sequelize=require(_0xd6af('0x0'));module['exports']={'name':{'type':Sequelize[_0xd6af('0x1')],'allowNull':![],'unique':_0xd6af('0x2')},'crudPermissions':{'type':Sequelize[_0xd6af('0x1')],'set':function(_0x56be3f){this[_0xd6af('0x3')]('crudPermissions',_0x56be3f?_0x56be3f[_0xd6af('0x4')](''):[]);},'get':function(){return this['getDataValue'](_0xd6af('0x5'))?this['getDataValue'](_0xd6af('0x5'))[_0xd6af('0x6')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0xd6af('0x1')],'allowNull':!![]}};